X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e0e849c91c66232c986a54da4a848d77f29bcb5b..49da87fb6d2a9fe8c033a41cd935ee34a8767293:/app/views/browse/timeout.html.erb diff --git a/app/views/browse/timeout.html.erb b/app/views/browse/timeout.html.erb index 8b5076902..a9f53db15 100644 --- a/app/views/browse/timeout.html.erb +++ b/app/views/browse/timeout.html.erb @@ -1,9 +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] %> +