git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove old Makefile
[enigma2.git]
/
po
/
xml2po.py
diff --git
a/po/xml2po.py
b/po/xml2po.py
index 382f2d894d42fb058ede318d7e2a3a48f1e9c582..bf277987442def52ee7ff1f82e1772d2b134869e 100755
(executable)
--- 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"
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()