[fix] doc of locales.get_engine_locale() / zh-classical is missleading

Wikipedia's zh-classical is not zh_Hant (see doc-string of engines.wikipedia).
Fixed the example in the doc-string of locales.get_engine_locale() to 'zh_TW'.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2023-04-17 08:40:44 +02:00
parent c0bc8634fd
commit 9b575a997b
2 changed files with 1 additions and 3 deletions

View file

@ -245,7 +245,7 @@ def get_engine_locale(searxng_locale, engine_locales, default=None):
..
'zh' : 'zh'
'zh_Hans' : 'zh'
'zh_Hant' : 'zh-classical'
'zh_Hant' : 'zh_TW'
}
.. hint::