Fix locale folder issue
Этот коммит содержится в:
+1
-1
@@ -33,7 +33,7 @@ for language in resource["available_languages"]:
|
|||||||
if code == "en":
|
if code == "en":
|
||||||
filename = path + "values/strings.xml"
|
filename = path + "values/strings.xml"
|
||||||
else:
|
else:
|
||||||
filename = path + "values-" + code.replace("_", "-") + "/strings.xml"
|
filename = path + "values-" + code.replace("_", "-r") + "/strings.xml"
|
||||||
if not os.path.exists(os.path.dirname(filename)):
|
if not os.path.exists(os.path.dirname(filename)):
|
||||||
os.makedirs(os.path.dirname(filename))
|
os.makedirs(os.path.dirname(filename))
|
||||||
file = open(filename, "wb")
|
file = open(filename, "wb")
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user