| Summary: | TVT3.1 #48 - RUS "Space" missing in menu | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | David W Hare <dwhare> | ||||||
| Component: | cdt-core | Assignee: | Project Inbox <cdt-core-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | alexander.glotov, camle, shihmy, twolff | ||||||
| Version: | 3.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux-GTK | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
David W Hare
Created attachment 18875 [details]
Russian Screenshot
Created attachment 18876 [details]
English screenshot
*** Bug 87131 has been marked as a duplicate of this bug. *** The string used for the menu item itself is defined in \eclipse\plugins\org.eclipse.cdt.ui\cdtui_jar\org\eclipse\cdt\internal\ui\editor\CEditorMessages.properties as ContentAssistProposal.label=Co&ntent Assist@Ctrl+Space This can easily be proven by modifying this string in the live jar file to ContentAssistProposal.label=TEST Co&ntent Assist@Ctrl+Space and looking at the menu item in C++ Editor. But if we change the string in the jared file to something like ContentAssistProposal.label=Co&ntent Assist@WHEREISIT Ctrl+Space we won't see this "WHEREISIT" in the menu item text. This means that menu item in the C++ editor is assembled from "Co&ntent Assist" taken from ContentAssistProposal.label file in the \eclipse\plugins\org.eclipse.cdt.ui\cdtui_jar\org\eclipse\cdt\internal\ui\editor\CEditorMessages.properties and "Ctrl+Space" from some other file, namely \eclipse\plugins\org.eclipse.ui.workbench\workbench_jar\org\eclipse\ui\internal\keys\AbstractKeyFormatter.properties (keys CTRL=Ctrl and SPACE=Space) We do have all "Space" and "Ctrl+Space" strings translated now, so the only question so far is if it is possible to display those strings correctly in this particular place (they are displayed correctly in all other places). Alexander Glotov You should be able to drop the stuff that is after the @ in this example i.e. ContentAssistProposal.label=Co&ntent Assist The keybinding was redundant (likely a holdover from an earlier version of eclipse). It has already been changed to this in the HEAD stream of CDT. This is related to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=69157 The Russian translation has been fixed. closing |