diff --git a/tests/view_tests/templates/jsi18n.html b/tests/view_tests/templates/jsi18n.html index 90f225dd27..a286a959bf 100644 --- a/tests/view_tests/templates/jsi18n.html +++ b/tests/view_tests/templates/jsi18n.html @@ -43,10 +43,17 @@

+

+ + +

+

diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py index d94ad7956d..b9b0a11b32 100644 --- a/tests/view_tests/tests/test_i18n.py +++ b/tests/view_tests/tests/test_i18n.py @@ -548,8 +548,10 @@ class I18nSeleniumTests(SeleniumTestCase): self.assertEqual(elem.text, "455 Elemente") elem = self.selenium.find_element(By.ID, "ngettext_onnonplural") self.assertEqual(elem.text, "Bild") + elem = self.selenium.find_element(By.ID, "ngettext_empty_array") + self.assertEqual(elem.text, "1 element") elem = self.selenium.find_element(By.ID, "ngettext_plural_empty_array") - self.assertEqual(elem.text, "455 element") + self.assertEqual(elem.text, "455 elements") elem = self.selenium.find_element(By.ID, "pgettext") self.assertEqual(elem.text, "Kann") elem = self.selenium.find_element(By.ID, "npgettext_sing")