X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bed9cd00ed166ce346da4b8a9b654ddf86e64e70..ae7f3f2786c2106528b98be8215d47c93785b1c2:/app/views/browse/not_found.rhtml diff --git a/app/views/browse/not_found.rhtml b/app/views/browse/not_found.rhtml index 1322a0a6f..743ab0c8e 100644 --- a/app/views/browse/not_found.rhtml +++ b/app/views/browse/not_found.rhtml @@ -1 +1,8 @@ -

Sorry, the <%= @type -%> with the id <%= params[:id] -%>, could not be found.

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