diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-11-05 14:46:20 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-11-05 14:46:20 -0800 |
commit | 2b99551390d574d7518b67731c77937422c845f9 (patch) | |
tree | b51b9711a65c3fd538fccf997b9859d5fc69cce1 | |
parent | a103e9c545828e7d7b124aa20a5398127f700952 (diff) | |
download | fatcat-scholar-2b99551390d574d7518b67731c77937422c845f9.tar.gz fatcat-scholar-2b99551390d574d7518b67731c77937422c845f9.zip |
web: fix ngettext() i18n wrapper
-rw-r--r-- | fatcat_scholar/web.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py index 2e7359b..996d353 100644 --- a/fatcat_scholar/web.py +++ b/fatcat_scholar/web.py @@ -96,8 +96,8 @@ def locale_gettext(translations: Any) -> Any: def locale_ngettext(translations: Any) -> Any: - def ngt(s, n): # noqa: ANN001,ANN201 - return translations.ungettext(s) + def ngt(s, p, n): # noqa: ANN001,ANN201 + return translations.ungettext(s, p, n) return ngt |