translate labels in specs
authorClaus Gittinger <cg@exept.de>
Tue, 21 Sep 2004 16:27:47 +0200
changeset 1875 cfef9684a543
parent 1874 e86cfff8fd0b
child 1876 1e2a0c548e82
translate labels in specs
DataSetBuilder.st
HierarchicalListEditor.st
--- a/DataSetBuilder.st	Tue Sep 21 16:22:53 2004 +0200
+++ b/DataSetBuilder.st	Tue Sep 21 16:27:47 2004 +0200
@@ -382,6 +382,7 @@
                     name: 'idLabel'
                     layout: (AlignmentOrigin 94 0 14 0 1 0.5)
                     resizeForLabel: true
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'idField'
@@ -400,6 +401,7 @@
                     name: 'label1'
                     layout: (AlignmentOrigin 94 0 39 0 1 0.5)
                     resizeForLabel: true
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'labelField'
@@ -422,6 +424,7 @@
                     layout: (AlignmentOrigin 94 0 68 0 1 0.5)
                     resizeForLabel: true
                     adjust: left
+                    translateLabel: true
                   )
                  (FontMenuSpec
                     name: 'fontMenu'
@@ -455,6 +458,7 @@
                     layout: (LayoutFrame 186 0 97 0 243 0 118 0)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (PopUpListSpec
                     label: 'Alignment'
@@ -475,6 +479,7 @@
                     activeHelpKey: basicsLabelIsImage
                     tabable: true
                     model: labelIsImage
+                    translateLabel: true
                   )
                  (CheckBoxSpec
                     label: 'Translate Label'
@@ -483,6 +488,7 @@
                     activeHelpKey: basicsLabelTranslate
                     tabable: true
                     model: translateLabel
+                    translateLabel: true
                   )
                  )
                
