From ba4118dcda6669b69f18dedd1a90d399557dd49d Mon Sep 17 00:00:00 2001 From: Lawrence Date: Tue, 22 Nov 2022 12:02:20 -0600 Subject: [PATCH] Update empty tag state verbiage (#18732) * Update empty tag state verbiage * add safe translation for the here link * forgot the _html --- app/views/dashboards/following_tags.html.erb | 2 +- config/locales/views/dashboard/en.yml | 2 +- config/locales/views/dashboard/fr.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/dashboards/following_tags.html.erb b/app/views/dashboards/following_tags.html.erb index c3c5c41da..75285eb30 100644 --- a/app/views/dashboards/following_tags.html.erb +++ b/app/views/dashboards/following_tags.html.erb @@ -50,7 +50,7 @@ <% end %> <% else %> -
<%= t("views.dashboard.following_tags.empty") %>
+
<%= t("views.dashboard.following_tags.empty_html", link: tags_path) %>
<% end %> <%= render "sublist" %> diff --git a/config/locales/views/dashboard/en.yml b/config/locales/views/dashboard/en.yml index 57e109c9b..99b4b8551 100644 --- a/config/locales/views/dashboard/en.yml +++ b/config/locales/views/dashboard/en.yml @@ -111,7 +111,7 @@ en: title: This tag has negative follow weight text: Anti-follow default: Default 1.0 - empty: You don't follow any tags yet... + empty_html: "Follow tags to personalize your feed. You can explore popular tags here." number: aria_label: "%{name} tag weight" update: Update Weights diff --git a/config/locales/views/dashboard/fr.yml b/config/locales/views/dashboard/fr.yml index d47768bff..c771b8ff0 100644 --- a/config/locales/views/dashboard/fr.yml +++ b/config/locales/views/dashboard/fr.yml @@ -111,7 +111,7 @@ fr: title: This tag has negative follow weight text: Anti-follow default: Default 1.0 - empty: You don't follow any tags yet... + empty_html: "Follow tags to personalize your feed. You can explore popular tags here." number: aria_label: "%{name} tag weight" update: Update Weights