X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e2cb38cd6e3a604f62937a8c76a73577d385fa1d..ae7f3f2786c2106528b98be8215d47c93785b1c2:/app/views/browse/not_found.rhtml?ds=sidebyside diff --git a/app/views/browse/not_found.rhtml b/app/views/browse/not_found.rhtml index 82a81afa5..743ab0c8e 100644 --- a/app/views/browse/not_found.rhtml +++ b/app/views/browse/not_found.rhtml @@ -1 +1,8 @@ -

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

+<% + 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] %>