Summary: | Translation for tool and menu item not working if command uses translation | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
Component: | UI | Assignee: | Dirk Fauth <dirk.fauth> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | dirk.fauth, halo1, heiko.neuweger, Lars.Vogel, max, MichaelGerlich |
Version: | 4.5 | Keywords: | greatfix |
Target Milestone: | 4.5 M6 | ||
Hardware: | PC | ||
OS: | Windows 8 | ||
See Also: |
https://git.eclipse.org/r/42888 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=81d5449bd87bd5604d0e988fdc910796cf6c725e |
||
Whiteboard: |
Description
Lars Vogel
2015-02-27 04:13:00 EST
Dirk, can you have a look? Same for menu entries without label Sorry, I don't understand that. If I create a menu entry without a label, e.g. HandledMenuItem in a File menu in the main menu, then nothing will be shown. I am not aware of a feature that automatically sets the name of the command as label of a menu item. I'm testing on Windows 7 and an empty menu entry is shown in that case. AFAIK you always have to specify the label of a menu or tool item. (In reply to Dirk Fauth from comment #3) > Sorry, I don't understand that. > > If I create a menu entry without a label, e.g. HandledMenuItem in a File > menu in the main menu, then nothing will be shown. I am not aware of a > feature that automatically sets the name of the command as label of a menu > item. > > I'm testing on Windows 7 and an empty menu entry is shown in that case. > AFAIK you always have to specify the label of a menu or tool item. Without translation the text from the command is used, if you do not specify a text on the menu / toolitem. New Gerrit change created: https://git.eclipse.org/r/42888 Gerrit change https://git.eclipse.org/r/42888 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=81d5449bd87bd5604d0e988fdc910796cf6c725e Thanks Dirk, looks good. |