Opened 7 years ago
Last modified 7 years ago
#17419 closed enhancement
Separate Label Strings for Mode Buttons — at Initial Version
| Reported by: | Hb--- | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | 19.05 |
| Component: | Core | Version: | latest |
| Keywords: | i18n english mode | Cc: |
Description
Two buttons to enter a Working mode do not have individual and separate labels: Select and Zoom. For further improvement of the translation this buttons need own labels.
-
.java
old new 193 193 public SelectAction(MapFrame mapFrame) { 194 super(tr("Select "), "move/move", tr("Select, move, scale and rotate objects"),195 Shortcut.registerShortcut("mapmode:select", tr("Mode: {0}", tr("Select ")), KeyEvent.VK_S, Shortcut.DIRECT),194 super(tr("Select mode"), "move/move", tr("Select, move, scale and rotate objects"), 195 Shortcut.registerShortcut("mapmode:select", tr("Mode: {0}", tr("Select mode")), KeyEvent.VK_S, Shortcut.DIRECT), 196 196 ImageProvider.getCursor("normal", "selection"));
And please replace Zoom by Zoom mode in ZoomAction lines 44 and 45.
The term Select mode is in the translation while Zoom mode will be new. So I18n effects are limited.
Current Canadian dialect:
image(ModeButtonLabelsTranslate.png)
Note:
See TracTickets
for help on using tickets.



Screenshot of button labels in context menu of Edit toolbar