Closed Bug 1279675 Opened 8 years ago Closed 8 years ago

Clarify localization notes for devtools key-shortcuts

Categories

(DevTools :: General, defect, P1)

defect

Tracking

(firefox50 affected)

RESOLVED FIXED
Iteration:
50.1 - Jun 20
Tracking Status
firefox50 --- affected

People

(Reporter: jdescottes, Unassigned)

References

Details

(Whiteboard: [devtools-html])

Follow up to Bug 1279459.

Localization notes for keyboard shortcuts should explain that these strings should not be literally translated, with a link to a documentation explaining what are the accepted keys / special-keys / modifiers.

Something like:

> Technical definition of the keyboard shortcut for [feature_name]. should not be
> literally translated. If another shortcut should be used in a given locale,
> read the about the supported keys, special keys and modifiers at
> documentation_link]. 
> 

For the documentation page, we can either:
1. update the key-shortcuts module to have parity with the electron implementation and then link to their doc [1]. 
2. maintain our own documentation page (similar to the electron one)
3. embed the documentation in key-shortcuts.js [2]. We already have the list of keys which is straightforward enough, we just need to add the list of supported modifiers and more shortcut examples   

[1] https://github.com/electron/electron/blob/master/docs/api/accelerator.md
[2] https://dxr.mozilla.org/mozilla-central/source/devtools/client/shared/key-shortcuts.js
Flags: qe-verify-
See Also: → 1279459
Whiteboard: [devtools-html] [triage]
Priority: -- → P2
Whiteboard: [devtools-html] [triage] → [devtools-html]
See https://bugzilla.mozilla.org/show_bug.cgi?id=1268441#c28.

> There are two parts to explain: don't localize the first part of the string, only change the letter if you need to.
> Some notes could be added to this document, besides sending an email to dev-l10n to explain it
> https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices
See Also: → 1268441
And I just sent a mail to dev-l10n. There may be some delay if the list is moderated...
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Iteration: --- → 50.1
Priority: P2 → P1
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.