Update langs-list-check
Was failing with `sw720dp-v21` directory that contained a `dimens.xml` file. Also sorted output to make it easier to compare while here.
This commit is contained in:
parent
2eab1d0e6d
commit
c3b8134be7
@ -26,7 +26,7 @@ for d in glob.glob(os.path.join('src', 'main', 'res', 'values-*')):
|
|||||||
lang = d[len(os.path.join('src', 'main', 'res', 'values-')):]
|
lang = d[len(os.path.join('src', 'main', 'res', 'values-')):]
|
||||||
if not lang:
|
if not lang:
|
||||||
continue
|
continue
|
||||||
if re.match('^v[0-9]+$', lang):
|
if re.match('^sw[0-9]+dp|v[0-9]+$', lang):
|
||||||
continue
|
continue
|
||||||
if lang == 'ldrtl':
|
if lang == 'ldrtl':
|
||||||
continue
|
continue
|
||||||
@ -34,8 +34,8 @@ for d in glob.glob(os.path.join('src', 'main', 'res', 'values-*')):
|
|||||||
continue
|
continue
|
||||||
trans.add(lang)
|
trans.add(lang)
|
||||||
|
|
||||||
print("In the settings array: %s" % ' '.join(prefs))
|
print("In the settings array: %s" % ' '.join(sorted(prefs)))
|
||||||
print("Actually translated: %s" % ' '.join(trans))
|
print("Actually translated: %s" % ' '.join(sorted(trans)))
|
||||||
|
|
||||||
missing = []
|
missing = []
|
||||||
for lang in trans:
|
for lang in trans:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user