Fix translations
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 12 Nov 2013 20:17:22 +0000 (12:17 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 12 Nov 2013 20:17:40 +0000 (12:17 -0800)
app/views/browse/_common_details.html.erb
app/views/browse/new_note.html.erb
config/locales/en.yml

index 593215f2953ed7a653b60c2e35f7bd10eb0045e1..fe663e53d0f9230e6a0b69a748978f086fa4db60 100644 (file)
@@ -2,7 +2,7 @@
   <% if common_details.changeset.tags['comment'].present? %>
     <%= linkify(h(common_details.changeset.tags['comment'])) %>
   <% else %>
   <% if common_details.changeset.tags['comment'].present? %>
     <%= linkify(h(common_details.changeset.tags['comment'])) %>
   <% else %>
-    (no comment)
+    <%= t 'browse.changeset_details.no_comment' %>
   <% end %>
 </h4>
 
   <% end %>
 </h4>
 
index 1b01e4375b3bc97390c66f3f70554b83b4b0d9df..ac200b54f38f54835226f96def405d8bd9c664f9 100644 (file)
@@ -1,4 +1,4 @@
-<% set_title("New Note") %>
+<% set_title(t "browse.note.new_note") %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
index 89103ec5200e538754a21a2ea11351a6b983a901..ea627573b86c4ec4a34a4b6346d600093b1bbea8 100644 (file)
@@ -282,7 +282,7 @@ en:
       edit: "Edit way"
     note:
       title: "Note"
       edit: "Edit way"
     note:
       title: "Note"
-      new_note: "Add a note"
+      new_note: "New Note"
       open_title: "Unresolved note #%{note_name}"
       closed_title: "Resolved note #%{note_name}"
       opened: "Opened"
       open_title: "Unresolved note #%{note_name}"
       closed_title: "Resolved note #%{note_name}"
       opened: "Opened"