mercurial/i18n.py
changeset 11390 11cd65611f3f
parent 10455 40dfd46d098f
child 11403 f7d7de6eccc8
--- a/mercurial/i18n.py	Thu Jun 17 20:10:34 2010 -0300
+++ b/mercurial/i18n.py	Tue Apr 06 22:30:50 2010 -0300
@@ -36,7 +36,7 @@
     if message is None:
         return message
 
-    u = t.ugettext(message)
+    u = u'\n\n'.join([t.ugettext(m) for m in message.split('\n\n')])
     try:
         # encoding.tolocal cannot be used since it will first try to
         # decode the Unicode string. Calling u.decode(enc) really