For #12759 - Keep a separate list of release locales.
parent
b31564d5fc
commit
98d5ae6b89
|
@ -8,7 +8,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
|||
|
||||
import re
|
||||
|
||||
OPEN_LOCALES = "locales = ["
|
||||
OPEN_LOCALES = "release_locales = ["
|
||||
CLOSE_LOCALES = "]"
|
||||
|
||||
def trim_to_locale(str):
|
||||
|
@ -42,7 +42,7 @@ def get_release_locales():
|
|||
for line in file:
|
||||
if line == OPEN_LOCALES:
|
||||
locales_opened = True
|
||||
elif line == CLOSE_LOCALES:
|
||||
elif line == CLOSE_LOCALES and locales_opened == True:
|
||||
locales_closed = True
|
||||
break
|
||||
elif locales_opened:
|
||||
|
|
92
l10n.toml
92
l10n.toml
|
@ -1,6 +1,7 @@
|
|||
|
||||
basepath = "."
|
||||
|
||||
# Locales that should be present in non-release builds and on Pontoon
|
||||
locales = [
|
||||
"an",
|
||||
"ar",
|
||||
|
@ -94,6 +95,97 @@ locales = [
|
|||
"zh-TW",
|
||||
]
|
||||
|
||||
# Locales that should be present in release builds
|
||||
# Locales that are at 70% or higher completion on https://pontoon.mozilla.org/projects/android-l10n/
|
||||
# should be in this list
|
||||
release_locales = [
|
||||
"an",
|
||||
"ar",
|
||||
"ast",
|
||||
"az",
|
||||
"be",
|
||||
"bn",
|
||||
"br",
|
||||
"bs",
|
||||
"ca",
|
||||
"cak",
|
||||
"co",
|
||||
"cs",
|
||||
"cy",
|
||||
"da",
|
||||
"de",
|
||||
"dsb",
|
||||
"el",
|
||||
"en-CA",
|
||||
"en-GB",
|
||||
"eo",
|
||||
"es",
|
||||
"es-AR",
|
||||
"es-CL",
|
||||
"es-ES",
|
||||
"es-MX",
|
||||
"et",
|
||||
"eu",
|
||||
"fa",
|
||||
"ff",
|
||||
"fi",
|
||||
"fr",
|
||||
"fy-NL",
|
||||
"ga-IE",
|
||||
"gd",
|
||||
"gn",
|
||||
"gu-IN",
|
||||
"he",
|
||||
"hi-IN",
|
||||
"hr",
|
||||
"hsb",
|
||||
"hu",
|
||||
"hy-AM",
|
||||
"id",
|
||||
"is",
|
||||
"it",
|
||||
"ja",
|
||||
"ka",
|
||||
"kab",
|
||||
"kk",
|
||||
"kn",
|
||||
"ko",
|
||||
"lij",
|
||||
"lo",
|
||||
"lt",
|
||||
"ml",
|
||||
"mr",
|
||||
"my",
|
||||
"nb-NO",
|
||||
"nl",
|
||||
"nn-NO",
|
||||
"oc",
|
||||
"pa-IN",
|
||||
"pl",
|
||||
"pt-BR",
|
||||
"pt-PT",
|
||||
"rm",
|
||||
"ro",
|
||||
"ru",
|
||||
"sk",
|
||||
"sl",
|
||||
"sq",
|
||||
"sr",
|
||||
"su",
|
||||
"sv-SE",
|
||||
"ta",
|
||||
"te",
|
||||
"th",
|
||||
"tr",
|
||||
"trs",
|
||||
"uk",
|
||||
"ur",
|
||||
"vec",
|
||||
"vi",
|
||||
"zh-CN",
|
||||
"zh-TW",
|
||||
]
|
||||
|
||||
# Expose the following branches to localization
|
||||
# Changes to this list should be announced to the l10n team ahead of time.
|
||||
branches = [
|
||||
|
|
Loading…
Reference in New Issue