summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2024-08-06 15:25:19 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2024-08-07 10:10:28 -0300
commita05187fce613a70a5e5c93c978d36497a10fcf1f (patch)
treed6aaa8e5d1e3aef0aaf91ec55d1ca80e9d13e7aa
parentbdcf789553b5dff8a9f402e3b7041241fe8befab (diff)
Fixed i18n.tests.TranslationTests.test_plural to use correct French translation.
Forwardport of d5ad743e798fadc83663f016023cd124eadc366c from stable/5.1.x.
-rw-r--r--tests/i18n/tests.py2
1 files changed, 1 insertions, 1 deletions
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"