From b3cc58886c8cb53f3330fec751d2f2ee339721fc Mon Sep 17 00:00:00 2001 From: ksami Date: Fri, 23 Oct 2015 23:20:59 +0800 Subject: [PATCH] Make strings translatable in options/social/chat-box --- common/locales/en/groups.json | 4 +++- website/views/options/social/chat-box.jade | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/locales/en/groups.json b/common/locales/en/groups.json index e78507b1b5..0c270ee83c 100644 --- a/common/locales/en/groups.json +++ b/common/locales/en/groups.json @@ -146,6 +146,8 @@ "partyEmpty": "You're the only one in your party. Invite your friends!", "partyChatEmpty": "Your party chat is empty! Type a message in the box above to start chatting.", "guildChatEmpty": "This guild's chat is empty! Type a message in the box above to start chatting.", - "possessiveParty": "<%= name %>'s Party" + "possessiveParty": "<%= name %>'s Party", + "requestAcceptGuidelines1": "If you would like to post messages in the Tavern or any party or guild chat, please first read our", + "requestAcceptGuidelines2": "and then click the button below to indicate that you accept them." } diff --git a/website/views/options/social/chat-box.jade b/website/views/options/social/chat-box.jade index 31aa3ac021..03c16a2748 100644 --- a/website/views/options/social/chat-box.jade +++ b/website/views/options/social/chat-box.jade @@ -1,8 +1,9 @@ div.chat-form.guidelines-not-accepted(ng-if='!user.flags.communityGuidelinesAccepted') - p If you would like to post messages in the Tavern or any party or guild chat, please first read our + p=env.t('requestAcceptGuidelines1') |  a(target='_blank', href='/static/community-guidelines')=env.t('communityGuidelines') - | and then click the button below to indicate that you accept them. + |  + =env.t('requestAcceptGuidelines2') .chat-controls div button.btn.btn-warning(ng-click='acceptCommunityGuidelines()')=env.t('iAcceptCommunityGuidelines')