#REFACTORING by cg draft
authorClaus Gittinger <cg@exept.de>
Wed, 19 Feb 2020 21:01:38 +0100
changeset 3857 87004a92aba2
parent 3856 c026f6bf687d
child 3858 236ce50a9d68
#REFACTORING by cg class: InternationalLanguageTranslationEditor changed: #menuSliceTranslateGenerate
Tools__InternationalLanguageTranslationEditor.st
--- a/Tools__InternationalLanguageTranslationEditor.st	Wed Feb 19 21:01:21 2020 +0100
+++ b/Tools__InternationalLanguageTranslationEditor.st	Wed Feb 19 21:01:38 2020 +0100
@@ -2426,10 +2426,8 @@
     menu := Menu new.
     keyStringsToLanguageMappings notNil ifTrue:[
         keyStringsToLanguageMappings languages do:[:lang |
-            menu addItem:
-                (MenuItem
-                    label: (resources string: 'Generate Missing Translations - %1' with: lang asUppercase)
-                    itemValue: [ self generateMissingTranslationsFor: (Array with: lang) ])
+            menu addItemLabel: (resources string: 'Generate Missing Translations - %1' with: lang asUppercase)
+                 value: [ self generateMissingTranslationsFor: (Array with: lang) ]
         ].
     ].
     ^ menu