1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #29986 -- Added .format() support to ngettext_lazy strings.

This commit is contained in:
Patrick Arminio
2018-11-25 21:50:34 +00:00
committed by Tim Graham
parent 53269bcaaf
commit ae180fa4b7
4 changed files with 80 additions and 11 deletions

View File

@@ -107,4 +107,30 @@ msgstr "Es gibt %(num_comments)s Kommentare"
#: models.py:23
msgctxt "other comment count"
msgid "There are %(num_comments)s comments"
msgstr "Andere: Es gibt %(num_comments)s Kommentare"
msgstr "Andere: Es gibt %(num_comments)s Kommentare"
#: tests.py:213
msgid "{} good result"
msgid_plural "{} good results"
msgstr[0] "{} gutes Resultat"
msgstr[1] "{} guten Resultate"
#: tests.py:214
msgctxt "Exclamation"
msgid "{} good result"
msgid_plural "{} good results"
msgstr[0] "{} gutes Resultat!"
msgstr[1] "{} guten Resultate!"
#: tests.py:226
msgid "Hi {name}, {num} good result"
msgid_plural "Hi {name}, {num} good results"
msgstr[0] "Hallo {name}, {num} gutes Resultat"
msgstr[1] "Hallo {name}, {num} guten Resultate"
#: tests.py:230
msgctxt "Greeting"
msgid "Hi {name}, {num} good result"
msgid_plural "Hi {name}, {num} good results"
msgstr[0] "Willkommen {name}, {num} gutes Resultat"
msgstr[1] "Willkommen {name}, {num} guten Resultate"