Skip to content

Commit

Permalink
Fix typo in templates docs
Browse files Browse the repository at this point in the history
This fixes a minor typo in the parameters to ngettext in the templates docs
  • Loading branch information
kkirsche authored Oct 23, 2024
1 parent eb0df04 commit 7379bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,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.
Expand Down

0 comments on commit 7379bf6

Please sign in to comment.