Mercurial > public > mercurial-scm > hg-stable
diff mercurial/i18n.py @ 11390:11cd65611f3f
i18n: translate each paragraph separately
Makes translation work easier by reducing message sizes and avoiding
invalidating whole messages on small changes or additions to the
original text.
author | Wagner Bruna <wbruna@yahoo.com> |
---|---|
date | Tue, 06 Apr 2010 22:30:50 -0300 |
parents | 40dfd46d098f |
children | f7d7de6eccc8 |
line wrap: on
line diff
--- 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