From: Ævar Arnfjörð Bjarmason Date: Mon, 7 Sep 2009 12:16:17 +0000 (+0000) Subject: There was no "Sorry not found" message for changesets so X-Git-Tag: live~6712 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b3ff342e6b53b43aa426a3f6406850d29cc08884?ds=sidebyside 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." --- diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index 743ab0c8e..f536ef9ff 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -3,6 +3,7 @@ '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'), }; %>

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

diff --git a/config/locales/en.yml b/config/locales/en.yml index 9dca6c019..012457a70 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -153,6 +153,7 @@ en: node: node way: way relation: relation + changeset: changeset paging_nav: showing_page: "Showing page" of: "of" diff --git a/config/locales/is.yml b/config/locales/is.yml index c38ae9ae1..73f498c3f 100644 --- a/config/locales/is.yml +++ b/config/locales/is.yml @@ -153,6 +153,7 @@ is: node: fannst ekki hnútur way: fannst ekki vegur relation: fundust ekki vensli + changeset: fannst ekki breytingarsett paging_nav: showing_page: "Sýni síðu" of: "af"