diff --git a/app/views/notes/_responses.html.erb b/app/views/notes/_responses.html.erb index c9a2bc8938..23d8c5bb94 100644 --- a/app/views/notes/_responses.html.erb +++ b/app/views/notes/_responses.html.erb @@ -13,7 +13,7 @@ tags += '&n=17223' if response_type == 'photo' %> - <%= t('notes._responses.post_' + response_type) %> + <%= translation('notes._responses.post_' + response_type) %> Help out by offering feedback! @@ -32,12 +32,12 @@ <%= render :partial => "comments/form", :locals => { title: 'Add feedback, suggestions, or photos ', body: 'I did this!', comment: false, placeholder: '', url1: '/conduct', author: current_user.title, is_new_contributor:current_user.is_new_contributor? } %> <% else %> -

<%= raw t('notes._comments.must_be_logged_in', :url1 => new_user_session_path( return_to: request.path )) %>

+

<%= raw translation('notes._comments.must_be_logged_in', :url1 => new_user_session_path( return_to: request.path )) %>

<% end %>
-

<%= t("notes._responses.#{response_type}s") %> (<%= @responses.length %>)

+

<%= translation("notes._responses.#{response_type}s") %> (<%= @responses.length %>)

<% if response_type == 'response' %> <%= render partial: "notes/notes", locals: { notes: @responses } %>