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