aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/index.html8
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html3
2 files changed, 6 insertions, 5 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html
index a17a15e7..6b9eb78f 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/index.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/index.html
@@ -39,14 +39,14 @@
{% if not readonly %}
<nav class="l">
{% if visitor.uid > 0 %}
- <a href="/post?body=!+%23{{ msg.getMid() }}" class="a-like">Рекомендовать</a>
+ <a href="/post?body=!+%23{{ msg.getMid() }}" class="a-like">{{ i18n("messages","message.recommend") }}</a>
{% else %}
- <a href="/login" class="a-login">Рекомендовать</a>
+ <a href="/login" class="a-login">{{ i18n("messages","message.recommend") }}</a>
{% endif %}
{% if visitor.uid > 0 and (not msg.ReadOnly or visitor.uid == msg.user.uid) %}
- <a href="/{{ msg.getMid() }}" class="a-comment">Комментировать</a>
+ <a href="/{{ msg.getMid() }}" class="a-comment">{{ i18n("messages","message.comment") }}</a>
{% elseif visitor.uid == 0 and not msg.ReadOnly %}
- <a href="/login" class="a-login">Комментировать</a>
+ <a href="/login" class="a-login">{{ i18n("messages","message.comment") }}</a>
{% endif %}
{% if msg.FriendsOnly %}
<a href="#" class="a-privacy">Открыть доступ</a>
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
index 998aa422..2abbfcab 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html
@@ -9,7 +9,8 @@
</nav>
<div id="search">
<form action="/">
- <input type="text" name="search" class="text" placeholder="Поиск" value="{{ search | default('') }}"/>
+ <input type="text" name="search" class="text"
+ placeholder="{{ i18n('messages','label.search') }}" value="{{ search | default('') }}"/>
</form>
</div>
<section id="headdiv">