Skip to content
Extraits de code Groupes Projets
Valider cbfefc8f rédigé par MrZYX's avatar MrZYX
Parcourir les fichiers

fixed some untranslatable strings, thanks to Nygu

parent 01ce26cb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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])
......
......@@ -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
......
......@@ -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,"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter