diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/python/compare-locales/PKG-INFO | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/python/compare-locales/PKG-INFO')
-rw-r--r-- | third_party/python/compare-locales/PKG-INFO | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/third_party/python/compare-locales/PKG-INFO b/third_party/python/compare-locales/PKG-INFO new file mode 100644 index 0000000000..5daa15c4a5 --- /dev/null +++ b/third_party/python/compare-locales/PKG-INFO @@ -0,0 +1,82 @@ +Metadata-Version: 2.1 +Name: compare-locales +Version: 8.1.0 +Summary: Lint Mozilla localizations +Home-page: UNKNOWN +Author: Axel Hecht +Author-email: axel@mozilla.com +License: MPL 2.0 +Description: [![Build Status](https://travis-ci.org/Pike/compare-locales.svg?branch=master)](https://travis-ci.org/Pike/compare-locales) + # compare-locales + Lint Mozilla localizations + + Finds + * missing strings + * obsolete strings + * errors on runtime errors without false positives + * warns on possible runtime errors + + It also includes `l10n-merge` functionality, which pads localizations with + missing English strings, and replaces entities with errors with English. + + If you want to check your original code for errors like duplicated messages, + use `moz-l10n-lint`, which is also part of this package. You can also use + this to check for conflicts between your strings and those already exposed + to l10n. + + # Configuration + + You configure `compare-locales` (and `moz-l10n-lint`) through a + [project configuration](https://moz-l10n-config.readthedocs.io/en/latest/fileformat.html) + file, `l10n.toml`. + + # Examples + + To check all locales in a project use + + ```bash + compare-locales l10n.toml . + ``` + + To check Firefox against a local check-out of l10n-central, use + + ```bash + compare-locales browser/locales/l10n.toml ../l10n-central + ``` + + If you just want to check particular locales, specify them as additional + commandline parameters. + + To lint your local work, use + + ```bash + moz-l10n-lint l10n.toml + ``` + + To check for conflicts against already existing strings: + + ```bash + moz-l10n-lint --reference-project ../android-l10n/mozilla-mobile/fenix l10n.toml + moz-l10n-lint --l10n-reference ../gecko-strings browser/locales/l10n.toml + ``` + + to check for a monolithic project like Fenix or a gecko project like Firefox, + resp. + +Platform: any +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: Software Development :: Localization +Classifier: Topic :: Software Development :: Testing +Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4 +Description-Content-Type: text/markdown |