mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
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
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.
|