From b3c1bae2e917faf6e2f4e9f3075195a03a16f8ba Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 15 Jun 2009 09:46:25 +0000 Subject: cleaned up localization. fixed motd so it shows when connecting to a server --- scripts/update_localization.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/update_localization.py') 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 -- cgit 1.4.1