mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-20 15:43:43 +08:00
dragonpilot beta3
date: 2023-08-22T14:21:17 commit: 6148ce3d77530281f890970718e9c42b2acc5ff1
This commit is contained in:
@@ -88,7 +88,7 @@ class TestTranslations(unittest.TestCase):
|
||||
continue
|
||||
|
||||
self.assertNotIn(None, numerusform, "Ensure all plural translation forms are completed.")
|
||||
self.assertTrue(all([re.search("%[0-9]+", t) is None for t in numerusform]),
|
||||
self.assertTrue(all(re.search("%[0-9]+", t) is None for t in numerusform),
|
||||
"Plural translations must use %n, not %1, %2, etc.: {}".format(numerusform))
|
||||
|
||||
def test_no_locations(self):
|
||||
|
||||
Reference in New Issue
Block a user