A platform for community discussion. Free, open, simple.
DEV: Replace concatenated string (#20254)
Gerhard Schlager1d7e21a338d2
diff --git a/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs b/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbsindex 92c94ab971a..27fe8267c80 100644--- a/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs+++ b/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs@@ -356,10 +356,14 @@{{#unless this.emailInEnabled}}<section class="field email-in-disabled">- {{i18n "category.email_in_disabled"}}- <a href={{get-url "/admin/site_settings/category/email"}}>{{i18n- "category.email_in_disabled_click"- }}</a>+ {{html-safe+ (i18n+ "category.email_in_disabled"+ setting_url=(get-url+ "/admin/site_settings/category/all_results?filter=email_in"+ )+ )+ }}</section>{{/unless}}</section>diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex a029f1cab86..9cee2dd5e3d 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -3688,8 +3688,7 @@ en:email_in: "Custom incoming email address:"email_in_tooltip: "You can separate multiple email addresses with the | character."email_in_allow_strangers: "Accept emails from anonymous users with no accounts"- email_in_disabled: "Posting new topics via email is disabled in the Site Settings. To enable posting new topics via email, "- email_in_disabled_click: 'enable the "email in" setting.'+ email_in_disabled: "Posting new topics via email is disabled. To enable posting new topics via email, enable the <a href='%{setting_url}'>'email in'</a> setting."mailinglist_mirror: "Category mirrors a mailing list"show_subcategory_list: "Show subcategory list above topics in this category."read_only_banner: "Banner text when a user cannot create a topic in this category:"