Closed
Bug 1209583
Opened 9 years ago
Closed 5 years ago
Please provide syntax highlighting for localization file samples - Mozilla | MDN
Categories
(developer.mozilla.org Graveyard :: General, enhancement)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: anaran, Unassigned)
References
()
Details
(Keywords: in-triage)
See:
https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/l10n#Placeholders
Details:
Placeholders
The l10n module supports placeholders, allowing you to insert a string which should not be localized into one which is. The following "en-US" and "fr-FR" ".properties" files include placeholders:
# en-US translations
hello_id= Hello %s!
# fr-FR translations
hello_id= Bonjour %s !
Problem:
The comment lines and localization placeholders don't stick out with the generic pre styling applied here.
It would be nice to get highlighting like Wikipedia does:
https://en.wikipedia.org/wiki/.properties#Format
http://mzl.la/1vxCDgA
Updated•9 years ago
|
Product: Developer Documentation → Mozilla Developer Network
Comment 1•5 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•