Closed Bug 1281502 Opened 8 years ago Closed 8 years ago

Improve localization comments for Code Editor shortcuts

Categories

(DevTools Graveyard :: Scratchpad, defect)

defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
Firefox 50
Tracking Status
firefox50 --- fixed

People

(Reporter: flod, Assigned: flod)

Details

Attachments

(1 file)

Several strings have key identifiers that should not be localized, but there's no localization comment indicating that.
https://hg.mozilla.org/releases/mozilla-aurora/file/default/devtools/client/locales/en-US/sourceeditor.properties#l87

Shortcuts are then passed to CodeMirror and fail (see for example bug 1147357)
https://codemirror.net/doc/manual.html#keymaps
Attached patch bug1281502.patchSplinter Review
Hi Panos, Bugzilla is suggesting you as a reviewer, not sure if that's a glitch in the matrix :-)

Do you mind double checking this?
Attachment #8764561 - Flags: review?(past)
Comment on attachment 8764561 [details] [diff] [review]
bug1281502.patch

Review of attachment 8764561 [details] [diff] [review]:
-----------------------------------------------------------------

Makes sense. For future reference bgrins or fitzgen would be better reviewers for anything related to the source editor component.
Attachment #8764561 - Flags: review?(past) → review+
Thanks. I'm not completely sure where Bugzilla gets his "Suggested reviewers", and if that can be fixed upstream.
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/fx-team/rev/a7e793ef71a3
Improve localization comments for Source Editor shortcuts. r=past
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a7e793ef71a3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: