Add translation capability
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
vim: ts=2 noexpandtab
|
||||
-->
|
||||
{% extends "index.html" %}
|
||||
{% block title %}{{ super() }} - Search{% endblock%}
|
||||
{% block title %}{{ super() }} - {{ _("Search") }}{% endblock%}
|
||||
{% set active_page = "search" %}
|
||||
{% block content %}
|
||||
<link href="{{ url_for("static", filename="css/search.css") }}" rel="stylesheet">
|
||||
@ -12,11 +12,11 @@ vim: ts=2 noexpandtab
|
||||
<form action="search" >
|
||||
<div class="form-group">
|
||||
<div class="input-group search-box">
|
||||
<input type="text" name="q" class="form-control" placeholder="Seach for…" aria-describedby="basic-addon2">
|
||||
<input type="text" name="q" class="form-control" placeholder="{{ _("Seach for…") }}" aria-describedby="basic-addon2">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default" type="submit">
|
||||
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
|
||||
{{ getLocalString(language, "search") }}!
|
||||
{{ _("Search!") }}
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user