mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Move language scripts to scripts/
This commit is contained in:
parent
b8b97eb740
commit
3a8cc43e13
|
@ -59,7 +59,7 @@ def check_folder(path):
|
|||
|
||||
|
||||
def languages():
|
||||
index = decode(open("../index.txt"), 2)
|
||||
index = decode(open("../../data/languages/index.txt"), 2)
|
||||
langs = {"../"+key+".txt" : [key]+elements for key, elements in index.items()}
|
||||
return langs
|
||||
|
||||
|
@ -70,5 +70,5 @@ def translations(filename):
|
|||
|
||||
|
||||
def localizes():
|
||||
englishlist = list(check_folder("../../../src"))
|
||||
englishlist = list(check_folder("../../src"))
|
||||
return englishlist
|
Loading…
Reference in a new issue