diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb index 1b8b2ccb229..b5b6d38f94f 100644 --- a/app/views/tags/show.html.erb +++ b/app/views/tags/show.html.erb @@ -6,12 +6,12 @@ <% if @tag.canonical || @tag.merger || can_wrangle? %>
@@ -24,12 +24,13 @@<%= ts("This tag belongs to the %{tag_class} Category.", :tag_class => @tag.class::NAME) %> <% if @tag.canonical %> + <%= t(".canonical_html", + canonical_tag_link: link_to(t(".canonical_tag"), archive_faq_path("glossary", anchor: "canonicaldef")), + filter_works_link: link_to(t(".filter_works"), tag_works_path(@tag)), + filter_bookmarks_link: link_to(t(".filter_bookmarks"), tag_bookmarks_path(@tag))) %> <% if @tag.is_a?(Fandom) %> <%= t(".list_fandom_tags_html", fandom_relationship_tags_link: link_to(t(".fandom_relationship_tags"), fandom_path(@tag.name))) %> <% end %> - <%= ts("It's a common tag. You can use it to ") %> - <%= link_to ts('filter works'), {:controller => :works, :action => :index, :tag_id => @tag} %> <%= ts('and to') %> - <%= link_to ts('filter bookmarks'), {:controller => :bookmarks, :action => :index, :tag_id => @tag} %>. <% end %>
diff --git a/config/locales/views/en.yml b/config/locales/views/en.yml index f74ce3491ab..758d397c049 100644 --- a/config/locales/views/en.yml +++ b/config/locales/views/en.yml @@ -734,8 +734,12 @@ en: random_in_collection: These are some random tags used in the collection. search_tags: try our tag search show: + canonical_html: It's a %{canonical_tag_link}. You can use it to %{filter_works_link} and to %{filter_bookmarks_link}. + canonical_tag: canonical tag fandom_relationship_tags: Relationship tags in this fandom - list_fandom_tags_html: A list of all the %{fandom_relationship_tags_link} is available. + filter_bookmarks: filter bookmarks + filter_works: filter works + list_fandom_tags_html: You can also access a list of %{fandom_relationship_tags_link}. time: formats: date_short_html: %a %d %b %Y