Laurent Monin
10d2992253
import _ -> import gettext as _
2024-04-22 10:42:49 +02:00
Laurent Monin
fada4f0a40
Import gettext-related methods, instead of monkeypatching builtins
2024-04-21 23:24:03 +02:00
Philipp Wolfer
83f6b6fc93
PICARD-2690: Move picard/const translations into separate message domain
...
This most prominently moves translations of dropdown lists for locales
and writing systems into a separate component, making it easier to
translate the main UI texts.
2023-08-24 17:36:42 +02:00
Laurent Monin
497aeae35b
Rework _try_locales(), introduce _try_encodings(), and add tests for them
2023-06-12 23:29:56 +02:00
Laurent Monin
386bbd683d
test_existing_locales(): assert the _() changed after setup
2023-06-11 16:56:37 +02:00
Philipp Wolfer
866ef71dce
Skip locale test if locales are not built, build locales in CI tests
2023-06-09 09:19:07 +02:00
Philipp Wolfer
79cbc53f4d
i18n: basic tests for working locales
2023-06-09 08:59:16 +02:00