add some translations (translations in the wizard don't work in some places)
[vuplus_dvbapp] / po / xml2po.py
index 382f2d8..bf27798 100755 (executable)
@@ -12,6 +12,12 @@ class parseXML(ContentHandler):
        def startElement(self, name, attrs):
                if (attrs.has_key('text')):
                        attrlist[attrs.get('text', "")] = "foo"
        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()
 
 
 parser = make_parser()