Files
Jeremy Andrews 0c61ee391c Issue #2974 - Part 14: Moved libraries and imports.
reduce is moved to functools, urllib reogranized.

2to3 . --fix urllib -wpn
2to3 . --fix reduce -wpn
2to3 . --fix import -wpn
2to3 . --fix imports -wpn
2to3 . --fix imports2 -wpn

Ref: PEP 3108, PEP 3100
https://peps.python.org/pep-3108/
https://peps.python.org/pep-3100/
2026-03-04 20:24:12 -06:00
..
2018-02-02 04:16:08 -05:00

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.