From: Meng Xiangzhuo Date: Tue, 29 Aug 2023 05:19:59 +0000 (+0800) Subject: fix a typo in docs/templates.rst X-Git-Tag: 3.1.5~29^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1881%2Fhead;p=thirdparty%2Fjinja.git fix a typo in docs/templates.rst --- diff --git a/docs/templates.rst b/docs/templates.rst index 2cb1d7a4..aff7e172 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -1784,7 +1784,7 @@ It's possible to translate strings in expressions with these functions: - ``_(message)``: Alias for ``gettext``. - ``gettext(message)``: Translate a message. -- ``ngettext(singluar, plural, n)``: Translate a singular or plural +- ``ngettext(singular, plural, n)``: Translate a singular or plural message based on a count variable. - ``pgettext(context, message)``: Like ``gettext()``, but picks the translation based on the context string.