From 3c4a63e97e14fd4efba717d57b6e85947297c91a Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 3 Jan 2013 13:41:52 +0400 Subject: [PATCH] fix gettext --- src/common/i18n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/i18n.py b/src/common/i18n.py index 9c3c3bb03..4ad08e1f5 100644 --- a/src/common/i18n.py +++ b/src/common/i18n.py @@ -94,7 +94,7 @@ def ngettext(s_sing, s_plural, n, replace_sing = None, replace_plural = None): 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: