UX: Prompt for custom invite message was hard to translate

This commit is contained in:
Gerhard Schlager 2018-10-08 17:34:17 +02:00
parent eb3ed7f6fd
commit 97ad9e9d9b
2 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@
{{/if}}
{{#if showCustomMessage}}
<label><span class='optional'>{{i18n 'invite.custom_message'}}</span> <a {{action "showCustomMessageBox"}}>{{i18n 'invite.custom_message_link'}}</a>.</label>
<label>{{discourse-linked-text class="optional" action="showCustomMessageBox" text="invite.custom_message"}}</label>
{{#if hasCustomMessage}}{{textarea value=customMessage placeholder=customMessagePlaceholder}}{{/if}}
{{/if}}

View File

@ -2757,8 +2757,7 @@ en:
search: "There are no more search results."
invite:
custom_message: "Make your invite a little bit more personal by writing a"
custom_message_link: "custom message"
custom_message: "Make your invite a little bit more personal by writing a <a href>custom message</a>."
custom_message_placeholder: "Enter your custom message"
custom_message_template_forum: "Hey, you should join this forum!"
custom_message_template_topic: "Hey, I thought you might enjoy this topic!"