From: Tom Hughes Date: Sun, 24 Nov 2013 16:55:56 +0000 (+0000) Subject: Format browse page titles in a consistent way X-Git-Tag: live~5173^2~19 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/272a708b0f1f34105afdc85368cbdd52388fcd52 Format browse page titles in a consistent way --- diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 967487af6..5ab29e0d1 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -1,4 +1,4 @@ -<% set_title("#{t('browse.note.title')} | #{@note.id}") %> +<% set_title(t('browse.note.title', :id => @note.id)) %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index cde33fb78..003f16fc0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -112,7 +112,7 @@ en: view_history: "View History" view_details: "View Details" changeset: - title: "Changeset %{id}" + title: "Changeset: %{id}" belongs_to: "Author" node: "Nodes (%{count})" node_paginated: "Nodes (%{x}-%{y} of %{count})" @@ -182,7 +182,7 @@ en: tag: "The wiki description page for the %{key}=%{value} tag" wikipedia_link: "The %{page} article on Wikipedia" note: - title: "Note" + title: "Note: %{id}" new_note: "New Note" open_title: "Unresolved note #%{note_name}" closed_title: "Resolved note #%{note_name}"