From 7733056858b281b87e390f9964a45f611670069a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 12 Nov 2013 12:17:22 -0800 Subject: [PATCH] Fix translations --- app/views/browse/_common_details.html.erb | 2 +- app/views/browse/new_note.html.erb | 2 +- config/locales/en.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index 593215f29..fe663e53d 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -2,7 +2,7 @@ <% if common_details.changeset.tags['comment'].present? %> <%= linkify(h(common_details.changeset.tags['comment'])) %> <% else %> - (no comment) + <%= t 'browse.changeset_details.no_comment' %> <% end %> diff --git a/app/views/browse/new_note.html.erb b/app/views/browse/new_note.html.erb index 1b01e4375..ac200b54f 100644 --- a/app/views/browse/new_note.html.erb +++ b/app/views/browse/new_note.html.erb @@ -1,4 +1,4 @@ -<% set_title("New Note") %> +<% set_title(t "browse.note.new_note") %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 89103ec52..ea627573b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -282,7 +282,7 @@ en: 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" -- 2.43.2