mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
5c8a5c6759
Both the dtd and properties files strings are moved to the existing storage.ftl. A migration file was added to keep the localized strings. Some of the strings were migrated to a declarative approach, setting `data-l10n-id` and `data-l10n-args` attributes on elements. But in other cases, this was not easily doable. To accomodate with the asynchronicity of `formatValue`, we translate all the strings that don't have dynamic parameters during the initialization of the panel, and store them in a Map for easy retrieval. We also took this opportunity to cleanup the strings key names and have them all prefixed with `storage-*`. Some functions where refactored so it should be easier to search the code for a specific l10n string. Finally, the `table.headers.indexedDB.*` strings weren't migrated as they were never read in the UI (they are referenced in `NON_L10N_STRINGS`, which bypass localization). Differential Revision: https://phabricator.services.mozilla.com/D143012 |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
docs | ||
gdbpp/gdbpp | ||
l10n | ||
lldbutils | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozperftest | ||
mozrelease | ||
mozterm | ||
mozversioncontrol | ||
sites | ||
mach_commands.py | ||
moz.build | ||
README |
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Vendored python modules (use third_party/python instead) * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025