mirror of
https://github.com/searxng/searxng
synced 2024-11-18 15:26:25 +00:00
[fix] small fixes in preferences view's text
This commit is contained in:
parent
204a2cbbf0
commit
59b1370824
@ -70,4 +70,4 @@ def answer(query):
|
|||||||
def self_info():
|
def self_info():
|
||||||
return {'name': gettext('Random value generator'),
|
return {'name': gettext('Random value generator'),
|
||||||
'description': gettext('Generate different random values'),
|
'description': gettext('Generate different random values'),
|
||||||
'examples': [u'random {}'.format(x) for x in random_types]}
|
'examples': [u'random {}'.format(x.decode('utf-8')) for x in random_types]}
|
||||||
|
@ -792,7 +792,7 @@ locales:
|
|||||||
te : తెలుగు (telugu)
|
te : తెలుగు (telugu)
|
||||||
tr : Türkçe (Turkish)
|
tr : Türkçe (Turkish)
|
||||||
uk : українська мова (Ukrainian)
|
uk : українська мова (Ukrainian)
|
||||||
vi : tiếng việt (㗂越)
|
vi : tiếng việt (Vietnamese)
|
||||||
zh : 中文 (Chinese)
|
zh : 中文 (Chinese)
|
||||||
zh_TW : 國語 (Taiwanese Mandarin)
|
zh_TW : 國語 (Taiwanese Mandarin)
|
||||||
|
|
||||||
|
@ -166,9 +166,6 @@ def get_locale():
|
|||||||
and request.form['locale'] in settings['locales']:
|
and request.form['locale'] in settings['locales']:
|
||||||
locale = request.form['locale']
|
locale = request.form['locale']
|
||||||
|
|
||||||
if locale == 'zh_TW':
|
|
||||||
locale = 'zh_Hant_TW'
|
|
||||||
|
|
||||||
return locale
|
return locale
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user