X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e11628a45e4efedb28e830d73102ba82ba2fcb4e..19ce1123c780a9475e2f158712da6e73fa543e9c:/po/xml2po.py diff --git a/po/xml2po.py b/po/xml2po.py index 88e07912..8108caeb 100755 --- a/po/xml2po.py +++ b/po/xml2po.py @@ -55,6 +55,7 @@ for (k,c) in attrlist: if c: for l in c.split('\n'): print "#. ", l - print 'msgid "' + str(k) + '"' - print 'msgstr ""' + if str(k) != "": + print 'msgid "' + str(k) + '"' + print 'msgstr ""'