summaryrefslogtreecommitdiffstats
path: root/src/lang_cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lang_cfg.py')
-rw-r--r--src/lang_cfg.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lang_cfg.py b/src/lang_cfg.py
new file mode 100644
index 0000000..9ba1319
--- /dev/null
+++ b/src/lang_cfg.py
@@ -0,0 +1,8 @@
+import sys
+
+if (len(sys.argv) > 0):
+ if (sys.argv[1] == "ENONLY"):
+ print "#define ENGLISH_ONLY"
+ else:
+ for x in xrange(1, len(sys.argv)):
+ print "#define LANG_%s"%(sys.argv[x])