1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +00:00

Fixed i18n.tests.TranslationTests.test_plural to use correct French translation.

Forwardport of d5ad743e79 from stable/5.1.x.
This commit is contained in:
Natalia 2024-08-06 15:25:19 -03:00
parent bdcf789553
commit a05187fce6

View File

@ -99,7 +99,7 @@ class TranslationTests(SimpleTestCase):
)
self.assertEqual(
ngettext("%(num)d year", "%(num)d years", 2) % {"num": 2},
"2 années",
"2 ans",
)
self.assertEqual(
ngettext("%(size)d byte", "%(size)d bytes", 0) % {"size": 0}, "0 octet"