Modem/plugin.py: also change username in /etc/ppp/options
[enigma2.git] / po / xml2po.py
index 88e0791233c2b287ed6a87a571d43c07303aecdf..8108caeb5c1f667939c98ad8d2ee405eeea5d460 100755 (executable)
@@ -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 ""'