diff options
Diffstat (limited to 'ipalib/text.py')
-rw-r--r-- | ipalib/text.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/text.py b/ipalib/text.py index 060a6ddf5..a910cc5fb 100644 --- a/ipalib/text.py +++ b/ipalib/text.py @@ -488,10 +488,11 @@ class NGettextFactory(GettextFactory): *domain* (likely needed for 3rd-party plugins). """ - def __call__(self, singular, plural, count=0): + def __call__(self, singular, plural, count): return NGettext(singular, plural, self.domain, self.localedir) # Process wide factories: _ = GettextFactory() ngettext = NGettextFactory() +ugettext = _ |