searx.locale: add Dhivehi language

This commit is contained in:
Alexandre FLAMENT 2022-11-04 16:49:43 +00:00
parent 20d951fc5c
commit d8dee21277
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ RTL_LOCALES: Set[str] = set()
:py:obj:`locales_initialize`).""" :py:obj:`locales_initialize`)."""
ADDITIONAL_TRANSLATIONS = { ADDITIONAL_TRANSLATIONS = {
"dv": "ދިވެހި (Dhivehi)",
"oc": "Occitan", "oc": "Occitan",
"szl": "Ślōnski (Silesian)", "szl": "Ślōnski (Silesian)",
"pap": "Papiamento", "pap": "Papiamento",
@ -43,6 +44,7 @@ ADDITIONAL_TRANSLATIONS = {
python-babel (see :py:obj:`locales_initialize`).""" python-babel (see :py:obj:`locales_initialize`)."""
LOCALE_BEST_MATCH = { LOCALE_BEST_MATCH = {
"dv": "si",
"oc": 'fr-FR', "oc": 'fr-FR',
"szl": "pl", "szl": "pl",
"nl-BE": "nl", "nl-BE": "nl",