From 49c231c9933dd1a7446ea03d2785c8cb1e670b30 Mon Sep 17 00:00:00 2001 From: Andrei Prigorshnev Date: Tue, 8 Jun 2021 20:14:34 +0400 Subject: [PATCH] UX: add a hint that tags can be included in tag groups (#13326) --- .../javascripts/discourse/app/templates/components/tag-info.hbs | 2 +- config/locales/client.en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/components/tag-info.hbs b/app/assets/javascripts/discourse/app/templates/components/tag-info.hbs index efa16be7a73..7862457f4b3 100644 --- a/app/assets/javascripts/discourse/app/templates/components/tag-info.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/tag-info.hbs @@ -28,7 +28,7 @@ {{#if tagInfo.category_restricted}} {{i18n "tagging.category_restricted"}} {{else}} - {{i18n "tagging.default_info"}} + {{html-safe (i18n "tagging.default_info" basePath=(base-path))}} {{/if}} {{/if}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 96285216554..bb78a811e5d 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -3634,7 +3634,7 @@ en: tags: "Tags" choose_for_topic: "optional tags" info: "Info" - default_info: "This tag isn't restricted to any categories, and has no synonyms." + default_info: "This tag isn't restricted to any categories, and has no synonyms. To add restrictions, put this tag in a tag group." category_restricted: "This tag is restricted to categories you don't have permission to access." synonyms: "Synonyms" synonyms_description: "When the following tags are used, they will be replaced with %{base_tag_name}."