Skip to content

Commit

Permalink
Add to config/locales file (publiclab#5659)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashadev-sky authored and digitaldina committed May 12, 2019
1 parent ebb0346 commit 269b87a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tag/show/_tab_content.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<% if @node_type == "maps" %>
<div class="tab-pane active" id="wikis">
<% if @nodes.empty? %>
<p><strong>Sorry, no map is tagged with `<%= params[:id] %>` tag. You can view other maps <a href="/maps">here</a>.</strong></p>
<p><%= raw t('tag.show.no_map_results_found', :tag => params[:id]) %>. You can view other maps <a href="/maps">here</a>.</p>
<% else %>
<%= render :partial => "map/maps" %>
<% end %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ en:
maps: "Maps"
no_results_found: "No results found; try searching for '<b>%{tag}</b>'"
try_advanced_search: "Or try an <a href='%{url1}'>advanced search</a>"
no_map_results_found: "Sorry, no map is tagged with <i>%{tag}</i>"
contributors: "Contributors"
contributors-index:
contributors_over_last_week: "Contributors for <i style=\"color:#aaa;\">%{tag_name}</i>
Expand Down

0 comments on commit 269b87a

Please sign in to comment.