gecko-dev/toolkit/locales
Eemeli Aro 411a529019 Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish
This changes the arguments of `ExtensionData.formatPermissionStrings()`.
The second `bundle` arg is dropped, and a `localization` option is added.
Call sites in m-c are updated, but this will also need a matching update for Thunderbird.
A few Thunderbird test cases will also need to be updated,
as they currently point to a non-existing localization file paths
"messenger/addons.ftl" and "messenger/addonPermissions.ftl".

As discussed at the addon workweek,
the Fluent l10n keys for extension permissions match the pattern:

    webext-perms-description-{name}

where `{name}` is the permission's sanitized name.
A fluent-lint exception is added for the capitalization of these generated names.
To allow for message updates and subsequent l10n identifier updates,
a `PERMISSION_L10N_ID_OVERRIDES` map is provided.

Because Fluent localization keys are not enumerable
and attempting to format a missing key is an error,
the `PERMISSIONS_WITH_MESSAGE` set must be kept in sync with message updates.

Differential Revision: https://phabricator.services.mozilla.com/D158663
2023-05-23 12:00:01 +00:00
..
en-US Bug 1793557 - Convert Extension.jsm strings to Fluent. r=mkmelin,geckoview-reviewers,robwu,flod,owlish 2023-05-23 12:00:01 +00:00
Makefile.in
all-locales
gen_multilocale.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
generate_locale_ini.py
generate_update_locale.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
jar.mn Bug 1821768 - Move translations.ftl to toolkit; r=nordzilla,fluent-reviewers,flod 2023-03-21 12:13:11 +00:00
l10n.ini
l10n.mk Bug 1802128 - Migrate langpack defines.inc files to Fluent. r=nalexander,fluent-reviewers,flod 2022-12-05 17:15:53 +00:00
l10n.toml
moz.build