summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-21 13:30:13 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-21 13:30:13 -0300
commite5a3e2185b38aba85e84e7efaa0bcc5f36f7b958 (patch)
treec6ebce355b882ff33a67154a895502c8866a3d99 /web
parent9b5018b649bd0b722f62ade5542adbc5b61600b9 (diff)
downloadtools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.tar.gz
tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.tar.bz2
tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.tar.xz
tools-e5a3e2185b38aba85e84e7efaa0bcc5f36f7b958.zip
Create en pot file
Diffstat (limited to 'web')
-rwxr-xr-xweb/updatelang.py3
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: