From: Tom Hughes Date: Sun, 8 Dec 2013 11:02:43 +0000 (+0000) Subject: Fix untranslatable string X-Git-Tag: live~4508 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4395ed6117c6f602a883455b012186368028e3c1 Fix untranslatable string --- diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index ede9e14c5..054ffbd79 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -25,7 +25,7 @@ <% if @type == "node" %>
- Location: + <%= t 'browse.location' %> <%= link_to(content_tag(:span, number_with_delimiter(common_details.lat), :class => "latitude") + ", " + content_tag(:span, number_with_delimiter(common_details.lon), :class => "longitude"), {:controller => 'site', :action => 'index', :lat => h(common_details.lat), :lon => h(common_details.lon), :zoom => "18"}) %>
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 46f88d19b..034e25e2b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -111,6 +111,7 @@ en: download_xml: "Download XML" view_history: "View History" view_details: "View Details" + location: "Location:" changeset: title: "Changeset: %{id}" belongs_to: "Author"