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

moar translations

parent dda14e16
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -41,11 +41,11 @@ class PostsController < ApplicationController ...@@ -41,11 +41,11 @@ class PostsController < ApplicationController
I18n.locale = @person.owner.language I18n.locale = @person.owner.language
render "posts/#{@post.class.to_s.underscore}", :layout => true render "posts/#{@post.class.to_s.underscore}", :layout => true
else else
flash[:error] = "that post does not exist!" flash[:error] = I18n.t('posts.doesnt_exist')
redirect_to root_url redirect_to root_url
end end
else else
flash[:error] = "that post does not exist!" flash[:error] = I18n.t('posts.doesnt_exist')
redirect_to root_url redirect_to root_url
end end
end end
......
...@@ -29,12 +29,7 @@ ...@@ -29,12 +29,7 @@
.prepend-2.span-7.last .prepend-2.span-7.last
%h3 %h3
= @people_count = t('people', :count => @people_count)
%span{:style => "font-weight:normal"}
- if @people_count == 1
= t('.person')
- else
= t('.people')
.side_stream.stream .side_stream.stream
- for person in @people - for person in @people
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
%i= t('.mention_helper_text') %i= t('.mention_helper_text')
- else - else
.badges .badges
%i= 'publishing to: ' %i= t('.publishing_to')
= aspect_badges(aspects_with_person, :link => false) = aspect_badges(aspects_with_person, :link => false)
......
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
.span-15.last .span-15.last
#facebox_header #facebox_header
%h4 %h4
= t('.mentioning') + @person.name = t('.mentioning', :person => @person.name)
= render :partial => 'shared/publisher', :locals => { :aspect => @aspect, :aspect_ids => @aspect_ids, :aspects_with_person => @aspects_with_person, :person => @person} = render :partial => 'shared/publisher', :locals => { :aspect => @aspect, :aspect_ids => @aspect_ids, :aspects_with_person => @aspects_with_person, :person => @person}
...@@ -319,6 +319,11 @@ en: ...@@ -319,6 +319,11 @@ en:
sign_in: "Sign in to view it." sign_in: "Sign in to view it."
people: people:
zero: "no people"
one: "1 person"
few: "%{count} people"
many: "%{count} people"
other: "%{count} people"
person: person:
pending_request: "pending request" pending_request: "pending request"
already_connected: "Already connected" already_connected: "Already connected"
...@@ -399,13 +404,12 @@ en: ...@@ -399,13 +404,12 @@ en:
or_select_one: "or select one from your already existing" or_select_one: "or select one from your already existing"
posts: posts:
doesnt_exist: "that post does not exist!"
index: index:
whatup: "What's happening on %{pod}" whatup: "What's happening on %{pod}"
posts_tagged_with: "Posts tagged with #%{tag}" posts_tagged_with: "Posts tagged with #%{tag}"
nobody_talking: "Nobody is talking about %{tag} yet." nobody_talking: "Nobody is talking about %{tag} yet."
people_tagged_with: "People tagged with %{tag}" people_tagged_with: "People tagged with %{tag}"
people: "people"
person: "person"
profiles: profiles:
edit: edit:
...@@ -509,6 +513,7 @@ en: ...@@ -509,6 +513,7 @@ en:
all_contacts: "all contacts" all_contacts: "all contacts"
share_with: "share with" share_with: "share with"
whats_on_your_mind: "what's on your mind?" whats_on_your_mind: "what's on your mind?"
publishing_to: "publishing to: "
add_contact: add_contact:
enter_a_diaspora_username: "Enter a Diaspora username:" enter_a_diaspora_username: "Enter a Diaspora username:"
your_diaspora_username_is: "Your Diaspora username is: %{diaspora_handle}" your_diaspora_username_is: "Your Diaspora username is: %{diaspora_handle}"
...@@ -539,7 +544,7 @@ en: ...@@ -539,7 +544,7 @@ en:
status_messages: status_messages:
new: new:
mentioning: "Mentioning: " mentioning: "Mentioning: %{person}"
show: show:
destroy: "Delete" destroy: "Delete"
permalink: "permalink" permalink: "permalink"
......
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