X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/721dd9c27d299455b9159457a095716f797389f1..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] %>