From b3ff342e6b53b43aa426a3f6406850d29cc08884 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 7 Sep 2009 12:16:17 +0000 Subject: [PATCH] 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." --- app/views/browse/not_found.html.erb | 1 + config/locales/en.yml | 1 + config/locales/is.yml | 1 + 3 files changed, 3 insertions(+) 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" -- 2.43.2