[fix] small fixes in preferences view's text
commit59b1370824f7947a4450f540476d4a06d9abb58d
authorMarc Abonce Seguin <marc-abonce@mailbox.org>
dateSat 27 Jul 2019, 22:53 (7 years ago)
parent204a2cb
searx/answerers/random/answerer.py+1−1
@@ -70,4 +70,4 @@ def answer(query):
7070def self_info():
7171 return {'name': gettext('Random value generator'),
7272 'description': gettext('Generate different random values'),
73− 'examples': [u'random {}'.format(x) for x in random_types]}
73+ 'examples': [u'random {}'.format(x.decode('utf-8')) for x in random_types]}
searx/settings.yml+1−1
@@ -792,7 +792,7 @@ locales:
792792 te : తెలుగు (telugu)
793793 tr : Türkçe (Turkish)
794794 uk : українська мова (Ukrainian)
795− vi : tiếng việt (㗂越)
795+ vi : tiếng việt (Vietnamese)
796796 zh : 中文 (Chinese)
797797 zh_TW : 國語 (Taiwanese Mandarin)
798798
searx/webapp.py−3
@@ -166,9 +166,6 @@ def get_locale():
166166 and request.form['locale'] in settings['locales']:
167167 locale = request.form['locale']
168168
169− if locale == 'zh_TW':
170− locale = 'zh_Hant_TW'
171−
172169 return locale
173170
174171