]> git.openstreetmap.org Git - rails.git/commitdiff
Format browse page titles in a consistent way
authorTom Hughes <tom@compton.nu>
Sun, 24 Nov 2013 16:55:56 +0000 (16:55 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 24 Nov 2013 16:55:56 +0000 (16:55 +0000)
app/views/browse/note.html.erb
config/locales/en.yml

index 967487af64136fb74a893442f6ac8429cca3b329..5ab29e0d1d0b958f8322b10ad02c9d144eea552d 100644 (file)
@@ -1,4 +1,4 @@
-<% set_title("#{t('browse.note.title')} | #{@note.id}") %>
+<% set_title(t('browse.note.title', :id => @note.id)) %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
index cde33fb78b214ab81faf61879ee2d6241612c1ce..003f16fc0ac4700dbbe74a61afff54dab975efcb 100644 (file)
@@ -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}"