aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/partial
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-08-20 18:15:09 +0300
committerGravatar KillyMXI2017-08-20 18:15:09 +0300
commit8fa9a684c8a06bed7235f58f79af2d88da13fede (patch)
tree9fc35b94e23c90540e79272235b9900c6b9e3236 /juick-www/src/main/webapp/WEB-INF/views/partial
parent0bcb1e9529e6456db67a91eb2c699e26b5bbe42e (diff)
www: i18n
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html8
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html7
2 files changed, 9 insertions, 6 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html
index 1e43b92f..1333351b 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html
@@ -1,10 +1,10 @@
<form action="/post" method="post" enctype="multipart/form-data">
<section id="newmessage">
- <textarea name="body" placeholder="Новое сообщение..."></textarea>
+ <textarea name="body" placeholder="{{ i18n("messages","postForm.newMessage") }}"></textarea>
<div>
- <input type="text" class="img" name="img" placeholder="Ссылка на изображение (JPG/PNG, до 10Мб)"/> или <a href="#">загрузить</a><br/>
- <input type="text" class="tags" name="tags" placeholder="Теги (через пробел)"/><br/>
- <input type="submit" class="subm" value="Отправить"/>
+ <input type="text" class="img" name="img" placeholder="{{ i18n("messages","postForm.imageLink") }} ({{ i18n("messages","postForm.imageFormats") }})"/> {{ i18n("messages","postForm.or") }} <a href="#">{{ i18n("messages","postForm.upload") }}</a><br/>
+ <input type="text" class="tags" name="tags" placeholder="{{ i18n("messages","postForm.tags") }}"/><br/>
+ <input type="submit" class="subm" value="{{ i18n("messages","postForm.submit") }}"/>
</div>
</section>
</form> \ No newline at end of file
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html
index af04e4fa..3ef9dd16 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/thread_list.html
@@ -35,12 +35,15 @@
{% endif %}
<div class="msg-links">/{{ msg.rid }}
{% if msg.replyto > 0 %}
- в ответ на <a href="#{{ msg.replyto }}">/{{ msg.replyto }}</a>
+ {{ i18n("messages","reply.inReplyTo") }} <a href="#{{ msg.replyto }}">/{{ msg.replyto }}</a>
{% endif %}
{% if msg.VisitorCanComment %}
- &middot; <a href="/post?body=%23{{ msg.mid }}/{{ msg.rid }}%20" class="a-thread-comment">Ответить</a>
+ &middot; <a href="/post?body=%23{{ msg.mid }}/{{ msg.rid }}%20" class="a-thread-comment">{{ i18n("messages","reply.reply") }}</a>
</div>
<div class="msg-comment" style="display: none;"></div>
+ {% elseif visitor.uid == 0 %}
+ &middot; <a href="#" class="a-login">{{ i18n("messages","reply.reply") }}</a>
+ </div>
{% else %}
</div>
{% endif %}