diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-21 13:30:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-21 13:30:13 -0300 |
commit | e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958 (patch) | |
tree | c6ebce355b882ff33a67154a895502c8866a3d99 /web | |
parent | 9b5018b649bd0b722f62ade5542adbc5b61600b9 (diff) | |
download | tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.tar.gz tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.tar.bz2 tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.tar.xz tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.zip |
Create en pot file
Diffstat (limited to 'web')
-rwxr-xr-x | web/updatelang.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/updatelang.py b/web/updatelang.py index bac1be1..f38b2fb 100755 --- a/web/updatelang.py +++ b/web/updatelang.py @@ -40,6 +40,8 @@ def genreadPoFile(): readPoFile(i,a) def generatePoFiles(): + context=langs + context.append('en') for a in langs: print("Updating po file for "+a) xrv=open("po/"+a+".po", "w") @@ -60,6 +62,7 @@ msgstr ""\n\ for i in files: writePoFile(i,a) + context.remove('en') def generateLocal(): for a in langs: |