Update empty tag state verbiage (#18732)

* Update empty tag state verbiage

* add safe translation for the here link

* forgot the _html
This commit is contained in:
Lawrence 2022-11-22 12:02:20 -06:00 committed by GitHub
parent 271c596a76
commit ba4118dcda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@
<button type="submit" class="crayons-btn crayons-btn--m mb-3" name="commit"><%= t("views.dashboard.following_tags.update") %></button>
<% end %>
<% else %>
<div class="p-9 crayons-card crayons-card--secondary align-center fs-l h-100 flex items-center justify-center"><%= t("views.dashboard.following_tags.empty") %></div>
<div class="p-9 crayons-card crayons-card--secondary align-center fs-l h-100 flex items-center justify-center"><%= t("views.dashboard.following_tags.empty_html", link: tags_path) %></div>
<% end %>
<%= render "sublist" %>
</div>

View file

@ -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: "<span>Follow tags to personalize your feed. You can explore popular tags <a href=%{link}>here</a></span>."
number:
aria_label: "%{name} tag weight"
update: Update Weights

View file

@ -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: "<span>Follow tags to personalize your feed. You can explore popular tags <a href=%{link}>here</a></span>."
number:
aria_label: "%{name} tag weight"
update: Update Weights