Author: esr
Date: Sat Apr 4 18:14:47 2009
New Revision: 34469
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34469&view=rev
Log:
Don't generate exiguous space.
Modified:
trunk/data/tools/wmlxgettext
Modified: trunk/data/tools/wmlxgettext
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wmlxgettext?rev=34469&r1=34468&r2=34469&view=diff
==============================================================================
--- trunk/data/tools/wmlxgettext (original)
+++ trunk/data/tools/wmlxgettext Sat Apr 4 18:14:47 2009
@@ -225,7 +225,8 @@
if key[0] == tag and key[1] == file and key[2] == line:
attribs = " has " + ", ".join(value)
print "# %s, line %d: %s%s" % (file, line, tag, attribs)
- print notes,
+ if notes:
+ print notes,
notes = ""
print 'msgid "%s"' % translatable
print 'msgstr ""'
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits