Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
searx-engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
searx-engine
Commits
59b13708
Commit
59b13708
authored
Jul 28, 2019
by
Marc Abonce Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] small fixes in preferences view's text
parent
204a2cbb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
answerer.py
searx/answerers/random/answerer.py
+1
-1
settings.yml
searx/settings.yml
+1
-1
webapp.py
searx/webapp.py
+0
-3
No files found.
searx/answerers/random/answerer.py
View file @
59b13708
...
...
@@ -70,4 +70,4 @@ def answer(query):
def
self_info
():
return
{
'name'
:
gettext
(
'Random value generator'
),
'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
]}
searx/settings.yml
View file @
59b13708
...
...
@@ -792,7 +792,7 @@ locales:
te
:
తెలుగు (telugu)
tr
:
Türkçe (Turkish)
uk
:
українська мова (Ukrainian)
vi
:
tiếng việt (
㗂越
)
vi
:
tiếng việt (
Vietnamese
)
zh
:
中文 (Chinese)
zh_TW
:
國語 (Taiwanese Mandarin)
...
...
searx/webapp.py
View file @
59b13708
...
...
@@ -166,9 +166,6 @@ def get_locale():
and
request
.
form
[
'locale'
]
in
settings
[
'locales'
]:
locale
=
request
.
form
[
'locale'
]
if
locale
==
'zh_TW'
:
locale
=
'zh_Hant_TW'
return
locale
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment