- <%= link_to("next page →".html_safe, @topic_view.next_page_path ) %> + <%= link_to(t('next_page').html_safe, @topic_view.next_page_path ) %>
<% end %> -Powered by Discourse, best viewed with JavaScript enabled
+<%= t 'powered_by' %>
<% content_for :head do %> - <%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss}, title: "RSS feed of '#{@topic_view.title}'", type: 'application/rss+xml') %> + <%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss}, title: t('rss_feed', topic: @topic_view.title), type: 'application/rss+xml') %> <% end %> diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index ea24c5f611b..9c24333242f 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -2,6 +2,7 @@ en: title: "Discourse" topics: "Topics" loading: "Loading" + powered_by: 'Powered by Discourse, best viewed with JavaScript enabled' via: "%{username} via %{site_name}" is_reserved: "is reserved" @@ -12,6 +13,9 @@ en: has_already_been_used: "has already been used" invalid_characters: "contains invalid characters" is_invalid: "is invalid; try to be a little more descriptive" + next_page: "next page →" + by: "By" + rss_feed: "RSS feed of %{topic}" education: until_posts: