fix untranslatable stuff from the invite refactor
This commit is contained in:
parent
e413a6e70a
commit
7e7de439f8
5 changed files with 35 additions and 18 deletions
|
|
@ -26,9 +26,9 @@ module NotifierHelper
|
|||
|
||||
def invite_email_title
|
||||
if @inviter.present?
|
||||
"#{@inviter.person.name} invited you to Diaspora*"
|
||||
I18n.t 'notifier.invited_you', :name => @inviter.person.name
|
||||
else
|
||||
"Accept Your Diaspora* invite!"
|
||||
I18n.t 'notifier.accept_invite'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@
|
|||
.clearfix
|
||||
.span-7.prepend-3.last
|
||||
|
||||
or paste them this link!
|
||||
= t('.paste_link')
|
||||
= invite_link(@invite_code)
|
||||
= "#{@invite_code.count} invites left on this code"
|
||||
= t('.codes_left', :count => @invite_code.count)
|
||||
|
||||
%br
|
||||
%br
|
||||
|
|
|
|||
|
|
@ -1,12 +1 @@
|
|||
Hello!
|
||||
|
||||
You have been invited to join Diaspora*!
|
||||
|
||||
Click this link to get started
|
||||
|
||||
<%= invite_code_url(@invitation_code)%>
|
||||
|
||||
|
||||
Love,
|
||||
|
||||
The Diaspora* email robot!
|
||||
<%= t('.message', :invite_url => invite_code_url(@invitation_code)) %>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.alert-message.block-message.success
|
||||
you were invited by
|
||||
= t('.invited_by')
|
||||
= person_image_link inviter
|
||||
= person_link inviter
|
||||
= aspect_membership_dropdown(contact, inviter, false)
|
||||
|
|
|
|||
|
|
@ -339,6 +339,14 @@ en:
|
|||
personal_message: "Personal message"
|
||||
send_an_invitation: "Send an invitation"
|
||||
send_invitation: "Send invitation"
|
||||
paste_link: "or paste them this link!"
|
||||
codes_left:
|
||||
zero: "No invites left on this code"
|
||||
one: "One invite left on this code"
|
||||
two: "%{count} invites left on this code"
|
||||
few: "%{count} invites left on this code"
|
||||
many: "%{count} invites left on this code"
|
||||
other: "%{count} invites left on this code"
|
||||
aspect: "Aspect"
|
||||
already_invited: "The following people have not accepted your invitation:"
|
||||
resend: "Resend"
|
||||
|
|
@ -522,6 +530,24 @@ en:
|
|||
confirm_email:
|
||||
subject: "Please activate your new email address %{unconfirmed_email}"
|
||||
click_link: "To activate your new email address %{unconfirmed_email}, please follow this link:"
|
||||
accept_invite: "Accept Your Diaspora* invite!"
|
||||
invited_you: "%{name} invited you to Diaspora*"
|
||||
invite:
|
||||
message: |-
|
||||
Hello!
|
||||
|
||||
You have been invited to join Diaspora*!
|
||||
|
||||
Click this link to get started
|
||||
|
||||
%{invite_url}
|
||||
<%= invite_code_url(@invitation_code)%>
|
||||
|
||||
|
||||
Love,
|
||||
|
||||
The Diaspora* email robot!
|
||||
|
||||
people:
|
||||
zero: "no people"
|
||||
one: "1 person"
|
||||
|
|
@ -578,8 +604,10 @@ en:
|
|||
edit_membership: "edit aspect membership"
|
||||
add_contact_small:
|
||||
add_contact_from_tag: "add contact from tag"
|
||||
|
||||
last_post: "Last Post"
|
||||
add_contact:
|
||||
invited_by: "you were invited by"
|
||||
|
||||
photos:
|
||||
show:
|
||||
delete_photo: "Delete Photo"
|
||||
|
|
|
|||
Loading…
Reference in a new issue