Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
770 B

  1. diff --git a/crowdin.py b/crowdin.py
  2. old mode 100755
  3. new mode 100644
  4. diff --git a/helper.py b/helper.py
  5. index d3a57c9..7ef7d14 100644
  6. --- a/helper.py
  7. +++ b/helper.py
  8. @@ -109,8 +109,12 @@ def GetResDirectory(path):
  9. def GetTargetStringsXml(targetResDirectory, langCode):
  10. - country = langCode[0:2]
  11. - variant = langCode[3:]
  12. + if langCode == 'fil':
  13. + country = 'fil'
  14. + variant = ''
  15. + else:
  16. + country = langCode[0:2]
  17. + variant = langCode[3:]
  18. if variant is not None and len(variant) > 0:
  19. variant = "-r" + variant
  20. @@ -127,4 +131,4 @@ def IsSingleFolderUpdate(path):
  21. def IsDefaultStringsXml(path):
  22. if "res/values/strings.xml" in path:
  23. return True
  24. - return False
  25. \ No newline at end of file
  26. + return False