X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..657ed03d8b2e262bc965cc38e8af190624c3295b:/app/views/browse/not_found.html.erb?ds=inline diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index 743ab0c8e..3c4e8a4c8 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,8 +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'), - }; -%> -

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

+

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