X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bd001f1282b7a33a71c0565504e160dbe567d5d..50b2f4f656b82112fce4939da26a1afc6b140e89:/app/views/browse/not_found.html.erb?ds=sidebyside diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index 5fe22a68a..3c4e8a4c8 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,12 +1,4 @@ -<% - browse_not_found_type = { - 'node' => I18n.t('.type.node'), - 'way' => I18n.t('.type.way'), - 'relation' => I18n.t('.type.relation'), - 'changeset' => I18n.t('.type.changeset'), - }; -%> -

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

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