fixed some untranslatable strings, thanks to Nygu

This commit is contained in:
MrZYX 2011-01-27 21:04:03 +01:00
parent 01ce26cbf3
commit cbfefc8fc3
3 changed files with 9 additions and 3 deletions

View file

@ -11,7 +11,7 @@
= t('.invite_your_friends_from', :service => params[:provider].titleize)
.description
- if @friends.keys.length > 0
= "#{@friends.keys.length} friends"
= t('.friends', :count => @friends.keys.length)
- else
%i= t('.not_connected')
@ -37,7 +37,7 @@
= select_tag(:aspect_id, options_from_collection_for_select(@all_aspects, 'id', 'name'))
= hidden_field_tag :uid, uid
= hidden_field_tag :provider, 'facebook'
= submit_tag "invite"
= submit_tag t('.invite')
- if friend[:person]
= person_image_link(friend[:person])

View file

@ -5,7 +5,7 @@
- if SERVICES['facebook']['app_id'] !=""
%h4{:style => 'text-align:center;'}
= 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')
= t('.invitations_left', :count => invites)
- else

View file

@ -437,6 +437,12 @@ en:
resend: "resend"
invite_your_friends_from: "Invite your friends from %{service}"
not_connected: "not connected"
friends:
zero: "no friends"
one: "1 friend"
few: "%{count} friends"
other: "%{count} friends"
invite: "invite"
notifier:
hello: "Hello %{name}!"
love: "love,"