Commit Graph

6 Commits (1c0e70d647031b358d99b757b67651ba4defb42b)

Author SHA1 Message Date
Kainalu Hagiwara 5fe4feda53 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13066 - Translate locale codes to Android specific variants before filtering 4 years ago
Kainalu Hagiwara 0d977a5e2d [fenix] Move release locales to a separate config file.
We should leave l10n.toml untouched unless the l10n team wants to
change it.
4 years ago
Kainalu Hagiwara 703edac9c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12759 - Keep a separate list of release locales. 4 years ago
Severin Rudie a7aa2c0074 [fenix] 3088 filter locales 2nd try (https://github.com/mozilla-mobile/fenix/pull/7839)
* For https://github.com/mozilla-mobile/fenix/issues/3088: filter incomplete locales in release builds

* For 3088: update locale filtering to not error on nightly builds
5 years ago
Sebastian Kaspari 866eac2ca4 [fenix] Revert "3088 filter incomplete locales on release builds (https://github.com/mozilla-mobile/fenix/pull/7581)" (nightly build errors)
This reverts commit 313f536a440cf8920c87b6c8e01f441ce7543259.
5 years ago
Severin Rudie e1fe294e71 [fenix] 3088 filter incomplete locales on release builds (https://github.com/mozilla-mobile/fenix/pull/7581)
* For https://github.com/mozilla-mobile/fenix/issues/3088: add translation pruning Py scripts from Focus

The only change made was updating "Focus/Klar" to "Fenix"

* For 3088: call translation pruning scripts during release builds

* For 3088: fix filter-release-translations.py

Moving it into Fenix introduced one additional layer of nesting, which was not accounted for in a relative path.  🤦

* For 3088: comment about the risks of modifying source

* For 3088: updated locales.py to read from l10n.toml

Also removed some previously unused properties from locales.py

* For 3088: added error handling to script in locales.py

* For 3088: updated locale parser per review comments
5 years ago