Add spanish translation

This commit is contained in:
Yohann D'ANELLO
2020-12-07 01:01:39 +01:00
parent 6fa11d9dfe
commit fdc2bcab8d
8 changed files with 218 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ class Translator:
Translator.setlocale defines the language of the strings,
then gettext() translates the message.
"""
SUPPORTED_LOCALES: List[str] = ["de", "en", "fr"]
SUPPORTED_LOCALES: List[str] = ["de", "en", "es", "fr"]
locale: str = "en"
translators: dict = {}
@@ -67,7 +67,7 @@ class Translator:
"--package-name=squirrelbattle",
"--package-version=3.14.1",
"--copyright-holder=ÿnérant, eichhornchen, "
"nicomarg, charlse",
"nicomarg, charlse, ifugao",
"--msgid-bugs-address=squirrel-battle@crans.org",
"--sort-by-file",
"-o", file_name]