aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-04 14:31:51 +0300
committerGravatar Vitaly Takmazov2017-05-05 12:07:51 +0300
commit59d40ee85493beb04aaf4b861afc7c9f4d9e10a8 (patch)
treedb735a1456e4fac0d24422c0b311f01db3c3a68a /juick-www/src
parent3ec1ccf563008338197dc3e306551ef1f8e8362e (diff)
juick-www: i18n
Diffstat (limited to 'juick-www/src')
-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">