##// END OF EJS Templates
i18n: use unicode literal...
Gregory Szorc -
r29415:47fb4beb default
parent child Browse files
Show More
@@ -78,7 +78,7 b' def gettext(message):'
78 78 paragraphs = [p.decode("ascii") for p in message.split('\n\n')]
79 79 # Be careful not to translate the empty string -- it holds the
80 80 # meta data of the .po file.
81 u = u'\n\n'.join([p and _ugettext(p) or '' for p in paragraphs])
81 u = u'\n\n'.join([p and _ugettext(p) or u'' for p in paragraphs])
82 82 try:
83 83 # encoding.tolocal cannot be used since it will first try to
84 84 # decode the Unicode string. Calling u.decode(enc) really
General Comments 0
You need to be logged in to leave comments. Login now