mirror of
https://github.com/django/django.git
synced 2025-05-28 17:56:29 +00:00
[5.1.x] Fixed i18n.tests.TranslationTests.test_plural to use correct French translation.
This commit is contained in:
parent
380c6e6ddd
commit
d5ad743e79
@ -99,7 +99,7 @@ class TranslationTests(SimpleTestCase):
|
|||||||
)
|
)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
ngettext("%(num)d year", "%(num)d years", 2) % {"num": 2},
|
ngettext("%(num)d year", "%(num)d years", 2) % {"num": 2},
|
||||||
"2 années",
|
"2 ans",
|
||||||
)
|
)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
ngettext("%(size)d byte", "%(size)d bytes", 0) % {"size": 0}, "0 octet"
|
ngettext("%(size)d byte", "%(size)d bytes", 0) % {"size": 0}, "0 octet"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user