aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-25 23:57:15 +0300
committerGravatar Vitaly Takmazov2017-10-25 23:57:15 +0300
commit74c3d8ab382f879fd0cae4158893ae40bc0e1009 (patch)
treead2b95214a9cc86272470784aa3c373737512975
parentb2ce016fa7a5462fa57bf670a01fb77596a3ab43 (diff)
www: i18n 'share'
-rw-r--r--juick-www/src/main/resources/messages.properties1
-rw-r--r--juick-www/src/main/resources/messages_ru.properties1
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/message.html4
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/thread.html2
4 files changed, 5 insertions, 3 deletions
diff --git a/juick-www/src/main/resources/messages.properties b/juick-www/src/main/resources/messages.properties
index d5421774..5911e3b4 100644
--- a/juick-www/src/main/resources/messages.properties
+++ b/juick-www/src/main/resources/messages.properties
@@ -39,6 +39,7 @@ message.recommend=Recommend
message.recommendedBy=Recommended by
message.comment=Comment
message.writeComment=Write a comment...
+message.share=Share
message.subscribe=Subscribe
message.subscribed=Subscribed
message.delete=Delete
diff --git a/juick-www/src/main/resources/messages_ru.properties b/juick-www/src/main/resources/messages_ru.properties
index 3de7ff92..105b3505 100644
--- a/juick-www/src/main/resources/messages_ru.properties
+++ b/juick-www/src/main/resources/messages_ru.properties
@@ -39,6 +39,7 @@ message.recommend=Рекомендовать
message.recommendedBy=Рекомендовали
message.comment=Комментировать
message.writeComment=Написать комментарий...
+message.share=Поделиться
message.subscribe=Подписаться
message.subscribed=Подписан
message.delete=Удалить
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
index 9ef70f3b..5950ac7d 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
@@ -47,7 +47,7 @@
{% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %}
</a>
<a href="#" class="msg-menu">
- <i data-icon="ei-link" data-size="s"></i>&nbsp;Share
+ <i data-icon="ei-link" data-size="s"></i>&nbsp;{{ i18n("messages","message.share") }}
</a>
{% elseif visitor.uid == 0 and not msg.ReadOnly %}
<a href="/login" class="a-login">
@@ -55,7 +55,7 @@
{% if msg.Replies > 0 %}&nbsp;({{ msg.Replies }}){% endif %}
</a>
<a href="#" class="msg-menu">
- <i data-icon="ei-link" data-size="s"></i>&nbsp;Share
+ <i data-icon="ei-link" data-size="s"></i>&nbsp;{{ i18n("messages","message.share") }}
</a>
{% endif %}
{% if msg.FriendsOnly %}
diff --git a/juick-www/src/main/webapp/WEB-INF/views/thread.html b/juick-www/src/main/webapp/WEB-INF/views/thread.html
index 1202b620..747d7959 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/thread.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html
@@ -48,7 +48,7 @@
{% if msg.Likes > 0 %}&nbsp;({{ msg.Likes }}){% endif %}
</a>
{% endif %}
- <a href="#" class="msg-menu"><i data-icon="ei-link" data-size="s"></i>&nbsp;Share</a>
+ <a href="#" class="msg-menu"><i data-icon="ei-link" data-size="s"></i>&nbsp;{{ i18n("messages","message.share") }}</a>
{% if visitor.uid > 0 %}
{% if visitor.uid != msg.user.uid %}
{% if visitorSubscribed %}