diff --git a/app/views/list/list.erb b/app/views/list/list.erb index f673ed2bbc7..21697dd1e65 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -126,7 +126,8 @@ <% end %> <% end %> - +<% else %> + <%= t(:crawler_content_hidden) %> <%- end %> <% if @rss %> diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index 5cc3387360f..d197fd33f8e 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -139,7 +139,9 @@ <% end %> - <%= build_plugin_html 'server:topic-show-after-posts-crawler' %> + <%= build_plugin_html 'server:topic-show-after-posts-crawler' %> + <% else %> + <%= t(:crawler_content_hidden) %> <% end %> <% content_for :head do %> diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 5b9f189500f..87f670f4918 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -481,6 +481,7 @@ en: next_page: "next page →" prev_page: "← previous page" page_num: "Page %{num}" + crawler_content_hidden: "HTML content omitted because you are logged in or using a modern mobile device." home_title: "Home" topics_in_category: "Topics in the '%{category}' category" rss_posts_in_topic: "RSS feed of '%{topic}'"