Bug 448095 - [hover] Provide a hover for NLS keys
Summary: [hover] Provide a hover for NLS keys
Status: ASSIGNED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 525727 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-21 10:50 EDT by Michael Rennie CLA
Modified: 2018-05-15 15:16 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 Michael Rennie CLA 2014-10-21 10:50:50 EDT
We should provide a hover for NLS keys / values.

The common patterns seem to be:

1. service-side NLS -> nls / nameKey / titleKey object properties
2. NLS bundle loaded in define ->
define(['i18n!my/bundle/messages'], function(messages) {
  messages['nlskey']
  messages.mnlskey
});

The value for hover should include something like:

title: NLS <value>
hover: <string value> + link to NLS file
Comment 1 Carolyn MacLeod CLA 2016-10-24 12:57:07 EDT
Would love to see this.
It would help to more quickly match up code with UI.  :)
Comment 2 Michael Rennie CLA 2017-10-10 09:43:23 EDT
*** Bug 525727 has been marked as a duplicate of this bug. ***
Comment 3 Carolyn MacLeod CLA 2017-10-10 11:36:35 EDT
See also bug 522549.
Comment 4 Carolyn MacLeod CLA 2017-11-16 15:46:59 EST
This feature would speed up the process of adding accessible labels and making sure they are correctly localized.