X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7b384f03ab1d34fd3ebcc5ae3add25b3b5591e2e..7441f15b4fd59735ae00a16b47cfcf7eb99260a6:/app/views/browse/not_found.html.erb diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index f536ef9ff..3c4e8a4c8 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,9 +1,4 @@ -<% - browse_not_found_type = { - 'node' => I18n.t('browse.not_found.type.node'), - 'way' => I18n.t('browse.not_found.type.way'), - 'relation' => I18n.t('browse.not_found.type.relation'), - 'changeset' => I18n.t('browse.not_found.type.changeset'), - }; -%> -

<%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %>

+

+ + <%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %> +