diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-15 09:46:25 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-06-15 09:46:25 +0000 |
| commit | b3c1bae2e917faf6e2f4e9f3075195a03a16f8ba (patch) | |
| tree | c48d376273ccc54f65698ab797816afa9cb67d0a /scripts | |
| parent | a934488e9f2c5aeb1997a4b3b9ecdad2537686d1 (diff) | |
| download | zcatch-b3c1bae2e917faf6e2f4e9f3075195a03a16f8ba.tar.gz zcatch-b3c1bae2e917faf6e2f4e9f3075195a03a16f8ba.zip | |
cleaned up localization. fixed motd so it shows when connecting to a server
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/update_localization.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/update_localization.py b/scripts/update_localization.py index d3c948aa..a1e19b8b 100644 --- a/scripts/update_localization.py +++ b/scripts/update_localization.py @@ -79,7 +79,6 @@ def generate_languagefile(outputfilename, srctable, loctable): num_items += 1 old_items += 1 - print "%-40s %8s %8s %8s" % ("filename", "total", "new", "old") print "%-40s %8d %8d %8d" % (outputfilename, num_items, new_items, old_items) f.close() @@ -87,6 +86,8 @@ def generate_languagefile(outputfilename, srctable, loctable): srctable = parse_source() +print "%-40s %8s %8s %8s" % ("filename", "total", "new", "old") + for filename in os.listdir("data/languages"): if not ".txt" in filename: continue |