fix a typo in docs/templates.rst

This commit is contained in:
Meng Xiangzhuo 2023-08-29 13:19:59 +08:00 committed by David Lord
parent 058e059662
commit 8a90b760a8
No known key found for this signature in database
GPG Key ID: 43368A7AA8CC5926

View File

@ -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.