Make strings translatable in options/social/chat-box

This commit is contained in:
ksami
2015-10-23 23:20:59 +08:00
parent bcc522f08d
commit b3cc58886c
2 changed files with 6 additions and 3 deletions

View File

@@ -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."
}

View File

@@ -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')
|&nbsp;
a(target='_blank', href='/static/community-guidelines')=env.t('communityGuidelines')
|&nbsp;and then click the button below to indicate that you accept them.
|&nbsp;
=env.t('requestAcceptGuidelines2')
.chat-controls
div
button.btn.btn-warning(ng-click='acceptCommunityGuidelines()')=env.t('iAcceptCommunityGuidelines')