summaryrefslogtreecommitdiffstats
path: root/tools/lint/l10n.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /tools/lint/l10n.yml
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/lint/l10n.yml')
-rw-r--r--tools/lint/l10n.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/lint/l10n.yml b/tools/lint/l10n.yml
new file mode 100644
index 0000000000..d2fc5e5d85
--- /dev/null
+++ b/tools/lint/l10n.yml
@@ -0,0 +1,38 @@
+---
+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'