fix #4246: move insert node and create new key node to one menu item with submenu
authorKatja Luther <k.luther@bgbm.org>
Tue, 10 Jan 2017 12:57:43 +0000 (13:57 +0100)
committerKatja Luther <k.luther@bgbm.org>
Tue, 10 Jan 2017 12:57:43 +0000 (13:57 +0100)
eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/plugin.properties
eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/plugin_de.properties
eu.etaxonomy.taxeditor.editor/plugin.xml

index 24a5da7d1343fd4144a6dd3c5e6d3be00d1b20b4..55681cf701ee8145f2af42d88e7cd2bf9cbe4e10 100644 (file)
@@ -42,7 +42,9 @@ command.label.19 = Save
 command.label.20 = New Node\r
 command.label.21 = Delete\r
 command.label.22 = Apply Layout\r
-command.label.23 = New Key Number\r
+menu.label.4 = New Key Number\r
+command.label.23 = After the Current Node\r
+command.label.58 = Before the Current Node\r
 command.label.24 = New Alternative\r
 command.label.25 = Refresh Nodes\r
 command.label.58 = Insert Node\r
index 4ea61bdd675431ab0eed5d375314bcdf15f6f88f..6d1d7a8c78fdc988c98df24b083535f28c089392 100644 (file)
@@ -39,10 +39,12 @@ command.label.16 = L\u00f6sche alle leeren Namen
 command.label.17 = Tausche Synonym mit akzeptiertem Namen
 command.label.18 = Zeige Details
 command.label.19 = Speichern
+menu.label.4 = Neue Bestimmungsschl\u00fcsselnummer
 command.label.20 = Neue Knoten
 command.label.21 = L\u00f6schen
 command.label.22 = Wende Layout an
-command.label.23 = Neue Bestimmungsschl\u00fcsselnummer
+command.label.23 = Nach dem aktuellen Knoten
+command.label.58 = Vor dem aktuellen Knoten
 command.label.24 = Neue Alternative
 command.label.25 = Erneuere Knoten
 command.label.26 = L\u00f6schen
index f9b5a937b808d222f33e4ec3fd24dd69289187f6..0a893e8f0e5817225d0f8dbb47d5c6ccf53d8e84 100644 (file)
       </menuContribution>
       <menuContribution
             locationURI="popup:eu.etaxonomy.taxeditor.editor.key.polytomous.list">
-         <command
-               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
-               label="%command.label.23"
-               style="push">
-         </command>
-         <command
-               commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
-               label="%command.label.58"
-               style="push">
-         </command>
+         <menu
+               label="%menu.label.4">
+            <command
+                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.node"
+                  label="%command.label.58"
+                  style="push">
+            </command>
+            <command
+                  commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.child"
+                  label="%command.label.23"
+                  style="push">
+            </command>
+         </menu>
          <command
                commandId="eu.etaxonomy.taxeditor.key.polytomous.command.new.sibling"
                label="%command.label.24"