changeset c6ccdb652d23 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=c6ccdb652d23 description: fix gettext
diffstat:
src/common/i18n.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f846f2987563 -r c6ccdb652d23 src/common/i18n.py --- a/src/common/i18n.py Thu Jan 03 11:47:34 2013 +0400 +++ b/src/common/i18n.py Thu Jan 03 13:41:52 2013 +0400 @@ -94,7 +94,7 @@
In other words this is a hack to ngettext() to support %s %d etc.. """ - text = _translation.ungettext(s_sing, s_plural, n) + text = _translation.ngettext(s_sing, s_plural, n) if n == 1 and replace_sing is not None: text = text % replace_sing elif n > 1 and replace_plural is not None: