aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/login.html13
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/footer.html10
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html20
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html6
4 files changed, 26 insertions, 23 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/login.html b/juick-www/src/main/webapp/WEB-INF/views/login.html
index 4d8709516..b534796a3 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/login.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/login.html
@@ -120,17 +120,20 @@
<div id="bottom1">juick.com &copy; 2008-2017 &nbsp; <a href="/help/ru/contacts" rel="nofollow">Контакты</a> &#183; <a href="/help/" rel="nofollow">Помощь</a></div>
<div id="signup">
- Зарегистрироваться:
+ {{ i18n("messages","label.register") }}:
<div id="facebook"><a href="/_fblogin" rel="nofollow">Facebook</a></div>
<div id="vk"><a href="/_vklogin" rel="nofollow">ВКонтакте</a></div>
<div id="xmpp"><a href="#" onclick="$('#xmppinfo').toggle(); return false">XMPP</a>
- <div id="xmppinfo">Отправьте <b>LOGIN</b> на <a href="xmpp:juick@juick.com?message;body=LOGIN">juick@juick.com</a></div>
+ <div id="xmppinfo">{{ i18n("messages","message.sendLoginToXmpp") }}</a></div>
</div>
</div>
-<div id="signin"><a href="#" onclick="$('#signinform').toggle(); $('#nickinput').focus(); return false">Уже зарегистрированы?</a>
+<div id="signin">
+ <a href="#" onclick="$('#signinform').toggle(); $('#nickinput').focus(); return false">
+ {{ i18n("messages","question.areRegistered") }}
+ </a>
<div id="signinform"><form action="/login" method="POST">
- <input class="txt" type="text" name="username" placeholder="Имя пользователя" id="nickinput"/>
- <input class="txt" type="password" name="password" placeholder="Пароль"/>
+ <input class="txt" type="text" name="username" placeholder='{{ i18n("messages","label.username") }}' id="nickinput"/>
+ <input class="txt" type="password" name="password" placeholder='{{ i18n("messages","label.password") }}'/>
<input class="submit" type="submit" value="OK"/>
</form></div>
</div>
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
index 19f22cbd3..71d675de1 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html
@@ -1,9 +1,9 @@
<div id="footer">
<div id="footer-right">
- <a href="/settings" rel="nofollow">Настройки</a> &#183;
- <a href="/help/ru/contacts" rel="nofollow">Контакты</a> &#183;
- <a href="/help/" rel="nofollow">Справка</a> &#183;
- <a href="/help/ru/adv" rel="nofollow">Реклама</a>
+ <a href="/settings" rel="nofollow">{{ i18n("messages","link.settings") }}</a> &#183;
+ <a href="/help/ru/contacts" rel="nofollow">{{ i18n("messages","link.contacts") }}</a> &#183;
+ <a href="/help/" rel="nofollow">{{ i18n("messages","link.help") }}</a> &#183;
+ <a href="/help/ru/adv" rel="nofollow">{{ i18n("messages","link.adv") }}</a>
</div>
<div id="footer-social">
<a href="https://twitter.com/Juick" rel="nofollow" class="ico32-twi">Twitter</a>
@@ -12,7 +12,7 @@
</div>
<div id="footer-left">juick.com &copy; 2008-2017
{% if links %}
- <br/>Спонсоры: {{ links }}
+ <br/>{{ i18n("messages","label.sponsors") }}: {{ links }}
{% endif %}
</div>
</div>
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 89115b87c..648777239 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
@@ -2,9 +2,9 @@
<div id="logo"><a href="/">Juick</a></div>
<nav id="global">
<ul>
- <li><a href="/">Популярные</a></li>
- <li><a href="/?show=all" rel="nofollow">Все сообщения</a></li>
- <li><a href="/?show=photos" rel="nofollow">Фотографии</a></li>
+ <li><a href="/">{{ i18n("messages","link.popular") }}</a></li>
+ <li><a href="/?show=all" rel="nofollow">{{ i18n("messages","link.allMessages") }}</a></li>
+ <li><a href="/?show=photos" rel="nofollow">{{ i18n("messages","link.withPhotos") }}</a></li>
</ul>
</nav>
<div id="search">
@@ -16,23 +16,23 @@
{% if visitor.getUID() > 0 %}
<nav id="user">
<ul>
- <li><a href="/?show=my">Моя лента</a></li>
- <li><a href="/pm/inbox">Приватные</a></li>
- <li><a href="/?show=discuss">Обсуждения</a></li>
- <li><a href="/?show=recommended">Рекомендации</a></li>
+ <li><a href="/?show=my">{{ i18n("messages","link.my") }}</a></li>
+ <li><a href="/pm/inbox">{{ i18n("messages","link.privateMessages") }}</a></li>
+ <li><a href="/?show=discuss">{{ i18n("messages","link.discuss") }}</a></li>
+ <li><a href="/?show=recommended">{{ i18n("messages","link.recommended") }}</a></li>
</ul>
</nav>
<nav id="actions">
<ul>
{% if not readonly %}
- <li><a href="/#post">Написать</a></li>
+ <li><a href="/#post">{{ i18n("messages","link.postMessage") }}</a></li>
{% endif %}
<li><a href="/{{ visitor.getName() }}">@{{ visitor.getName() }}</a></li>
- <li><a href="/logout">Выйти</a></li>
+ <li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li>
</ul>
</nav>
{% else %}
- <p>Чтобы добавлять сообщения и комментарии, <a href="/login" class="a-login">представьтесь</a>.
+ <p>{{ i18n("messages","link.loginForSending", "/login") }}</a>.
</p>
{% endif %}
</section>
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html b/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html
index d7901d5ee..35a5a98e1 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/settings_tabs.html
@@ -1,5 +1,5 @@
<div id="pagetabs"><ul>
- <li><a href="/settings">Main</a></li>
- <li><a href="/settings?page=password">Password</a></li>
- <li><a href="/settings?page=about">About</a></li>
+ <li><a href="/settings">{{ i18n("messages","link.settings.main") }}</a></li>
+ <li><a href="/settings?page=password">{{ i18n("messages","link.settings.password") }}</a></li>
+ <li><a href="/settings?page=about">{{ i18n("messages","link.settings.about") }}</a></li>
</ul></div> \ No newline at end of file