aboutsummaryrefslogtreecommitdiff
path: root/po/xml2po.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-14 23:10:55 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-14 23:10:55 +0000
commit5efc1ec21ed5ba97164aad2ba9b8aefb90df96f6 (patch)
tree026a37c4fe26035ed48df634759f2a642616a542 /po/xml2po.py
parenta7e5aa24db2b4b06e41d385704fcbaa7ac535423 (diff)
downloadenigma2-5efc1ec21ed5ba97164aad2ba9b8aefb90df96f6.tar.gz
enigma2-5efc1ec21ed5ba97164aad2ba9b8aefb90df96f6.zip
fix translation of startwizard
translate the window-title in the languageselection window when choosing a language translate some missing stuff
Diffstat (limited to 'po/xml2po.py')
-rwxr-xr-xpo/xml2po.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/po/xml2po.py b/po/xml2po.py
index bf277987..a8b62666 100755
--- a/po/xml2po.py
+++ b/po/xml2po.py
@@ -1,6 +1,7 @@
#!/usr/bin/python
import sys
import os
+import string
from xml.sax import make_parser
from xml.sax.handler import ContentHandler
@@ -36,6 +37,7 @@ for x in dir:
for k, v in attrlist.items():
print
print '#: ' + sys.argv[1]
+ string.replace(k, "\\n", "\"\n\"")
print 'msgid "' + str(k) + '"'
print 'msgstr ""'