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:
MacRimi
2026-10-22 00:09:54 +02:00
parent c0046cb24f
commit 203496f14f
16 changed files with 3047 additions and 1409 deletions
+3
View File
@@ -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)