aboutsummaryrefslogtreecommitdiff
path: root/tools/translate.py
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-01 21:34:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-01 21:34:28 +1200
commit1f818ff715d6ac0b8cd4ce869113bed4c658d837 (patch)
treef9f3d274b62c93161dcf1d2529c1bb092de18548 /tools/translate.py
parentc7a93d18a1550842aff7c65b37a379026741d08d (diff)
downloadtrackermap-server-1f818ff715d6ac0b8cd4ce869113bed4c658d837.tar.gz
trackermap-server-1f818ff715d6ac0b8cd4ce869113bed4c658d837.tar.bz2
trackermap-server-1f818ff715d6ac0b8cd4ce869113bed4c658d837.zip
Update various script files
Diffstat (limited to 'tools/translate.py')
-rwxr-xr-xtools/translate.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/translate.py b/tools/translate.py
index 69c55979b..8087e3161 100755
--- a/tools/translate.py
+++ b/tools/translate.py
@@ -3,6 +3,10 @@
import re
import os
+abspath = os.path.abspath(__file__)
+dname = os.path.dirname(abspath)
+os.chdir(dname)
+
path = '../web/l10n/'
files = [f for f in os.listdir(path) if os.path.isfile(path + f) and f.endswith('.js') and not f.endswith('en.js')]