mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 11:47:28 +01:00
Enable German translation
This commit is contained in:
parent
dcfdf299e3
commit
8af2942097
@ -35,6 +35,7 @@ app.config["FLATPAGES_EXTENSION_CONFIG"] = MARKDOWN_EXTENSION_CONFIG
|
|||||||
app.config["BABEL_TRANSLATION_DIRECTORIES"] = "../translations"
|
app.config["BABEL_TRANSLATION_DIRECTORIES"] = "../translations"
|
||||||
app.config["LANGUAGES"] = {
|
app.config["LANGUAGES"] = {
|
||||||
"en": "English",
|
"en": "English",
|
||||||
|
"de": "Deutsch",
|
||||||
"fr": "Français",
|
"fr": "Français",
|
||||||
"id": "Bahasa Indonesia",
|
"id": "Bahasa Indonesia",
|
||||||
"ms": "Bahasa Melayu",
|
"ms": "Bahasa Melayu",
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
<form class="form-inline my-2 my-lg-0" method="GET" action="/packages/">
|
<form class="form-inline my-2 my-lg-0" method="GET" action="/packages/">
|
||||||
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
|
||||||
<input class="form-control" name="q" type="text"
|
<input class="form-control" name="q" type="text"
|
||||||
placeholder="{% if query_hint %}{{ _('Search %(type)s', type=query_hint | lower) }}{% else %}{{ _('Search all packages') }}{% endif %}
|
placeholder="{% if query_hint %}{{ _('Search %(type)s', type=query_hint | lower) }}{% else %}{{ _('Search all packages') }}{% endif %}"
|
||||||
value="{{ query or ''}}">
|
value="{{ query or ''}}">
|
||||||
<input class="btn btn-secondary my-2 my-sm-0 mr-sm-2" type="submit" value="{{ _('Search') }}" />
|
<input class="btn btn-secondary my-2 my-sm-0 mr-sm-2" type="submit" value="{{ _('Search') }}" />
|
||||||
<!-- <input class="btn btn-secondary my-2 my-sm-0"
|
<!-- <input class="btn btn-secondary my-2 my-sm-0"
|
||||||
|
Loading…
Reference in New Issue
Block a user