From 272a708b0f1f34105afdc85368cbdd52388fcd52 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Nov 2013 16:55:56 +0000 Subject: [PATCH] Format browse page titles in a consistent way --- app/views/browse/note.html.erb | 2 +- config/locales/en.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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}" -- 2.39.5