gecko-dev/python
Nicolas Chevobbe 5c8a5c6759 Bug 1763313 - [devtools] Migrate storage panel to Fluent. r=jdescottes,flod
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
2022-04-13 12:47:57 +00:00
..
devtools/migrate-l10n Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky 2022-02-03 18:34:58 +00:00
docs Bug 1659593: Make ./mach vendor python cross-platform r=ahal 2022-04-07 18:00:28 +00:00
gdbpp/gdbpp
l10n Bug 1763313 - [devtools] Migrate storage panel to Fluent. r=jdescottes,flod 2022-04-13 12:47:57 +00:00
lldbutils
mach Bug 1763244: Write tests for site activation logic r=ahal 2022-04-12 21:28:50 +00:00
mozboot Bug 1588396 - Add 'pureos' to DEBIAN_DISTROS. r=mhentges 2022-04-11 15:01:30 +00:00
mozbuild Bug 1635428 - Part 3: Remove excluded() from files.py r=firefox-build-system-reviewers,glandium 2022-04-13 09:27:11 +00:00
mozlint Bug 1756224: Update MozlintParser docs about default paths r=ahal 2022-03-09 15:52:48 +00:00
mozperftest Bug 1741975 - Have WPT tests available in taskcluster r=perftest-reviewers,sparky 2022-04-01 16:59:17 +00:00
mozrelease Bug 1755088: Replace all usages of unittest deprecated aliases r=webdriver-reviewers,ahal,whimboo 2022-02-17 15:21:41 +00:00
mozterm
mozversioncontrol Bug 1732795: Resolve upcoming pytest deprecations r=webdriver-reviewers,ahal,whimboo 2022-02-18 14:27:18 +00:00
sites Bug 1289641 - Vendor the vsdownload script. r=firefox-build-system-reviewers,mhentges 2022-04-12 22:52:53 +00:00
mach_commands.py Bug 1717104: Activate virtualenv before running command r=perftest-reviewers,ahal,AlexandruIonescu 2022-03-23 14:50:45 +00:00
moz.build Bug 1724274: Move virtualenv dependency manifests to python/virtualenvs r=ahal 2022-03-24 14:04:34 +00:00
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