X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e0b175d3bd3ef655a20273dc2b7f04a8a34bb5f6..25c2feaec91aad00999afff804a11b4ab84402b8:/app/views/browse/timeout.html.erb diff --git a/app/views/browse/timeout.html.erb b/app/views/browse/timeout.html.erb index de102e60f..e6dd7b68d 100644 --- a/app/views/browse/timeout.html.erb +++ b/app/views/browse/timeout.html.erb @@ -1,12 +1,4 @@ -<% - browse_timeout_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_timeout_type[@type] , :id => params[:id] %> + <%= t '.sorry', :type => t(".type.#{@type}"), :id => params[:id] %>