if you have a : in a translatable string and no %{} you already know you're doing it wrong [ci skip]
This commit is contained in:
parent
6dc6098817
commit
42b8e8f1ea
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ class InvitationsController < ApplicationController
|
|||
inviter = EmailInviter.new(params[:email_inviter][:emails], current_user, params[:email_inviter])
|
||||
inviter.send!
|
||||
|
||||
redirect_to :back, :notice => "#{t('invitations.create.sent')} #{inviter.emails.join(', ')}"
|
||||
redirect_to :back, :notice => t('invitations.create.sent', :emails => inviter.emails.join(', '))
|
||||
end
|
||||
|
||||
def check_if_invites_open
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ en:
|
|||
excited: "%{name} is excited to see you here."
|
||||
invitations:
|
||||
create:
|
||||
sent: "Invitations have been sent to: "
|
||||
sent: "Invitations have been sent to: %{emails}"
|
||||
rejected: "The following email addresses had problems: "
|
||||
no_more: "You have no more invitations."
|
||||
already_sent: "You already invited this person."
|
||||
|
|
|
|||
Loading…
Reference in a new issue