These files were made available as: - `chrome://browser/locale/netError.dtd` - `chrome://browser/locale/appstrings.properties` For desktop, overrides are defined in `browser/base/jar.mn` that map the corresponding `global/` paths to the above: ``` % override chrome://global/locale/appstrings.properties chrome://browser/locale/appstrings.properties % override chrome://global/locale/netError.dtd chrome://browser/locale/netError.dtd ``` For mobile, similar overrides were earlier defined in `mobile/android/chrome/jar.mn`, but that file was removed in bug 1589182 three years ago. Consequently, the `global/` paths for these files that are used under `docshell/` and `dom/` have resolved to the non-overridden `dom/` files since Firefox 72. It should therefore be safe to remove them. Differential Revision: https://phabricator.services.mozilla.com/D156403
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
---
|
|
l10n:
|
|
description: Localization linter
|
|
# list of include directories of both
|
|
# browser and mobile/android l10n.tomls
|
|
include:
|
|
- browser/branding/official/locales/en-US
|
|
- browser/extensions/formautofill/locales/en-US
|
|
- browser/extensions/report-site-issue/locales/en-US
|
|
- browser/locales/en-US
|
|
- devtools/client/locales/en-US
|
|
- devtools/shared/locales/en-US
|
|
- devtools/startup/locales/en-US
|
|
- dom/locales/en-US
|
|
- mobile/android/locales/en-US
|
|
- netwerk/locales/en-US
|
|
- security/manager/locales/en-US
|
|
- services/sync/locales/en-US
|
|
- toolkit/locales/en-US
|
|
- tools/lint/l10n.yml
|
|
# files not supported by compare-locales,
|
|
# and also not relevant to this linter
|
|
exclude:
|
|
- browser/locales/en-US/firefox-l10n.js
|
|
- mobile/android/locales/en-US/mobile-l10n.js
|
|
- toolkit/locales/en-US/chrome/global/intl.css
|
|
l10n_configs:
|
|
- browser/locales/l10n.toml
|
|
- mobile/android/locales/l10n.toml
|
|
type: external
|
|
payload: python.l10n_lint:lint
|
|
setup: python.l10n_lint:gecko_strings_setup
|
|
support-files:
|
|
- '**/l10n.toml'
|
|
- 'third_party/python/compare-locales/**'
|
|
- 'third_party/python/fluent/**'
|
|
- 'tools/lint/python/l10n_lint.py'
|
|
- 'tools/lint/l10n.yml'
|