mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
336f71fd5e
For devtools-html, devtools will progressively stop using DTD files and will use only properties files. To avoid retranslating already localized strings in every locale, this script can be used by localization teams to automatically migrate strings moved in the scope of the devtools-html project. MozReview-Commit-ID: KNDfCoPXOM9 --HG-- extra : rebase_source : 48fbf2ae3daab89891262e460c979b6c141a2caa
17 lines
600 B
ReStructuredText
17 lines
600 B
ReStructuredText
devtools-l10n-migration script
|
|
==============================
|
|
|
|
For devtools.html, devtools will no longer rely on DTD files. This migration
|
|
script is aimed at localizers to automate the migration of strings from DTD to
|
|
properties files.
|
|
|
|
How to run this script?
|
|
|
|
To migrate all configuration files:
|
|
python migrate/main.py path/to/your/l10n/repo/ -c migrate/conf/
|
|
|
|
To migrate only one configuration file:
|
|
python migrate/main.py path/to/your/l10n/repo/ -c migrate/conf/bug1294186
|
|
|
|
All configuration files should be named after the bug where specific devtools strings were migrated.
|