X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d2b1dcb3466ed5476094d9ff445d1df1b4ed14ff..a6316cb088a3a0082891e8d689ae5aebe748e65e:/po/xml2po.py diff --git a/po/xml2po.py b/po/xml2po.py index 382f2d89..bf277987 100755 --- a/po/xml2po.py +++ b/po/xml2po.py @@ -12,6 +12,12 @@ class parseXML(ContentHandler): def startElement(self, name, attrs): if (attrs.has_key('text')): attrlist[attrs.get('text', "")] = "foo" + if (attrs.has_key('title')): + attrlist[attrs.get('title', "")] = "foo" + if (attrs.has_key('value')): + attrlist[attrs.get('value', "")] = "foo" + if (attrs.has_key('caption')): + attrlist[attrs.get('caption', "")] = "foo" parser = make_parser()