aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/web.py')
-rw-r--r--fatcat_scholar/web.py4
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