1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[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
This commit is contained in:
Alexandre Flament 2021-08-04 09:50:34 +02:00
parent 809bf1a105
commit 0d20e5dfe3

View File

@ -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'