Bug 525727 - Show i18n message string value in tooltip
Summary: Show i18n message string value in tooltip
Status: CLOSED DUPLICATE of bug 448095
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-08 12:32 EDT by Carolyn MacLeod CLA
Modified: 2017-10-10 09:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2017-10-08 12:32:11 EDT
If a project is using the require.js i18n bundle pattern for nls:
http://requirejs.org/docs/api.html#i18n

then the editor should be able to show the string value of messages.x or messages["x"] in a tooltip on hover (or F2).

At least should show the string in the default bundle, but for extra coolness, could show the translated string based on the user's locale.
Comment 1 Michael Rennie CLA 2017-10-10 09:43:23 EDT

*** This bug has been marked as a duplicate of bug 448095 ***