openstreetmap-website/app/views/browse/not_found.html.erb
Ævar Arnfjörð Bjarmason b3ff342e6b There was no "Sorry not found" message for changesets so
/browse/changeset/123456789 would return the message "Sorry, the with
the id 123456789, could not be found.". It now says "Sorry, the
changeset with the id 123456789, could not be found."
2009-09-07 12:16:17 +00:00

9 lines
362 B
Text

<%
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'),
'changeset' => I18n.t('browse.not_found.type.changeset'),
};
%>
<p><%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></p>