@@ -493,6 +499,7 @@
               name: 'typesFrame'
               layout: (LayoutFrame 0 0.0 190 0 0 1.0 304 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -501,6 +508,7 @@
                     name: 'rendererLabel'
                     layout: (AlignmentOrigin 94 0 16 0 1 0.5)
                     resizeForLabel: true
+                    translateLabel: true
                   )
                  (ComboListSpec
                     name: 'rendererField'
@@ -517,6 +525,7 @@
                     name: 'editorLabel'
                     layout: (AlignmentOrigin 94 0 42 0 1 0.5)
                     resizeForLabel: true
+                    translateLabel: true
                   )
                  (ComboBoxSpec
                     name: 'editorField'
@@ -539,6 +548,7 @@
                     layout: (LayoutFrame 185 0 58 0 243 0 79 0)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (PopUpListSpec
                     label: 'Alignment'
@@ -926,6 +936,7 @@
               name: 'framedBox1'
               layout: (LayoutFrame 0 0.0 3 0 0 1.0 149 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1051,6 +1062,7 @@
               name: 'separatorBox'
               layout: (LayoutFrame 0 0.0 3 0 0 1.0 132 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1061,6 +1073,7 @@
                     activeHelpKey: frameShowRowSeparator
                     tabable: true
                     model: showRowSeparator
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'rowSeparatorSelector'
@@ -1082,6 +1095,7 @@
                     activeHelpKey: frameShowColumnSeparator
                     tabable: true
                     model: showColSeparator
+                    translateLabel: true
                   )
                  (LabelSpec
                     label: 'Selector:'
@@ -1089,6 +1103,7 @@
                     layout: (LayoutFrame 80 0.0 44 0 140 0.0 61 0)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  )
                
@@ -1099,6 +1114,7 @@
               name: 'framedBox1'
               layout: (LayoutFrame 0 0.0 133 0 0 1.0 305 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1108,6 +1124,7 @@
                     layout: (AlignmentOrigin 140 0.0 23 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'widthField'
@@ -1128,6 +1145,7 @@
                     layout: (AlignmentOrigin 140 0.0 51 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'minWidthField'
@@ -1148,6 +1166,7 @@
                     layout: (AlignmentOrigin 140 0.0 79 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'heightField'
@@ -1169,6 +1188,7 @@
                     activeHelpKey: usePreferredWidth
                     tabable: true
                     model: usePreferredWidth
+                    translateLabel: true
                   )
                  (CheckBoxSpec
                     label: 'Is Resizeable'
@@ -1177,6 +1197,7 @@
                     activeHelpKey: isResizeable
                     tabable: true
                     model: isResizeable
+                    translateLabel: true
                   )
                  )
                
@@ -1220,6 +1241,7 @@
               name: 'LabelSelectAction'
               layout: (LayoutFrame 0 0.0 3 0 0 1.0 97 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1229,6 +1251,7 @@
                     layout: (AlignmentOrigin 95 0 20 0 1 0.5)
                     resizeForLabel: true
                     adjust: left
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'ActionSelector'
@@ -1249,6 +1272,7 @@
                     layout: (AlignmentOrigin 95 0 48 0 1 0.5)
                     resizeForLabel: true
                     adjust: left
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'ArgumentValue'
@@ -1272,6 +1296,7 @@
               name: 'CellSelection'
               layout: (LayoutFrame 0 0.0 105 0 0 1.0 215 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1282,6 +1307,7 @@
                     activeHelpKey: selectionIsSelectable
                     tabable: true
                     model: canSelect
+                    translateLabel: true
                   )
                  (LabelSpec
                     label: 'Selector:'
@@ -1289,6 +1315,7 @@
                     layout: (AlignmentOrigin 95 0 37 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'selectSelector'
@@ -1310,6 +1337,7 @@
                     activeHelpKey: showSelectionHighLighted
                     tabable: true
                     model: showSelectionHighLighted
+                    translateLabel: true
                   )
                  )
                
@@ -1320,6 +1348,7 @@
               name: 'CellDoubleClick'
               layout: (LayoutFrame 0 0.0 227 0 0 1.0 293 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1329,6 +1358,7 @@
                     layout: (AlignmentOrigin 95 0 19 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'doubleClicked'
@@ -1396,6 +1426,7 @@
               name: 'valuesBox'
               layout: (LayoutFrame 0 0.0 3 0 0 1.0 163 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1405,6 +1436,7 @@
                     layout: (AlignmentOrigin 94 0 15 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'readSelector'
@@ -1425,6 +1457,7 @@
                     layout: (AlignmentOrigin 94 0 40 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'writeSelector'
@@ -1445,6 +1478,7 @@
                     layout: (AlignmentOrigin 94 0 65 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'converterField'
@@ -1465,6 +1499,7 @@
                     layout: (AlignmentOrigin 94 0 90 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'printSelector'
@@ -1485,6 +1520,7 @@
                     layout: (AlignmentOrigin 94 0 115 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'visibilitySelector'
@@ -1508,6 +1544,7 @@
               name: 'FramedBox1'
               layout: (LayoutFrame 0 0.0 162 0 0 1.0 218 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1517,6 +1554,7 @@
                     layout: (LayoutFrame 11 0 3 0 94 0 20 0)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'EntryField1'
@@ -1538,6 +1576,7 @@
                     layout: (LayoutFrame 21 0.5 3 0 70 0.5 20 0)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'EntryField2'
@@ -1562,6 +1601,7 @@
               name: 'menusBox'
               layout: (LayoutFrame 0 0.0 216 0 0 1.0 272 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1571,6 +1611,7 @@
                     layout: (AlignmentOrigin 94 0 12 0 1 0.5)
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'menuSelector'
@@ -1594,6 +1635,7 @@
               name: 'framedBox1'
               layout: (LayoutFrame 1 0.0 271 0 1 1.0 356 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1604,6 +1646,7 @@
                     activeHelpKey: valuesChoiceSelector
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'ChoicesField'
@@ -1626,6 +1669,7 @@
                     activeHelpKey: showComboFieldSelector
                     resizeForLabel: true
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'ShowInputFieldField'
@@ -1696,6 +1740,7 @@
                     label: 'Table Columns'
                     name: 'FramedBox'
                     labelPosition: topLeft
+                    translateLabel: true
                     component: 
                    (SpecCollection
                       collection: (
--- a/HierarchicalListEditor.st	Tue Sep 21 16:22:53 2004 +0200
+++ b/HierarchicalListEditor.st	Tue Sep 21 16:27:47 2004 +0200
@@ -226,6 +226,7 @@
                           #name: 'nameLabel'
                           #layout: #(#AlignmentOrigin 98 0 26 0 1 0.5)
                           #resizeForLabel: true
+                    translateLabel: true
                         )
                        #(#InputFieldSpec
                           #name: 'labelInputField'
@@ -245,6 +246,7 @@
                           #layout: #(#AlignmentOrigin 98 0 52 0 1 0.5)
                           #activeHelpKey: #contents
                           #resizeForLabel: true
+                    translateLabel: true
                         )
                        #(#InputFieldSpec
                           #name: 'valueInputField'