Add Italian translations (thanks @mdaleo404)
All checks were successful
CI / test (push) Successful in 2m27s
Lint / test (push) Successful in 15s
Trivy / test (push) Successful in 20s

This commit is contained in:
Miguel Jacq 2025-11-14 11:41:55 +11:00
parent 0773084ec5
commit 07c8e31c66
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
3 changed files with 125 additions and 0 deletions

View file

@ -5,3 +5,13 @@ def test_load_strings_uses_system_locale_and_fallback():
# pass a bogus locale to trigger fallback-to-default
strings.load_strings("zz")
assert strings._("next") # key exists in base translations
def test_load_strings_french():
strings.load_strings("fr")
assert strings._("today") == "Aujourd'hui" # translation exists in French
def test_load_strings_italian():
strings.load_strings("it")
assert strings._("today") == "Oggi" # translation exists in Italian