diff --git a/app/views/tag/show/_tab_content.html.erb b/app/views/tag/show/_tab_content.html.erb index 2a3cdccdbb..736fdd1ef3 100644 --- a/app/views/tag/show/_tab_content.html.erb +++ b/app/views/tag/show/_tab_content.html.erb @@ -47,7 +47,7 @@ <% if @node_type == "maps" %>
Sorry, no map is tagged with `<%= params[:id] %>` tag. You can view other maps here.
+<%= raw t('tag.show.no_map_results_found', :tag => params[:id]) %>. You can view other maps here.
<% else %> <%= render :partial => "map/maps" %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index d9d46cec5c..eaffd0d082 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -390,6 +390,7 @@ en: maps: "Maps" no_results_found: "No results found; try searching for '%{tag}'" try_advanced_search: "Or try an advanced search" + no_map_results_found: "Sorry, no map is tagged with %{tag}" contributors: "Contributors" contributors-index: contributors_over_last_week: "Contributors for %{tag_name}