From a05187fce613a70a5e5c93c978d36497a10fcf1f Mon Sep 17 00:00:00 2001 From: Natalia <124304+nessita@users.noreply.github.com> Date: Tue, 6 Aug 2024 15:25:19 -0300 Subject: [PATCH] Fixed i18n.tests.TranslationTests.test_plural to use correct French translation. Forwardport of d5ad743e798fadc83663f016023cd124eadc366c from stable/5.1.x. --- tests/i18n/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index 8f8a33e5b0..a517a2d27d 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -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"