From f349aeb06160a89fae6821604cb45802309d46cd Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 29 Apr 2018 01:09:38 +0100 Subject: [PATCH] Update translation keys for renaming of note to notes --- app/controllers/notes_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index b1dd6d162..853072b7b 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -280,9 +280,9 @@ class NotesController < ApplicationController if params[:display_name] if @user = User.active.find_by(:display_name => params[:display_name]) @params = params.permit(:display_name) - @title = t "note.mine.title", :user => @user.display_name - @heading = t "note.mine.heading", :user => @user.display_name - @description = t "note.mine.subheading", :user => render_to_string(:partial => "user", :object => @user) + @title = t "notes.mine.title", :user => @user.display_name + @heading = t "notes.mine.heading", :user => @user.display_name + @description = t "notes.mine.subheading", :user => render_to_string(:partial => "user", :object => @user) @page = (params[:page] || 1).to_i @page_size = 10 @notes = @user.notes -- 2.39.5