forked from mozilla-mobile/focus-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add l10n.toml for l10n testing with compare-locales, and automation t…
…o run it. On PRs, this just runs validation after the unit tests. On master, this triggers another task in the graph w/out dependencies, either in nor out. We might want to replace check_translations.py eventually, but not yet.
- Loading branch information
1 parent
448df4b
commit c68e8e1
Showing
3 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
|
||
basepath = "." | ||
|
||
locales = [ | ||
"ace", | ||
"af", | ||
"am", | ||
"an", | ||
"anp", | ||
"ar", | ||
"ast", | ||
"ay", | ||
"az", | ||
"bg", | ||
"bn-BD", | ||
"bn-IN", | ||
"bo", | ||
"bs", | ||
"ca", | ||
"cak", | ||
"cs", | ||
"cy", | ||
"da", | ||
"de", | ||
"dsb", | ||
"el", | ||
"en-CA", | ||
"eo", | ||
"es-AR", | ||
"es-CL", | ||
"es-ES", | ||
"es-MX", | ||
"eu", | ||
"fa", | ||
"fi", | ||
"fr", | ||
"fy-NL", | ||
"ga-IE", | ||
"gl", | ||
"gu-IN", | ||
"he", | ||
"hi-IN", | ||
"hr", | ||
"hsb", | ||
"hu", | ||
"hus", | ||
"hy-AM", | ||
"ia", | ||
"id", | ||
"it", | ||
"ixl", | ||
"ja", | ||
"jv", | ||
"ka", | ||
"kab", | ||
"kk", | ||
"ko", | ||
"kw", | ||
"lo", | ||
"lt", | ||
"meh", | ||
"mix", | ||
"mr", | ||
"ms", | ||
"my", | ||
"nb-NO", | ||
"ne-NP", | ||
"nl", | ||
"nn-NO", | ||
"oc", | ||
"pa-IN", | ||
"pai", | ||
"pl", | ||
"ppl", | ||
"pt-BR", | ||
"quc", | ||
"quy", | ||
"ro", | ||
"ru", | ||
"sk", | ||
"sl", | ||
"sq", | ||
"sr", | ||
"su", | ||
"sv-SE", | ||
"ta", | ||
"te", | ||
"th", | ||
"tr", | ||
"trs", | ||
"tsz", | ||
"tt", | ||
"uk", | ||
"ur", | ||
"vi", | ||
"wo", | ||
"yua", | ||
"zam", | ||
"zh-CN", | ||
"zh-TW", | ||
] | ||
[env] | ||
|
||
[[paths]] | ||
reference = "app/src/main/res/values/strings.xml" | ||
l10n = "{l10n_base}/app/src/main/res/values-{android_locale}/strings.xml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters