mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 19:02:31 +00:00
i18n: complete the other languages for the Slovak work
- Translate the new terminal and Monitor texts into es, de, fr, it, pt and sv - Replace the machine fills of those new keys with reviewed translations - Keep the complete terminal catalog check in CI - Keep Machine learning in English in Spanish - Fix the German Exit label - Make the fallback tests use a locale without the keys
This commit is contained in:
@@ -173,6 +173,9 @@ class ImmichAccelerationTests(unittest.TestCase):
|
||||
with patch.object(i18n, 'language', return_value='sk'), patch.object(i18n, '_cache', json.loads((ROOT.parent / 'lang/sk.json').read_text())):
|
||||
self.assertEqual(_service_kind(service), 'Strojové učenie')
|
||||
_, _, plan = self.plan(NOTHING, DEFAULT_MODE)
|
||||
# Spanish keeps the English name of the service.
|
||||
with patch.object(i18n, 'language', return_value='es'), patch.object(i18n, '_cache', json.loads((ROOT.parent / 'lang/es.json').read_text())):
|
||||
self.assertEqual(_service_kind(service), 'Machine learning')
|
||||
self.assertIn('machine_learning', plan)
|
||||
self.assertEqual(service, original)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user