mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-08 06:03:06 -05:00
langs-list-check: ignore symlinks, update list
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
<item>fi</item>
|
||||
<item>fr</item>
|
||||
<item>gl</item>
|
||||
<item>gu</item>
|
||||
<item>he</item>
|
||||
<item>hu</item>
|
||||
<item>it</item>
|
||||
|
||||
@@ -28,6 +28,8 @@ for d in glob.glob(os.path.join('res', 'values-*')):
|
||||
continue
|
||||
if re.match('^v[0-9]+$', lang):
|
||||
continue
|
||||
if os.path.islink(d):
|
||||
continue
|
||||
trans.add(lang)
|
||||
|
||||
print "In the settings array: %s" % ' '.join(prefs)
|
||||
|
||||
Reference in New Issue
Block a user