Skip to content
Myr

fix a typo in docs/templates.rst (#1881)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by GitHub · parents 058e059, 8a90b76 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/templates.rst+1 added-1 removed
1782 unmodified lines
1783It's possible to translate strings in expressions with these functions:17841785- ``_(message)``: Alias for ``gettext``.1786- ``gettext(message)``: Translate a message.1787- ``ngettext(singluar, plural, n)``: Translate a singular or plural1787- ``ngettext(singular, plural, n)``: Translate a singular or plural1788 message based on a count variable.1789- ``pgettext(context, message)``: Like ``gettext()``, but picks the1790 translation based on the context string.1791- ``npgettext(context, singular, plural, n)``: Like ``npgettext()``,
167 unmodified lines