mirror of https://github.com/searxng/searxng.git
Compare commits
No commits in common. "2ca62fec33e274fba7e11379ae4db9156741cc41" and "b3708e4137cf66c7f2966e811c2fae907c28089a" have entirely different histories.
2ca62fec33
...
b3708e4137
|
@ -81,7 +81,6 @@ engine_shortcuts = {}
|
|||
|
||||
engine_shortcuts[engine.shortcut] = engine.name
|
||||
|
||||
:meta hide-value:
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
@ -25,10 +25,7 @@ _flask_babel_get_translations = flask_babel.get_translations
|
|||
|
||||
LOCALE_NAMES = {}
|
||||
"""Mapping of locales and their description. Locales e.g. 'fr' or 'pt-BR' (see
|
||||
:py:obj:`locales_initialize`).
|
||||
|
||||
:meta hide-value:
|
||||
"""
|
||||
:py:obj:`locales_initialize`)."""
|
||||
|
||||
RTL_LOCALES: Set[str] = set()
|
||||
"""List of *Right-To-Left* locales e.g. 'he' or 'fa-IR' (see
|
||||
|
@ -162,7 +159,7 @@ def get_engine_locale(searxng_locale, engine_locales, default=None):
|
|||
``searxng_locale``.
|
||||
|
||||
Argument ``engine_locales`` is a python dict that maps *SearXNG locales* to
|
||||
corresponding *engine locales*::
|
||||
corresponding *engine locales*:
|
||||
|
||||
<engine>: {
|
||||
# SearXNG string : engine-string
|
||||
|
|
Loading…
Reference in New Issue