Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 526887

Summary: Palette tooltips are not internationalizable
Product: [Modeling] Sirius Reporter: William Piers <william.piers>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: CLOSED FIXED QA Contact: Florian Barbin <florian.barbin>
Severity: normal    
Priority: P3 CC: florian.barbin, julien.dupont, pierre-charles.david, steve.monnier
Version: 4.1.1Keywords: triaged
Target Milestone: 4.1.8   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/111890
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c85201c57bb9e92ad259f083a37e90528c63f96e
Whiteboard:
Bug Depends on:    
Bug Blocks: 527416, 528328    
Attachments:
Description Flags
Sample modeler to reproduce the issue
none
Sample session to reproduce the issue none

Description William Piers CLA 2017-11-06 08:25:00 EST
Tooltips can be added to the palette cf https://bugs.eclipse.org/bugs/show_bug.cgi?id=498109

But as they are defined in the "documentation" (white) field, they are not internationalizable.
Comment 1 Eclipse Genie CLA 2017-11-20 05:22:49 EST
New Gerrit change created: https://git.eclipse.org/r/111890
Comment 3 Pierre-Charles David CLA 2017-12-04 04:13:55 EST
Fixed by c85201c57bb9e92ad259f083a37e90528c63f96e.
Comment 4 Julien Dupont CLA 2017-12-07 10:45:33 EST
Created attachment 271811 [details]
Sample modeler to reproduce the issue
Comment 5 Julien Dupont CLA 2017-12-07 10:46:13 EST
Step to validate:
- Import bugzilla522368.design.zip
- Launch a runtime. In launch configuration tab Arguments put in Program arguments: 
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl fr_FR -consoleLog
- In Runtime import bugzilla522368.zip.
- Open representation.
- On tool Créer the tooltip should be "La belle doc"
- Close runtime
- Relaunch runtime with launch configuration. In tab Arguments put in Program arguments:
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl en_EN -consoleLog
- On tool Create the tooltip should be "The nice doc"
Comment 6 Julien Dupont CLA 2017-12-07 10:46:41 EST
Created attachment 271812 [details]
Sample session to reproduce the issue
Comment 7 Pierre-Charles David CLA 2017-12-08 03:26:33 EST
Available in Sirius 4.1.8, see https://wiki.eclipse.org/Sirius/4.1.8
Comment 8 Pierre-Charles David CLA 2018-01-17 11:09:27 EST
See also bug #529146 for a possible followup improvement.