diff options
author | Alexandre Flament <alex@al-f.net> | 2021-08-04 09:50:34 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-08-04 09:50:34 +0200 |
commit | 0d20e5dfe39b371b550b888db9e6cd7a664bddbb (patch) | |
tree | 3f91702b8aa26f4974a0ec8f6a23a52c62f491e8 /searx/locales.py | |
parent | 809bf1a1056584e96b6c05bfe1aa55a9a0e11d4d (diff) | |
download | searxng-0d20e5dfe39b371b550b888db9e6cd7a664bddbb.tar.gz searxng-0d20e5dfe39b371b550b888db9e6cd7a664bddbb.zip |
[mod] searx/locales.py: language names based on Unicode CLDR
rename "oc" to "Occitan":
* https://github.com/unicode-org/cldr/blob/35.1/seed/main/oc.xml#L115
* https://oc.wikipedia.org/wiki/Occitan
see https://github.com/searxng/searxng/pull/247#issuecomment-892382001
Diffstat (limited to 'searx/locales.py')
-rw-r--r-- | searx/locales.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/locales.py b/searx/locales.py index 4dfb2b668..80defceb7 100644 --- a/searx/locales.py +++ b/searx/locales.py @@ -11,9 +11,7 @@ import pathlib from babel import Locale LOCALE_NAMES = { - "ar": "العَرَبِيَّة (Arabic)", - "fil": "Wikang Filipino (Filipino)", - "oc": "Lenga D'òc (Occitan)", + "oc": "Occitan", "nl_BE": "Vlaams (Dutch, Belgium)", } """Mapping of locales and their description. Locales e.g. 'fr' or 'pt_BR' |