X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..e39d227dd03f43985e38cd26ce6040772d571271:/app/views/browse/timeout.html.erb diff --git a/app/views/browse/timeout.html.erb b/app/views/browse/timeout.html.erb index a624bf0a6..a9f53db15 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('browse.timeout.type.node'), - 'way' => I18n.t('browse.timeout.type.way'), - 'relation' => I18n.t('browse.timeout.type.relation'), - 'changeset' => I18n.t('browse.timeout.type.changeset'), - }; -%>
- <%= t'browse.timeout.sorry', :type=> browse_timeout_type[@type] , :id => params[:id] %> + <%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>