mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 16:29:17 +02:00
[fix] category name i18n - closes #221
This commit is contained in:
parent
f8a5f7d675
commit
e43f61069a
2 changed files with 10 additions and 2 deletions
|
@ -97,6 +97,16 @@ for indice, theme in enumerate(themes):
|
|||
|
||||
cookie_max_age = 60 * 60 * 24 * 365 * 5 # 5 years
|
||||
|
||||
_category_names = (gettext('files'),
|
||||
gettext('general'),
|
||||
gettext('music'),
|
||||
gettext('social media'),
|
||||
gettext('images'),
|
||||
gettext('videos'),
|
||||
gettext('it'),
|
||||
gettext('news'),
|
||||
gettext('map'))
|
||||
|
||||
|
||||
@babel.localeselector
|
||||
def get_locale():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue