fixed some untranslatable strings, thanks to Nygu
This commit is contained in:
parent
01ce26cbf3
commit
cbfefc8fc3
3 changed files with 9 additions and 3 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
= t('.invite_your_friends_from', :service => params[:provider].titleize)
|
= t('.invite_your_friends_from', :service => params[:provider].titleize)
|
||||||
.description
|
.description
|
||||||
- if @friends.keys.length > 0
|
- if @friends.keys.length > 0
|
||||||
= "#{@friends.keys.length} friends"
|
= t('.friends', :count => @friends.keys.length)
|
||||||
- else
|
- else
|
||||||
%i= t('.not_connected')
|
%i= t('.not_connected')
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
= select_tag(:aspect_id, options_from_collection_for_select(@all_aspects, 'id', 'name'))
|
= select_tag(:aspect_id, options_from_collection_for_select(@all_aspects, 'id', 'name'))
|
||||||
= hidden_field_tag :uid, uid
|
= hidden_field_tag :uid, uid
|
||||||
= hidden_field_tag :provider, 'facebook'
|
= hidden_field_tag :provider, 'facebook'
|
||||||
= submit_tag "invite"
|
= submit_tag t('.invite')
|
||||||
|
|
||||||
- if friend[:person]
|
- if friend[:person]
|
||||||
= person_image_link(friend[:person])
|
= person_image_link(friend[:person])
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
- if SERVICES['facebook']['app_id'] !=""
|
- if SERVICES['facebook']['app_id'] !=""
|
||||||
%h4{:style => 'text-align:center;'}
|
%h4{:style => 'text-align:center;'}
|
||||||
= link_to t('.from_facebook'), friend_finder_path('facebook'), :rel => 'facebox'
|
= link_to t('.from_facebook'), friend_finder_path('facebook'), :rel => 'facebox'
|
||||||
or
|
= t('or')
|
||||||
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone')
|
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone')
|
||||||
= t('.invitations_left', :count => invites)
|
= t('.invitations_left', :count => invites)
|
||||||
- else
|
- else
|
||||||
|
|
|
||||||
|
|
@ -437,6 +437,12 @@ en:
|
||||||
resend: "resend"
|
resend: "resend"
|
||||||
invite_your_friends_from: "Invite your friends from %{service}"
|
invite_your_friends_from: "Invite your friends from %{service}"
|
||||||
not_connected: "not connected"
|
not_connected: "not connected"
|
||||||
|
friends:
|
||||||
|
zero: "no friends"
|
||||||
|
one: "1 friend"
|
||||||
|
few: "%{count} friends"
|
||||||
|
other: "%{count} friends"
|
||||||
|
invite: "invite"
|
||||||
notifier:
|
notifier:
|
||||||
hello: "Hello %{name}!"
|
hello: "Hello %{name}!"
|
||||||
love: "love,"
|
love: "love,"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue