Bug 501854 - VSM editor should show translated messages in addition to raw keys
Summary: VSM editor should show translated messages in addition to raw keys
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 4.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard: backport
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-09-20 11:52 EDT by Pierre-Charles David CLA
Modified: 2017-06-23 02:03 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2016-09-20 11:52:34 EDT
Since support for I18N was added to the VSM part of Sirius (https://bugs.eclipse.org/bugs/show_bug.cgi?id=459993), the VSM editor shows only the raw i18n keys in the main tree (e.f. "%viewpointName" as label). It should make some effort to locate the "closest" .properties file and use it to show the default translation (typically from the plugin.properties file) in addition to the translation key.
Comment 1 Cedric Brun CLA 2016-09-20 12:02:02 EDT
A more straightforward change which, IMO would be acceptable, could be to display the "name" attribute (which is meant to be used as a way to identify an element within its parent) in those cases. Or both with a syntax like "name [%label]"
Comment 2 Eclipse Genie CLA 2016-10-28 11:37:12 EDT
New Gerrit change created: https://git.eclipse.org/r/84125