Update translation keys for renaming of user to users

This commit is contained in:
Tom Hughes 2018-10-29 12:45:17 +00:00
parent d75a09f5bb
commit 22af018298
4 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ class ApplicationController < ActionController::Base
# don't allow access to any auth-requiring part of the site unless
# the new CTs have been seen (and accept/decline chosen).
elsif !current_user.terms_seen && flash[:skip_terms].nil?
flash[:notice] = t "user.terms.you need to accept or decline"
flash[:notice] = t "users.terms.you need to accept or decline"
if params[:referer]
redirect_to :controller => "users", :action => "terms", :referer => params[:referer]
else

View file

@ -234,7 +234,7 @@ class DiaryEntryController < ApplicationController
# and return them to the user page.
def require_administrator
unless current_user.administrator?
flash[:error] = t("user.filter.not_an_administrator")
flash[:error] = t("users.filter.not_an_administrator")
redirect_to :action => "show"
end
end