From 97ad9e9d9b66b7ef887c4378028fa574bcdab511 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Mon, 8 Oct 2018 17:34:17 +0200 Subject: [PATCH] UX: Prompt for custom invite message was hard to translate --- app/assets/javascripts/discourse/templates/modal/invite.hbs | 2 +- config/locales/client.en.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/invite.hbs b/app/assets/javascripts/discourse/templates/modal/invite.hbs index 360560204c..b35e904c29 100644 --- a/app/assets/javascripts/discourse/templates/modal/invite.hbs +++ b/app/assets/javascripts/discourse/templates/modal/invite.hbs @@ -33,7 +33,7 @@ {{/if}} {{#if showCustomMessage}} - + {{#if hasCustomMessage}}{{textarea value=customMessage placeholder=customMessagePlaceholder}}{{/if}} {{/if}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 22ed03c629..0b43bdf61c 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -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 custom message." 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!"