Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
c0dcd37cde
40 changed files with 601 additions and 587 deletions
|
|
@ -63,7 +63,7 @@ class UsersController < ApplicationController
|
|||
|
||||
render :xml => director.build(ostatus_builder), :content_type => 'application/atom+xml'
|
||||
else
|
||||
flash[:error] = I18n.t 'users.public.does_not_exists', :username => params[:username]
|
||||
flash[:error] = I18n.t 'users.public.does_not_exist', :username => params[:username]
|
||||
redirect_to root_url
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ module ApplicationHelper
|
|||
return @@youtube_title_cache[id]
|
||||
end
|
||||
|
||||
ret = 'Unknown Video Title' #TODO add translation
|
||||
ret = I18n.t 'application.helper.youtube_title.unknown'
|
||||
http = Net::HTTP.new('gdata.youtube.com', 80)
|
||||
path = '/feeds/api/videos/'+id+'?v=2'
|
||||
resp, data = http.get(path, nil)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ module AspectsHelper
|
|||
|
||||
def remove_link( aspect )
|
||||
if aspect.people.size == 0
|
||||
link_to I18n.t('aspects.helper.remove'), aspect, :method => :delete, :confirm => "Are you sure you want to delete this aspect?"
|
||||
link_to I18n.t('aspects.helper.remove'), aspect, :method => :delete, :confirm => I18n.t('aspects.helper.are_you_sure')
|
||||
else
|
||||
"<span class='grey' title=#{I18n.t('aspects.helper.aspect_not_empty')}>#{I18n.t('aspects.helper.remove')}</span>"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@ module PeopleHelper
|
|||
|
||||
def action_link(person, is_contact)
|
||||
if is_contact
|
||||
link_to t('.remove_friend'), person, :confirm => t('are_you_sure'), :method => :delete
|
||||
link_to t('people.profile_sidebar.remove_friend'), person, :confirm => t('are_you_sure'), :method => :delete
|
||||
elsif person == current_user.person
|
||||
link_to t('.edit_my_profile'), edit_person_path(person)
|
||||
link_to t('people.profile_sidebar.edit_my_profile'), edit_person_path(person)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class Notifier < ActionMailer::Base
|
|||
attachments.inline['diaspora_white_on_grey.png'] = ATTACHMENT
|
||||
|
||||
mail(:to => "#{@receiver.real_name} <#{@receiver.email}>",
|
||||
:subject => "new Diaspora* friend request from #{@sender.real_name}", :host => APP_CONFIG[:terse_pod_url])
|
||||
:subject => I18n.t('notifier.new_request.subject', :from => @sender.real_name), :host => APP_CONFIG[:terse_pod_url])
|
||||
end
|
||||
|
||||
def request_accepted(recipient_id, sender_id, aspect_id)
|
||||
|
|
@ -21,6 +21,6 @@ class Notifier < ActionMailer::Base
|
|||
attachments.inline['diaspora_white_on_grey.png'] = ATTACHMENT
|
||||
|
||||
mail(:to => "#{@receiver.real_name} <#{@receiver.email}>",
|
||||
:subject => "#{@sender.real_name} has accepted your friend request on Diaspora*", :host => APP_CONFIG[:terse_pod_url])
|
||||
:subject => I18n.t('notifier.request_accepted.subject', :name => @sender.real_name), :host => APP_CONFIG[:terse_pod_url])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -46,6 +46,6 @@
|
|||
= image_tag '/images/diaspora_white.png'
|
||||
#container
|
||||
%p
|
||||
Welcome #{@resource.email}!
|
||||
%p You can confirm your account through the link below:
|
||||
%p= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token), :class => "large_text"
|
||||
= t('devise.mailer.welcome', :email => @resource.email)
|
||||
%p = t('.you_can_confirm')
|
||||
%p= link_to t('.confirm'), confirmation_url(@resource, :confirmation_token => @resource.confirmation_token), :class => "large_text"
|
||||
|
|
|
|||
|
|
@ -2,65 +2,27 @@
|
|||
%html
|
||||
%head
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
:css
|
||||
body{
|
||||
width:600px;
|
||||
font-family:'Arial','Helvetica',sans-serif;
|
||||
font-size:14px;
|
||||
color:#333;
|
||||
}
|
||||
#container{
|
||||
margin-bottom:25px
|
||||
min-height:400px;
|
||||
padding-left:15px;
|
||||
}
|
||||
header{
|
||||
background-color:#333;
|
||||
padding: 15px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
p{
|
||||
padding:5px;
|
||||
}
|
||||
p.small{
|
||||
font-size:smaller;
|
||||
color:#999;
|
||||
font-style:italic;
|
||||
}
|
||||
a{
|
||||
color:#107FC9;
|
||||
font-weight:bold;
|
||||
}
|
||||
a:hover{
|
||||
color: #22AAE0;
|
||||
}
|
||||
a:active{
|
||||
color: #005D9C;
|
||||
}
|
||||
.large_text{
|
||||
font-size:21px;
|
||||
font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;
|
||||
}
|
||||
= render :partial => 'notifier/notifier_css'
|
||||
%body
|
||||
%header
|
||||
= image_tag '/images/diaspora_white.png'
|
||||
#container
|
||||
- @invs = @resource.invitations_to_me
|
||||
%p
|
||||
Hello #{@resource.email}!
|
||||
= t('devise.mailer.welcome', :email => @resource.email)
|
||||
%p
|
||||
- if @invs.count == 1
|
||||
= @invs.first.real_name + " (#{@invs.first.diaspora_handle})" + " has"
|
||||
= t('.has_invited_you', :name => @invs.first.real_name + " (#{@invs.first.diaspora_handle})")
|
||||
- else
|
||||
= (@invs.map{|inv| inv.from.real_name + " (#{inv.from.diaspora_handle})"}.join(",") + " have")
|
||||
= "invited you to join Diaspora at #{root_url}, you can accept it through the link below."
|
||||
= t('.have_invited_you', :names => (@invs.map{|inv| inv.from.real_name + " (#{inv.from.diaspora_handle})"}.join(",")))
|
||||
= t('.accept_at', :url => root_url)
|
||||
- @invs.each do |inv|
|
||||
- if inv.message
|
||||
= "#{inv.from.real_name}:"
|
||||
= "\"#{inv.message}\""
|
||||
%p
|
||||
%p= link_to 'Accept invitation', accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
|
||||
%p= link_to t('.accept'), accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
|
||||
%p.small
|
||||
If you don't want to accept the invitation, please ignore this email.
|
||||
= t('.ignore')
|
||||
%br/
|
||||
Your account won't be created until you access the link above and sign up.
|
||||
= t('.no_account_till')
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@
|
|||
= image_tag '/images/diaspora_white.png'
|
||||
#container
|
||||
%p
|
||||
Hello #{@resource.email}!
|
||||
%p Someone has requested a link to change your password, and you can do this through the link below.
|
||||
%p= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token), :class => "large_text"
|
||||
%p Your password won't change until you access the link above and create a new one.
|
||||
%p.small If you didn't request this, please ignore this email.
|
||||
= t('devise.mailer.hello', :email => @resource.email)
|
||||
%p = t('.someone_requested')
|
||||
%p= link_to t('.change'), edit_password_url(@resource, :reset_password_token => @resource.reset_password_token), :class => "large_text"
|
||||
%p = t('.wont_change')
|
||||
%p.small = t('.ignore')
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
= image_tag '/images/diaspora_white.png'
|
||||
#container
|
||||
%p
|
||||
Hello #{@resource.email}!
|
||||
%p Your account has been locked due to an excessive amount of unsuccessful sign in attempts.
|
||||
%p Click the link below to unlock your account:
|
||||
%p= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token), :class => "large_text"
|
||||
= t('devise.mailer.hello', :email => @resource.email)
|
||||
%p = t('.account_locked')
|
||||
%p = t('.click_to_unlock')
|
||||
%p= link_to t('.unlock'), unlock_url(@resource, :unlock_token => @resource.unlock_token), :class => "large_text"
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
- if current_user
|
||||
#global_search
|
||||
= form_tag(people_path, :method => 'get') do
|
||||
= text_field_tag 'q', nil, :placeholder => t('.search'), :type => 'search', :results => 5
|
||||
= text_field_tag 'q', nil, :placeholder => t('search'), :type => 'search', :results => 5
|
||||
|
||||
%ul#user_menu
|
||||
.avatar
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
%li= link_to t('.view_profile'), current_user.person
|
||||
%li= link_to t('.edit_profile'), edit_person_path(current_user.person)
|
||||
%li= link_to t('.account_settings'), edit_user_path(current_user)
|
||||
%li= link_to t('.logout.'), destroy_user_session_path
|
||||
%li= link_to t('.logout'), destroy_user_session_path
|
||||
|
||||
= render "shared/aspect_nav"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,4 +30,4 @@
|
|||
|
||||
%div{:data => {:role => 'fieldcontain'}}
|
||||
= form_tag(people_path, :method => 'get') do
|
||||
= text_field_tag 'q', nil, :placeholder => t('.search'), :type => 'search'
|
||||
= text_field_tag 'q', nil, :placeholder => t('search'), :type => 'search'
|
||||
|
|
|
|||
10
app/views/layouts/notifier.html.haml
Normal file
10
app/views/layouts/notifier.html.haml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
= render :partial => 'notifier_css'
|
||||
%body
|
||||
%header
|
||||
= image_tag attachments['diaspora_white_on_grey.png'].url, :alt => "DIASPORA"
|
||||
#container
|
||||
= yield
|
||||
39
app/views/notifier/_notifier_css.haml
Normal file
39
app/views/notifier/_notifier_css.haml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
:css
|
||||
body{
|
||||
width:600px;
|
||||
font-family:'Arial','Helvetica',sans-serif;
|
||||
font-size:14px;
|
||||
color:#333;
|
||||
}
|
||||
#container{
|
||||
margin-bottom:25px
|
||||
min-height:400px;
|
||||
padding-left:15px;
|
||||
}
|
||||
header{
|
||||
background-color:#333;
|
||||
padding: 15px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
p{
|
||||
padding:5px;
|
||||
}
|
||||
p.small{
|
||||
font-size:smaller;
|
||||
color:#999;
|
||||
font-style:italic;
|
||||
}
|
||||
a{
|
||||
color:#107FC9;
|
||||
font-weight:bold;
|
||||
}
|
||||
a:hover{
|
||||
color: #22AAE0;
|
||||
}
|
||||
a:active{
|
||||
color: #005D9C;
|
||||
}
|
||||
.large_text{
|
||||
font-size:21px;
|
||||
font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;
|
||||
}
|
||||
|
|
@ -1,59 +1,12 @@
|
|||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
:css
|
||||
body{
|
||||
width:600px;
|
||||
font-family:'Arial','Helvetica',sans-serif;
|
||||
font-size:14px;
|
||||
color:#333;
|
||||
}
|
||||
#container{
|
||||
margin-bottom:25px
|
||||
min-height:400px;
|
||||
padding-left:15px;
|
||||
}
|
||||
header{
|
||||
background-color:#333;
|
||||
padding: 15px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
p{
|
||||
padding:5px;
|
||||
}
|
||||
p.small{
|
||||
font-size:smaller;
|
||||
color:#999;
|
||||
font-style:italic;
|
||||
}
|
||||
a{
|
||||
color:#107FC9;
|
||||
font-weight:bold;
|
||||
}
|
||||
a:hover{
|
||||
color: #22AAE0;
|
||||
}
|
||||
a:active{
|
||||
color: #005D9C;
|
||||
}
|
||||
.large_text{
|
||||
font-size:21px;
|
||||
font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;
|
||||
}
|
||||
%body
|
||||
%header
|
||||
= image_tag attachments['diaspora_white_on_grey.png'].url, :alt => "DIASPORA"
|
||||
#container
|
||||
%p
|
||||
Hello #{@receiver.profile.first_name}!
|
||||
%p
|
||||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
just sent you a friend request on Diaspora*
|
||||
You should really think about checking it out.
|
||||
%br
|
||||
= link_to "sign in here", new_user_session_url
|
||||
%br
|
||||
love,
|
||||
%br
|
||||
the diaspora email robot
|
||||
%p
|
||||
= t('notifier.hello', :name => @receiver.email)
|
||||
%p
|
||||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
= t('.just_sent_you')
|
||||
= t('.try_it_out')
|
||||
%br
|
||||
= link_to t('.sign_in'), new_user_session_url
|
||||
%br
|
||||
= t('notifier.love')
|
||||
%br
|
||||
= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
= "hey #{@receiver.profile.first_name},"
|
||||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
just sent you a friend request on Diaspora*
|
||||
You should really think about checking it out.
|
||||
= t('notifier.new_request.just_sent_you')
|
||||
= t('notifier.new_request.try_it_out')
|
||||
|
||||
= "sign in here: #{new_user_session_url}"
|
||||
= "#{t('notifier.new_request.sign_in')}: #{new_user_session_url}"
|
||||
|
||||
love,
|
||||
the diaspora email robot
|
||||
= t('notifier.love')
|
||||
= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,59 +1,12 @@
|
|||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{"http-equiv"=>"Content-Type", :content=>"text/html; charset=utf-8"}/
|
||||
:css
|
||||
body{
|
||||
width:600px;
|
||||
font-family:'Arial','Helvetica',sans-serif;
|
||||
font-size:14px;
|
||||
color:#333;
|
||||
}
|
||||
#container{
|
||||
margin-bottom:25px
|
||||
min-height:400px;
|
||||
padding-left:15px;
|
||||
}
|
||||
header{
|
||||
background-color:#333;
|
||||
padding: 15px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
p{
|
||||
padding:5px;
|
||||
}
|
||||
p.small{
|
||||
font-size:smaller;
|
||||
color:#999;
|
||||
font-style:italic;
|
||||
}
|
||||
a{
|
||||
color:#107FC9;
|
||||
font-weight:bold;
|
||||
}
|
||||
a:hover{
|
||||
color: #22AAE0;
|
||||
}
|
||||
a:active{
|
||||
color: #005D9C;
|
||||
}
|
||||
.large_text{
|
||||
font-size:21px;
|
||||
font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;
|
||||
}
|
||||
%body
|
||||
%header
|
||||
= image_tag attachments['diaspora_white_on_grey.png'].url, :alt => "DIASPORA"
|
||||
#container
|
||||
%p
|
||||
Hello #{@receiver.profile.first_name}!
|
||||
%p
|
||||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
has accepted your friend request. They are now in your
|
||||
= link_to @aspect.name, aspect_url(@aspect)
|
||||
aspect.
|
||||
%p
|
||||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
%p
|
||||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
= t('.accepted')
|
||||
= link_to @aspect.name, aspect_url(@aspect)
|
||||
= t('.aspect')
|
||||
|
||||
%br
|
||||
love,
|
||||
%br
|
||||
the diaspora email robot
|
||||
%br
|
||||
= t('notifier.love')
|
||||
%br
|
||||
= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
= "hey #{@receiver.profile.first_name},"
|
||||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
|
||||
has accepted your friend request. They are now in your
|
||||
= "#{@aspect.name} asepct.\n"
|
||||
= t('notifier.request_accepted.accepted')
|
||||
= "#{@aspect.name} #{t('notifier.request_accepted.aspect')}\n"
|
||||
= "#{aspect_url(@aspect)}"
|
||||
|
||||
|
||||
love, \n
|
||||
the diaspora email robot
|
||||
= "#{t('notifier.love')} \n"
|
||||
= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -24,16 +24,16 @@
|
|||
-if is_contact || person == current_user.person
|
||||
%ul#profile_information
|
||||
%li
|
||||
%b bio
|
||||
%b #{t('.bio')}
|
||||
%br
|
||||
= person.profile.bio
|
||||
%li
|
||||
%b gender
|
||||
%b #{t('.gender')}
|
||||
%br
|
||||
= person.profile.gender
|
||||
%li
|
||||
%b born
|
||||
%b #{t('.born')}
|
||||
%br
|
||||
= "#{time_ago_in_words(person.profile.birthday)} ago" if @person.profile.birthday
|
||||
= "#{time_ago_in_words(person.profile.birthday)} #{t('ago')}" if @person.profile.birthday
|
||||
|
||||
%b.small= person.diaspora_handle
|
||||
|
|
|
|||
|
|
@ -29,23 +29,23 @@
|
|||
%h4
|
||||
= t('.your_gender')
|
||||
%br
|
||||
= profile.text_field :gender, :value => @profile.gender, :placeholder => t('.fill_me_out')
|
||||
= profile.text_field :gender, :value => @profile.gender, :placeholder => t('fill_me_out')
|
||||
|
||||
%h4
|
||||
= t('.your_birthday')
|
||||
%br
|
||||
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 2000, :end_year => 1930
|
||||
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => t('date.order'), :start_year => 2000, :end_year => 1930
|
||||
|
||||
%h4
|
||||
= t('.your_bio')
|
||||
= profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => t('.fill_me_out')
|
||||
= profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => t('fill_me_out')
|
||||
|
||||
%h4
|
||||
= t('.your_photo')
|
||||
= render 'people/profile_photo_upload', :form => profile
|
||||
|
||||
%h4
|
||||
= t('.search')
|
||||
= t('search')
|
||||
%p{:class=>"checkbox_select"}
|
||||
= profile.label :searchable, t('.allow_search')
|
||||
= profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@
|
|||
%p.photo_description
|
||||
= post.caption
|
||||
|
||||
= link_to "view all of #{post.person.real_name}'s photos", person_photos_path(post.person), :class => "small_text"
|
||||
= link_to t('.view_all', :name => post.person.real_name), person_photos_path(post.person), :class => "small_text"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
%h2
|
||||
Edit #{resource_name.to_s.humanize}
|
||||
= t('.edit', :name => resource_name.to_s.humanize)
|
||||
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
|
||||
= devise_error_messages!
|
||||
%p
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
= f.text_field :email
|
||||
%p
|
||||
= f.label :password
|
||||
%i (leave blank if you don't want to change it)
|
||||
%i = t('.leave_blank')
|
||||
%br/
|
||||
= f.password_field :password
|
||||
%p
|
||||
|
|
@ -17,12 +17,12 @@
|
|||
= f.password_field :password_confirmation
|
||||
%p
|
||||
= f.label :current_password
|
||||
%i (we need your current password to confirm your changes)
|
||||
%i = t('.password_to_confirm')
|
||||
%br/
|
||||
= f.password_field :current_password
|
||||
%p
|
||||
= f.submit t('.update')
|
||||
%h3 t('.cancel_my_account')
|
||||
%p
|
||||
Unhappy? #{link_to t('.cancel_my_account'), registration_path(resource_name), :confirm => t('are_you_sure'), :method => :delete}.
|
||||
= t('.unhappy') #{link_to t('.cancel_my_account'), registration_path(resource_name), :confirm => t('are_you_sure'), :method => :delete}.
|
||||
= link_to t('.back'), :back
|
||||
|
|
|
|||
|
|
@ -18,11 +18,11 @@
|
|||
- for service in @services
|
||||
%h3
|
||||
%b= service.provider
|
||||
logged in as
|
||||
= t('.logged_in_as')
|
||||
%b
|
||||
= service.nickname
|
||||
= link_to "disconnect", service, :confirm => "disconnect #{service.provider}?", :method => :delete
|
||||
= link_to t('.disconnect'), service, :confirm => t('.really_disconnect', :service => service.provider), :method => :delete
|
||||
|
||||
%h4= link_to "Connect to twitter", "/auth/twitter" if SERVICES['twitter']['consumer_key']!= ""
|
||||
%h4= link_to "Connect to facebook", "/auth/facebook" if SERVICES['facebook']['app_id'] !=""
|
||||
%h4= link_to t('.connect_to_twitter'), "/auth/twitter" if SERVICES['twitter']['consumer_key']!= ""
|
||||
%h4= link_to t('.connect_to_facebook'), "/auth/facebook" if SERVICES['facebook']['app_id'] !=""
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@
|
|||
➔
|
||||
%ul
|
||||
- if post.public?
|
||||
the world
|
||||
=t('the_world')
|
||||
- else
|
||||
- for aspect in current_user.aspects_with_post( post.id )
|
||||
%li= link_to aspect.name, aspect
|
||||
#person_nav_links
|
||||
= link_to t('.view_profile'), person_path(person)
|
||||
= link_to t('_photos'), person_photos_path(person)
|
||||
= link_to 'status messages', person_status_messages_path(person)
|
||||
= "viewing: #{@post_type.to_s.titleize}" if defined?(@post_type)
|
||||
= link_to t('.status_messages'), person_status_messages_path(person)
|
||||
= "#{t('.viewing')}: #{@post_type.to_s.titleize}" if defined?(@post_type)
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
= link_to "New #{object.class.to_s} from #{object.person.real_name}", object_path(object.post)
|
||||
= link_to t('.new', :type => object.class.to_s, :from => object.person.real_name), object_path(object.post)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
➔
|
||||
%ul
|
||||
- if post.public?
|
||||
%li= t('.the_world')
|
||||
%li= t('the_world')
|
||||
- else
|
||||
- for aspect in current_user.aspects_with_post( post.id )
|
||||
%li= link_to aspect.name, aspect
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
.aspect
|
||||
➔
|
||||
- if post.public?
|
||||
= t('.the_world')
|
||||
= t('the_world')
|
||||
- else
|
||||
= current_user.aspects_with_post( post.id ).join(', ')
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
.span-8.append-1.last
|
||||
%h1{:style => "text-align:right;"}
|
||||
= "Welcome to Diaspora!"
|
||||
= t('.welcome')
|
||||
.description
|
||||
=t('.signup_steps')
|
||||
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
= render "users/getting_started/step_#{@step}", :current_user => current_user
|
||||
|
||||
- if @step > 1
|
||||
= link_to "Back", getting_started_path(:step => @step-1), :class => "button", :id => "previous_step"
|
||||
= link_to t('back'), getting_started_path(:step => @step-1), :class => "button", :id => "previous_step"
|
||||
|
||||
.bottom_notification
|
||||
= link_to "skip getting started →", '#', :id => "getting_started_skip"
|
||||
= link_to "#{t('.skip')} →", '#', :id => "getting_started_skip"
|
||||
|
|
|
|||
|
|
@ -5,44 +5,44 @@
|
|||
|
||||
= form_for @person, :html => { :multipart => true } do |person|
|
||||
%h3
|
||||
Your Profile
|
||||
= t('.your_profile')
|
||||
.description
|
||||
This info will be available to whomever you connect with on Diaspora.
|
||||
= t('people.edit.info_available_to')
|
||||
|
||||
= person.error_messages
|
||||
|
||||
= person.fields_for :profile do |profile|
|
||||
%h4
|
||||
Your name
|
||||
= profile.text_field :first_name, :value => @profile.first_name, :placeholder => "First name"
|
||||
= profile.text_field :last_name, :value => @profile.last_name, :placeholder => "Last name"
|
||||
= t('people.edit.your_name')
|
||||
= profile.text_field :first_name, :value => @profile.first_name, :placeholder => t('people.edit.first_name')
|
||||
= profile.text_field :last_name, :value => @profile.last_name, :placeholder => t('people.edit.last_name')
|
||||
|
||||
%h4
|
||||
Your gender
|
||||
= t('people.edit.your_gender')
|
||||
%br
|
||||
= profile.text_field :gender, :value => @profile.gender, :placeholder => t(".fill_me_out")
|
||||
= profile.text_field :gender, :value => @profile.gender, :placeholder => t("fill_me_out")
|
||||
|
||||
%h4
|
||||
Your birthday
|
||||
= t('people.edit.your_birthday')
|
||||
%br
|
||||
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 2000, :end_year => 1930
|
||||
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => t('date.order'), :start_year => 2000, :end_year => 1930
|
||||
|
||||
%h4
|
||||
Your bio
|
||||
= profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => t(".fill_me_out")
|
||||
= t('people.edit.your_bio')
|
||||
= profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => t('fill_me_out')
|
||||
|
||||
%h4
|
||||
Your photo
|
||||
= t('people.edit.your_photo')
|
||||
= render 'people/profile_photo_upload', :form => profile
|
||||
|
||||
%h4
|
||||
Search
|
||||
= t('search')
|
||||
%p{:class=>"checkbox_select"}
|
||||
= profile.label :searchable, "Allow for people to search for you"
|
||||
= profile.label :searchable, t('people.edit.allow_search')
|
||||
= profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false
|
||||
|
||||
= hidden_field_tag :getting_started, @step
|
||||
|
||||
.submit_block
|
||||
= person.submit "Save and continue →"
|
||||
= person.submit "#{t('users.getting_started.save_and_continue')} →"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@
|
|||
|
||||
|
||||
%h3
|
||||
Your aspects
|
||||
= t('.your_aspects')
|
||||
.description
|
||||
Tell Diaspora what different aspects of you are seen by different friends. You can manage these later by clicking the manage tab on the top right. Your aspects are unique to you, and not visible by others.
|
||||
= t('.description')
|
||||
|
||||
%h4
|
||||
Aspect name
|
||||
= t('.aspect_name')
|
||||
= form_for Aspect.new, :remote => true, :format => :json do |aspect|
|
||||
= aspect.text_field :name, :style => "display:inline;"
|
||||
= aspect.submit "Add"
|
||||
= aspect.submit t('.add')
|
||||
|
||||
%ul.aspects
|
||||
- for aspect in @aspects
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
- for friend in aspect.person_objects
|
||||
= person_image_link(friend)
|
||||
|
||||
= link_to (image_tag('add_friend_button.png', :title => "add to #{aspect}")), '#manage_aspect_contacts_pane', :class => 'manage_aspect_contacts_button'
|
||||
= link_to (image_tag('add_friend_button.png', :title => t('shared.aspect_friends.add_to', :aspect => aspect))), '#manage_aspect_contacts_pane', :class => 'manage_aspect_contacts_button'
|
||||
|
||||
.fancybox_content
|
||||
#manage_aspect_contacts_pane
|
||||
|
|
@ -34,5 +34,5 @@
|
|||
%br
|
||||
|
||||
.submit_block
|
||||
= link_to "Save and continue →", getting_started_path(:step => 3), :class => "button"
|
||||
= link_to "#{t('users.getting_started.save_and_continue')} →", getting_started_path(:step => 3), :class => "button"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,20 +4,20 @@
|
|||
|
||||
|
||||
%h3
|
||||
Your services
|
||||
= t('.your_services')
|
||||
.description
|
||||
Connect your existing social networks to your Diaspora account. You will be able to post publically through your Everyone tab when you select "public."
|
||||
= t('.description')
|
||||
%ul#stream
|
||||
- for service in @services
|
||||
%h3
|
||||
%b= service.provider
|
||||
logged in as
|
||||
= t('services.index.logged_in_as')
|
||||
%b= service.nickname
|
||||
= link_to "disconnect", service, :confirm => "disconnect #{service.provider}?", :method => :delete
|
||||
= link_to t('services.index.disconnect'), service, :confirm => t('services.index.really_disconnect', :service => service.provider), :method => :delete
|
||||
|
||||
%h4= link_to "Connect to twitter", "/auth/twitter" if SERVICES['twitter']['consumer_key']!= ""
|
||||
%h4= link_to "Connect to facebook", "/auth/facebook" if SERVICES['facebook']['app_id'] !=""
|
||||
%h4= link_to t('services.index.connect_to_twitter'), "/auth/twitter" if SERVICES['twitter']['consumer_key']!= ""
|
||||
%h4= link_to t('services.index.connect_to_facebook'), "/auth/facebook" if SERVICES['facebook']['app_id'] !=""
|
||||
|
||||
.submit_block
|
||||
= link_to "Save and continue →", getting_started_path(:step => 4), :class => "button"
|
||||
= link_to "#{t('users.getting_started.save_and_continue')} →", getting_started_path(:step => 4), :class => "button"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
|
||||
%h1
|
||||
= "You're all set up, #{current_user.person.profile.first_name}!"
|
||||
= t('.set_up', :name => current_user.person.profile.first_name)
|
||||
.description
|
||||
You're now ready to start sharing with
|
||||
= t('.ready_to_share')
|
||||
%ul.inline_aspect_listing
|
||||
- for aspect in @aspects
|
||||
%li= aspect
|
||||
|
|
@ -15,22 +15,22 @@
|
|||
%br
|
||||
|
||||
%h3
|
||||
= link_to "Continue on to your everyone page, an overview of all of your aspects.", root_path
|
||||
= link_to t('.continue'), root_path
|
||||
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
|
||||
%p
|
||||
You can change your profile any time by clicking
|
||||
%b edit profile
|
||||
in your user menu (top right).
|
||||
= t('.change_profile')
|
||||
%b #{t('.edit_profile')}
|
||||
= t('.user_menu')
|
||||
%p
|
||||
You can connect/disconnect your services any time by clicking
|
||||
%b edit account
|
||||
in your user menu (top right).
|
||||
= t('.connect_disconnect')
|
||||
%b #{t('.edit_account')}
|
||||
= t('.user_menu')
|
||||
%p
|
||||
You can manage your aspects any time by clicking the
|
||||
%b manage
|
||||
tab. Your contacts can also be added while on a particular aspect page, as well.
|
||||
= t('.manage_aspects')
|
||||
%b #{t('.manage')}
|
||||
= t('.tab_also_added')
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ en:
|
|||
password: 'Password'
|
||||
sign_in: 'Sign in'
|
||||
have_a_problem: "Have a problem? Find an answer here"
|
||||
remember_me: "Remember me"
|
||||
signed_in: 'Signed in successfully.'
|
||||
signed_out: 'Signed out successfully.'
|
||||
passwords:
|
||||
|
|
@ -44,14 +45,31 @@ en:
|
|||
invitation_token_invalid: 'The invitation token provided is not valid!'
|
||||
updated: 'Your password was set successfully. You are now signed in.'
|
||||
mailer:
|
||||
welcome: "Welcome %{email}!"
|
||||
hello: "Hello %{email}!"
|
||||
confirmation_instructions:
|
||||
subject: 'Confirmation instructions'
|
||||
you_can_confirm: "You can confirm your account through the link below:"
|
||||
confirm: "Confirm my account"
|
||||
reset_password_instructions:
|
||||
subject: 'Reset password instructions'
|
||||
someone_requested: "Someone has requested a link to change your password, and you can do this through the link below."
|
||||
change: "Change my password"
|
||||
wont_change: "Your password won't change until you access the link above and create a new one."
|
||||
ignore: "If you didn't request this, please ignore this email."
|
||||
unlock_instructions:
|
||||
subject: 'Unlock Instructions'
|
||||
account_locked: "Your account has been locked due to an excessive amount of unsuccessful sign in attempts."
|
||||
click_to_unlock: "Click the link below to unlock your account:"
|
||||
unlock: "Unlock my account"
|
||||
invitation:
|
||||
subject: 'A friend wants you to join Diaspora!'
|
||||
has_invited_you: "%{name} has invited you to join Diaspora"
|
||||
have_invited_you: "%{names} have invited you to join Diaspora"
|
||||
accept_at: ", at %{url}, you can accept it through the link below."
|
||||
accept: "Accept invitation"
|
||||
ignore: "If you don't want to accept the invitation, please ignore this email."
|
||||
no_account_till: "Your account won't be created until you access the link above and sign up."
|
||||
shared:
|
||||
links:
|
||||
sign_in: 'Sign in'
|
||||
|
|
|
|||
|
|
@ -20,11 +20,15 @@ fr:
|
|||
username: "Nom d'utilisateur"
|
||||
password: 'Mot de passe'
|
||||
sign_in: 'Connexion'
|
||||
have_a_problem: "Un problème ? Trouvez une réponse ici"
|
||||
signed_in: 'Connecté avec succès.'
|
||||
signed_out: 'Déconnecté avec succès.'
|
||||
passwords:
|
||||
send_instructions: 'Vous allez recevoir dans quelques minutes un e-mail contenant les instructions pour réinitialiser votre mot de passe.'
|
||||
updated: 'Votre mot de passe a été modifié avec succès. Vous êtes à présent connecté.'
|
||||
new:
|
||||
forgot_password: "Mot de passe oublié ?"
|
||||
send_password_instructions: "Envoyez-moi les instructions de réinitialisation de mot de passe"
|
||||
confirmations:
|
||||
send_instructions: 'Vous allez recevoir dans quelques minutes un e-mail contenant les instructions pour confirmer votre compte.'
|
||||
confirmed: 'Votre compte a été confirmé avec succès. Vous êtes à présent connecté.'
|
||||
|
|
|
|||
|
|
@ -12,19 +12,20 @@ en:
|
|||
account: "Account"
|
||||
_services: "Services"
|
||||
_photos: "photos"
|
||||
stream: "stream"
|
||||
ok: "OK"
|
||||
cancel: "Cancel"
|
||||
delete: "Delete"
|
||||
or: "or"
|
||||
by: "by"
|
||||
ago: "ago"
|
||||
username: "Username"
|
||||
email: "Email"
|
||||
home: "Home"
|
||||
password: "Password"
|
||||
password_confirmation: "Password confirmation"
|
||||
are_you_sure: "Are you sure?"
|
||||
fill_me_out: "Fill me out"
|
||||
back: "Back"
|
||||
the_world: "the world"
|
||||
search: "Search"
|
||||
|
||||
activemodel:
|
||||
errors:
|
||||
|
|
@ -41,66 +42,57 @@ en:
|
|||
attributes:
|
||||
diaspora_handle:
|
||||
taken: "is already taken"
|
||||
hello: "Hello world"
|
||||
application:
|
||||
helper:
|
||||
unknown_person: "unknown person"
|
||||
new_requests: "new requests"
|
||||
youtube_title:
|
||||
unknown: "Unknown Video Title"
|
||||
error_messages:
|
||||
helper:
|
||||
invalid_fields: "Invalid Fields"
|
||||
correct_the_following_errors_and_try_again: "Correct the following errors and try again."
|
||||
people:
|
||||
helper:
|
||||
results_for: " results for %{params}"
|
||||
people_on_pod_are_aware_of: " people on pod are aware of"
|
||||
layouts:
|
||||
application:
|
||||
view_profile: "view profile"
|
||||
edit_profile: "edit profile"
|
||||
account_settings: "account settings"
|
||||
search: "Search"
|
||||
logout: "logout"
|
||||
shared:
|
||||
stream_element:
|
||||
show_comments: "show comments"
|
||||
the_world: "the world"
|
||||
aspect_nav:
|
||||
all_aspects: "All Aspects"
|
||||
manage: "Manage"
|
||||
manage_your_aspects: "Manage your Aspects"
|
||||
everyone: "Everyone"
|
||||
add_a_new_aspect: "add a new aspect"
|
||||
sub_header:
|
||||
all_aspects: "All Aspects"
|
||||
manage_aspects: "Manage Aspects"
|
||||
publisher:
|
||||
share: "Share"
|
||||
post_a_message_to: "Post a message to %{aspect}"
|
||||
make_public: "make public"
|
||||
share_with_all: "Share with all aspects"
|
||||
share_with: "Share with %{aspect}"
|
||||
create: "Create"
|
||||
all: "all"
|
||||
aspect_friends:
|
||||
add_friends: "add friends"
|
||||
everyone: "Everyone"
|
||||
add_to: "add to %{aspect}"
|
||||
invitations:
|
||||
invites: 'Invites'
|
||||
invite_a_friend: 'Invite a friend'
|
||||
invitations_left: '(%{count} left)'
|
||||
invites: "Invites"
|
||||
invite_a_friend: "Invite a friend"
|
||||
invitations_left: "(%{count} left)"
|
||||
reshare:
|
||||
reshare: 'Reshare'
|
||||
reshare: "Reshare"
|
||||
author_info:
|
||||
view_profile: 'View profile'
|
||||
add_friend_dropdown:
|
||||
add_to: "add to %{aspect}"
|
||||
view_profile: "View profile"
|
||||
status_messages: "status messages"
|
||||
viewing: "viewing"
|
||||
public_explain:
|
||||
title: "You are about to post a public message!"
|
||||
outside: "Public messages will be available for others outside of Diaspora to see."
|
||||
logged_in: "logged in to %{service}"
|
||||
manage: "manage connected services"
|
||||
notification:
|
||||
new: "New %{type} from %{from}"
|
||||
aspects:
|
||||
no_friends_message:
|
||||
nobody: "We know you have friends — bring them to Diaspora!"
|
||||
|
|
@ -113,15 +105,10 @@ en:
|
|||
manage:
|
||||
add_a_new_aspect: "Add a new aspect"
|
||||
add_a_new_friend: "Add a new friend"
|
||||
show: "Show"
|
||||
update_aspects: "Update Aspects"
|
||||
requests: "Requests"
|
||||
ignore_remove: "Ignore/Remove"
|
||||
no_requests: "No new requests"
|
||||
remove_from_aspect: "Remove from Aspect"
|
||||
manage_aspects: "Manage aspects"
|
||||
drag_to_remove: "Drag to remove person from aspect"
|
||||
drag_to-add: "Drag to add people"
|
||||
drag_to_add: "Drag to add people"
|
||||
new_aspect:
|
||||
add_a_new_aspect: "Add a new aspect"
|
||||
name: "Name"
|
||||
|
|
@ -136,15 +123,19 @@ en:
|
|||
move_friend:
|
||||
failure: "didn't work %{inspect}"
|
||||
success: "Person moved to new aspect"
|
||||
error: "Error moving friend: %{inspect}"
|
||||
add_to_aspect:
|
||||
failure: "Failed to add friend to aspect."
|
||||
success: "Successfully added friend to aspect."
|
||||
helper:
|
||||
remove: "remove"
|
||||
aspect_not_empty: "Aspect not empty"
|
||||
are_you_sure: "Are you sure you want to delete this aspect?"
|
||||
remove_from_aspect:
|
||||
success: "Successfully removed person from aspect"
|
||||
failure: "Failed to remove person from aspect"
|
||||
users:
|
||||
edit:
|
||||
editing_profile: "Editing profile"
|
||||
invite_friends: "Invite friends"
|
||||
export_data: "Export Data"
|
||||
close_account: "Close Account"
|
||||
|
|
@ -155,14 +146,35 @@ en:
|
|||
download_photos: "download my photos"
|
||||
destroy: "Account successfully closed."
|
||||
getting_started:
|
||||
welcome: "Welcome to Diaspora!"
|
||||
signup_steps: "Complete your sign-up by doing these things:"
|
||||
'step_1':
|
||||
you_dont_have_any_photos: "You don't have any photos! Go to the"
|
||||
page_to_upload_some: "page to upload some."
|
||||
fill_me_out: "Fill me out"
|
||||
edit_profile: "Edit your profile"
|
||||
define_aspects: "Define your aspects"
|
||||
connect_services: "Connect your services"
|
||||
skip: "skip getting started"
|
||||
save_and_continue: "Save and continue"
|
||||
step_1:
|
||||
your_profile: "Your Profile"
|
||||
step_2:
|
||||
your_aspects: "Your aspects"
|
||||
description: "Tell Diaspora what different aspects of you are seen by different friends. You can manage these later by clicking the manage tab on the top right. Your aspects are unique to you, and not visible by others."
|
||||
aspect_name: "Aspect name"
|
||||
add: "Add"
|
||||
step_3:
|
||||
your_services: "Your services"
|
||||
description: 'Connect your existing social networks to your Diaspora account. You will be able to post publically through your Everyone tab when you select "public."'
|
||||
step_4:
|
||||
set_up: "You're all set up, %{name}!"
|
||||
ready_to_share: "You're now ready to start sharing with "
|
||||
continue: "Continue on to your everyone page, an overview of all of your aspects."
|
||||
change_profile: "You can change your profile any time by clicking"
|
||||
edit_profile: "edit profile"
|
||||
user_menu: "in your user menu (top right)."
|
||||
connect_disconnect: "You can connect/disconnect your services any time by clicking"
|
||||
edit_account: "edit account"
|
||||
manage_aspects: "You can manage your aspects any time by clicking the"
|
||||
manage: "manage"
|
||||
tab_also_added: "tab. Your contacts can also be added while on a particular aspect page, as well."
|
||||
update:
|
||||
password_changed: "Password Changed"
|
||||
password_not_changed: "Password Change Failed"
|
||||
|
|
@ -175,22 +187,18 @@ en:
|
|||
comment: "Comment"
|
||||
photos:
|
||||
show:
|
||||
delete_photo: "Delete Photo"
|
||||
prev: "prev"
|
||||
full_size: "full size"
|
||||
next: "next"
|
||||
edit_photo: "Edit Photo"
|
||||
delete_photo: "Delete Photo"
|
||||
comments: "comments"
|
||||
add_a_description: "Add a description"
|
||||
uploads: "uploads"
|
||||
make_profile_photo: "make profile photo"
|
||||
update_photo: "Update Photo"
|
||||
edit:
|
||||
editing: "Editing"
|
||||
delete_photo: "Delete Photo"
|
||||
photo:
|
||||
posted_a_new_photo_to: "posted a new photo to"
|
||||
posted_a_photo: "posted a photo"
|
||||
view_all: "view all of %{name}'s photos"
|
||||
new:
|
||||
new_photo: "New Photo"
|
||||
back_to_list: "Back to List"
|
||||
|
|
@ -208,25 +216,29 @@ en:
|
|||
new:
|
||||
sign_up: "Sign up"
|
||||
sign_up_for_diaspora: "Sign up for Diaspora"
|
||||
upload_existing_account: "Upload an existing Diaspora account"
|
||||
upload: "Upload"
|
||||
create:
|
||||
success: "You've joined Diaspora!"
|
||||
edit:
|
||||
edit: "Edit %{name}"
|
||||
leave_blank: "(leave blank if you don't want to change it)"
|
||||
password_to_confirm: "(we need your current password to confirm your changes)"
|
||||
unhappy: "Unhappy?"
|
||||
back: "Back"
|
||||
update: "Update"
|
||||
cancel_my_account: "Cancel my account"
|
||||
invitations:
|
||||
create:
|
||||
sent: 'Your invitation has been sent.'
|
||||
no_more: 'You have no more invitations.'
|
||||
already_sent: 'You already invited this person.'
|
||||
already_friends: 'You are already friends with this person'
|
||||
invitation_token_invalid: 'The invitation token provided is not valid!'
|
||||
updated: 'Your password was set successfully. You are now signed in.'
|
||||
sent: "Your invitation has been sent."
|
||||
no_more: "You have no more invitations."
|
||||
already_sent: "You already invited this person."
|
||||
already_friends: "You are already friends with this person"
|
||||
new:
|
||||
invite_someone_to_join: 'Invite someone to join Diaspora!'
|
||||
if_they_accept_info: 'if they accept, they will be added to the aspect you invited them'
|
||||
to: 'To'
|
||||
message: 'Message:'
|
||||
send_an_invitation: 'Send an invitation'
|
||||
send_invitation: 'Send invitation'
|
||||
invite_someone_to_join: "Invite someone to join Diaspora!"
|
||||
if_they_accept_info: "if they accept, they will be added to the aspect you invited them"
|
||||
to: "To"
|
||||
message: "Message:"
|
||||
send_an_invitation: "Send an invitation"
|
||||
send_invitation: "Send invitation"
|
||||
check_token:
|
||||
not_found: "Invitation token not found"
|
||||
status_messages:
|
||||
|
|
@ -234,35 +246,19 @@ en:
|
|||
tell_me_something_good: "tell me something good"
|
||||
oh_yeah: "oh yeah!"
|
||||
show:
|
||||
status_message: "Status Message"
|
||||
comments: "comments"
|
||||
destroy: "Destroy"
|
||||
view_all: "View All"
|
||||
message: "Message"
|
||||
owner: "Owner"
|
||||
helper:
|
||||
no_message_to_display: "No message to display."
|
||||
people:
|
||||
person:
|
||||
add_friend: "add friend"
|
||||
pending_request: "pending request"
|
||||
already_friends: "Already friends"
|
||||
thats_you: "thats you!"
|
||||
add_friend: "add friend"
|
||||
index:
|
||||
add_friend: "add friend"
|
||||
real_name: "real name"
|
||||
diaspora_handle: "diaspora handle"
|
||||
thats_you: "that's you!"
|
||||
friend_request_pending: "friend request pending"
|
||||
you_have_a_friend_request_from_this_person: "you have a friend request from this person"
|
||||
results_for: "search results for"
|
||||
new:
|
||||
new_person: "New Person"
|
||||
back_to_list: "Back to List"
|
||||
show:
|
||||
save: "save"
|
||||
no_posts: "no posts to display!"
|
||||
add_friend: "add friend"
|
||||
not_friends: "You're currently not friends with %{name}"
|
||||
request_people: "If you'd like, you can request to place him/her in one of your aspects."
|
||||
already_requested: "You have already sent a request to %{name}."
|
||||
|
|
@ -276,16 +272,8 @@ en:
|
|||
your_gender: "Your gender"
|
||||
your_birthday: "Your birthday"
|
||||
your_bio: "Your bio"
|
||||
fill_me_out: "Fill me out"
|
||||
your_photo: "Your photo"
|
||||
update_profile: "Update Profile"
|
||||
diaspora_username: "DIASPORA USERNAME"
|
||||
info: "Info"
|
||||
picture: "Picture"
|
||||
editing_profile: "Editing profile"
|
||||
you_dont_have_any_photos: "You don't have any photos! Go to the"
|
||||
page_to_upload_some: "page to upload some."
|
||||
search: "Search"
|
||||
allow_search: "Allow for people to search for you"
|
||||
profile_photo_upload:
|
||||
or_select_one: "or select one from your already existing"
|
||||
|
|
@ -296,7 +284,12 @@ en:
|
|||
remove_friend: "remove friend"
|
||||
edit_my_profile: "Edit my profile"
|
||||
last_seen: "last seen: %{how_long_ago}"
|
||||
friends_since: "friends since: %{how_long_ago}"
|
||||
bio: "bio"
|
||||
gender: "gender"
|
||||
born: "born"
|
||||
helper:
|
||||
results_for: " results for %{params}"
|
||||
people_on_pod_are_aware_of: " people on pod are aware of"
|
||||
requests:
|
||||
manage_aspect_contacts:
|
||||
add_a_new_friend_to: "Add a new friend to"
|
||||
|
|
@ -309,16 +302,33 @@ en:
|
|||
error: "Please select an aspect!"
|
||||
ignore: "Ignored friend request."
|
||||
create:
|
||||
error: "No diaspora seed found with this email!"
|
||||
invalid_identity: "This identity is not properly formatted"
|
||||
error_server: "Problem with other server. Maybe it doesn't exist?"
|
||||
yourself: "You cannot befriend yourself!"
|
||||
already_friends: "You are already friends with %{destination_url}!"
|
||||
success: "A friend request was sent to %{destination_url}."
|
||||
horribly_wrong: "Something went horribly wrong."
|
||||
tried: "we tried our best to send a message to %{account}"
|
||||
services:
|
||||
index:
|
||||
logged_in_as: "logged in as"
|
||||
disconnect: "disconnect"
|
||||
really_disconnect: "disconnect %{service}?"
|
||||
connect_to_twitter: "Connect to twitter"
|
||||
connect_to_facebook: "Connect to facebook"
|
||||
create:
|
||||
success: "Authentication successful."
|
||||
destroy:
|
||||
success: "Successfully destroyed authentication."
|
||||
dashboards:
|
||||
helper:
|
||||
home: "Home"
|
||||
notifier:
|
||||
hello: "Hello %{name}!"
|
||||
love: "love,"
|
||||
diaspora: "the diaspora email robot"
|
||||
new_request:
|
||||
subject: "new Diaspora* friend request from %{from}"
|
||||
just_sent_you: "just sent you a friend request on Diaspora*"
|
||||
try_it_out: "You should really think about checking it out."
|
||||
sign_in: "sign in here"
|
||||
request_accepted:
|
||||
subject: "%{name} has accepted your friend request on Diaspora*"
|
||||
accepted: "has accepted your friend request. They are now in your"
|
||||
aspect: "aspect."
|
||||
date:
|
||||
order: [:month, :day, :year]
|
||||
|
|
|
|||
|
|
@ -6,6 +6,26 @@
|
|||
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
||||
|
||||
fr:
|
||||
|
||||
settings: "Options"
|
||||
profile: "Profil"
|
||||
account: "Compte"
|
||||
_services: "Services"
|
||||
_photos: "photos"
|
||||
stream: "flux"
|
||||
ok: "OK"
|
||||
cancel: "Annuler"
|
||||
delete: "Supprimer"
|
||||
or: "ou"
|
||||
by: "par"
|
||||
ago: "plus tôt"
|
||||
username: "Nom d'utilisateur"
|
||||
email: "E-mail"
|
||||
home: "Accueil"
|
||||
password: "Mot de passe"
|
||||
password_confirmation: "Confirmation du mot de passe"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
|
||||
activemodel:
|
||||
errors:
|
||||
models:
|
||||
|
|
@ -26,9 +46,6 @@ fr:
|
|||
helper:
|
||||
unknown_person: "personne inconnue"
|
||||
new_requests: "nouvelles requêtes"
|
||||
dashboards:
|
||||
helper:
|
||||
home: "accueil"
|
||||
error_messages:
|
||||
helper:
|
||||
invalid_fields: "Champs invalides"
|
||||
|
|
@ -36,7 +53,7 @@ fr:
|
|||
people:
|
||||
helper:
|
||||
results_for: " résultats concernant %{params}"
|
||||
people_on_pod_are_aware_of: " personnes agissant comme des automates sont au courant"
|
||||
people_on_pod_are_aware_of: " personnes sur le pod sont au courant"
|
||||
layouts:
|
||||
application:
|
||||
view_profile: "voir le profil"
|
||||
|
|
@ -45,50 +62,45 @@ fr:
|
|||
search: "Rechercher"
|
||||
logout: "déconnexion"
|
||||
shared:
|
||||
stream_element:
|
||||
show_comments: "voir les commentaires"
|
||||
the_world: "le monde"
|
||||
aspect_nav:
|
||||
all_aspects: "Tous les aspects"
|
||||
manage: "Gérer"
|
||||
manage_your_aspects: "Gérer vos aspects"
|
||||
everyone: "Tout le monde"
|
||||
add_a_new_aspect: "ajouter un nouvel aspect"
|
||||
sub_header:
|
||||
all_aspects: "Tous les aspects"
|
||||
manage_aspects: "Gérer les aspects"
|
||||
publisher:
|
||||
share: "Partager"
|
||||
post_a_message_to: "Poster un message à %{aspect}"
|
||||
make_public: "rendre public"
|
||||
share_with_all: "Partager avec tous les aspects"
|
||||
share_with: "Partager avec %{aspect}"
|
||||
create: "Créer"
|
||||
all: "tous"
|
||||
aspect_friends:
|
||||
add_friends: "ajouter des amis"
|
||||
photos: "photos"
|
||||
albums:
|
||||
album:
|
||||
you: "vous"
|
||||
new_album:
|
||||
create: "créer"
|
||||
add_a_new_album: "Ajouter un nouvel album"
|
||||
show:
|
||||
edit_album: "Éditer l’album"
|
||||
albums: "albums"
|
||||
updated: "mis à jour"
|
||||
by: "par"
|
||||
edit:
|
||||
album_name: "Nom de l'album"
|
||||
editing: "Édition"
|
||||
updated: "mis à jour"
|
||||
update_album: "Mettre à jour l'album"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
delete_album: "Supprimer l’album"
|
||||
cancel: "Annuler"
|
||||
index:
|
||||
home: "accueil"
|
||||
new_album: "Nouvel album"
|
||||
create:
|
||||
success: "Vous avez créé un album nommé %{name}."
|
||||
update:
|
||||
success: "L’album %{name} a été édité avec succès."
|
||||
failure: "L’édition de l’album %{name} a échoué."
|
||||
destroy:
|
||||
success: "L’album %{name} a été supprimé."
|
||||
helper:
|
||||
friends_albums: "Albums d’amis"
|
||||
your_albums: "Vos albums"
|
||||
everyone: "Tout le monde"
|
||||
add_to: "ajouter à %{aspect}"
|
||||
invitations:
|
||||
invites: 'Invitations'
|
||||
invite_a_friend: 'Inviter un ami'
|
||||
invitations_left: '(%{count} restant(s))'
|
||||
reshare:
|
||||
reshare: 'Repartager'
|
||||
author_info:
|
||||
view_profile: 'Voir le profil'
|
||||
add_friend_dropdown:
|
||||
add_to: "ajouter à %{aspect}"
|
||||
public_explain:
|
||||
title: "Vous êtes sur le point d'envoyer un message public !"
|
||||
outside: "Les messages publics pourront être vus par d'autres en dehors de Diaspora."
|
||||
logged_in: "connecté à %{service}"
|
||||
manage: "gérer les services connectés"
|
||||
aspects:
|
||||
no_friends_message:
|
||||
nobody: "Vous avez forcément des amis, n’hésitez pas à les ramener sur Diaspora !"
|
||||
|
|
@ -105,6 +117,11 @@ fr:
|
|||
update_aspects: "Mettre à jour les aspects"
|
||||
requests: "Requêtes"
|
||||
ignore_remove: "Ignorer/Supprimer"
|
||||
no_requests: "Pas de nouvelle requête"
|
||||
remove_from_aspect: "Supprimer de l'aspect"
|
||||
manage_aspects: "Gérer les aspects"
|
||||
drag_to_remove: "Faîtes glisser pour enlever cette personne de l'aspect"
|
||||
drag_to-add: "Faîtes glisser pour ajouter des personnes"
|
||||
new_aspect:
|
||||
add_a_new_aspect: "Ajouter un nouvel aspect"
|
||||
name: "Nom"
|
||||
|
|
@ -120,8 +137,8 @@ fr:
|
|||
failure: "ne fonctionne pas %{inspect}"
|
||||
success: "Personne déplacée vers le nouvel aspect"
|
||||
add_to_aspect:
|
||||
failure: "L’ajout de l’ami vers l’aspect a échoué."
|
||||
success: "Vous avez ajouté l’ami vers l’aspect avec succès."
|
||||
failure: "L’ajout de l’ami à l’aspect a échoué."
|
||||
success: "Vous avez ajouté l’ami à l’aspect avec succès."
|
||||
helper:
|
||||
remove: "supprimer"
|
||||
aspect_not_empty: "L’aspect n’est pas vide"
|
||||
|
|
@ -129,28 +146,31 @@ fr:
|
|||
edit:
|
||||
editing_profile: "Édition du profil"
|
||||
invite_friends: "Inviter des amis"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
export_data: "Exporter des données"
|
||||
close_account: "Clôre le compte"
|
||||
change_language: "Changer la langue"
|
||||
change_password: "Changer le mot de passe"
|
||||
new_password: "Noveau mot de passe"
|
||||
password_confirmation: "Confirmation du mot de passe"
|
||||
settings: "Options"
|
||||
profile: "Profil"
|
||||
account: "Compte"
|
||||
services: "Services"
|
||||
cancel: "Annuler"
|
||||
new_password: "Nouveau mot de passe"
|
||||
download_xml: "télécharger mon xml"
|
||||
download_photos: "télécharger mes photos"
|
||||
destroy: "Compte clôturé avec succès."
|
||||
getting_started:
|
||||
signup_steps: "Complétez votre inscription en effectuant ceci :"
|
||||
'step_1':
|
||||
albums: "Albums"
|
||||
you_dont_have_any_photos: "Vous n'avez aucune photos ! Rendez-vous sur la page"
|
||||
page_to_upload_some: "afin d'en transférer quelques une."
|
||||
or: "ou"
|
||||
page_to_upload_some: "afin d'en transférer quelques-unes."
|
||||
fill_me_out: "Remplissez-moi"
|
||||
edit_profile: "Éditez votre profil"
|
||||
define_aspects: "Définissez vos aspects"
|
||||
connect_services: "Connectez vos services"
|
||||
update:
|
||||
password_changed: "Mot de passe mis à jour"
|
||||
password_not_changed: "Échec de la mise à jour du mot de passe"
|
||||
language_changed: "Langue mise à jour"
|
||||
language_not_changed: "Échec lors de la mise à jour de la langue"
|
||||
public:
|
||||
does_not_exist: "L'utilisateur %{username} n'existe pas !"
|
||||
comments:
|
||||
comment:
|
||||
ago: "il y a"
|
||||
new_comment:
|
||||
comment: "Commentaire"
|
||||
photos:
|
||||
|
|
@ -160,17 +180,17 @@ fr:
|
|||
next: "suivant"
|
||||
edit_photo: "Éditer la photo"
|
||||
delete_photo: "Supprimer la photo"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
comments: "commentaires"
|
||||
add_a_description: "Ajouter une description"
|
||||
uploads: "téléchargements"
|
||||
make_profile_photo: "en faire la photo de profil"
|
||||
update_photo: "Mettre à jour la photo"
|
||||
edit:
|
||||
editing: "Édition"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
delete_photo: "Supprimer la photo"
|
||||
photo:
|
||||
show_comments: "afficher les commentaires"
|
||||
posted_a_new_photo_to: "a publié une nouvelle photo dans"
|
||||
delete: "Supprimer"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
posted_a_photo: "a publié une nouvelle photo"
|
||||
new:
|
||||
new_photo: "Nouvelle photo"
|
||||
back_to_list: "Retourner à la liste"
|
||||
|
|
@ -190,10 +210,6 @@ fr:
|
|||
sign_up_for_diaspora: "Inscription à Diaspora"
|
||||
upload_existing_account: "Télécharger un compte Diaspora existant"
|
||||
upload: "Télécharger"
|
||||
username: "Nom d'utilisateur"
|
||||
email: "Courriel"
|
||||
password: "Mot de passe"
|
||||
password_confirmation: "Confirmation du mot de passe"
|
||||
create:
|
||||
success: "Vous avez rejoint Diaspora !"
|
||||
invitations:
|
||||
|
|
@ -203,20 +219,23 @@ fr:
|
|||
already_sent: 'Vous avez déjà invité cette personne.'
|
||||
already_friends: 'Vous êtes déjà ami avec cette personne'
|
||||
invitation_token_invalid: 'Le jeton d’invitation fourni n’est pas valide !'
|
||||
updated: 'Votre mot de passe a été réglé avec succès. Vous êtes à présent connecté.'
|
||||
|
||||
updated: 'Votre mot de passe a été mis à jour avec succès. Vous êtes à présent connecté.'
|
||||
new:
|
||||
invite_someone_to_join: "Inviter quelqu'un à rejoindre Diaspora !"
|
||||
if_they_accept_info: "s'ils acceptent, ils seront ajoutés à l'aspect auquel vous les avez invités"
|
||||
to: 'À'
|
||||
message: 'Message :'
|
||||
send_an_invitation: 'Envoyer une invitation'
|
||||
send_invitation: "Envoyer l'invitation"
|
||||
check_token:
|
||||
not_found: "Jeton d'authentification introuvable"
|
||||
status_messages:
|
||||
new_status_message:
|
||||
tell_me_something_good: "dites-moi quelque chose de bien"
|
||||
oh_yeah: "oh ouais !"
|
||||
status_message:
|
||||
show_comments: "afficher les commentaires"
|
||||
delete: "Supprimer"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
show:
|
||||
status_message: "Message d’état"
|
||||
comments: "commentaires"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
destroy: "Détruire"
|
||||
view_all: "Tout afficher"
|
||||
message: "Message"
|
||||
|
|
@ -227,6 +246,8 @@ fr:
|
|||
person:
|
||||
add_friend: "ajouter en ami"
|
||||
pending_request: "requête en attente"
|
||||
already_friends: "Déjà amis"
|
||||
thats_you: "c'est vous !"
|
||||
index:
|
||||
add_friend: "ajouter un ami"
|
||||
real_name: "nom réel"
|
||||
|
|
@ -234,19 +255,20 @@ fr:
|
|||
thats_you: "c’est vous !"
|
||||
friend_request_pending: "Requête d’ami en attente"
|
||||
you_have_a_friend_request_from_this_person: "vous avez une requête d’ami de la part de cette personne"
|
||||
results_for: "résultats de la recherche pour"
|
||||
new:
|
||||
new_person: "Nouvelle personne"
|
||||
back_to_list: "Retourner à la liste"
|
||||
show:
|
||||
last_seen: "dernière connexion : %{how_long_ago}"
|
||||
friends_since: "amis depuis : %{how_long_ago}"
|
||||
save: "sauver"
|
||||
are_you_sure: "Êtes-vous sûr(e) ?"
|
||||
remove_friend: "supprimer de mes amis"
|
||||
no_posts: "aucun message à afficher !"
|
||||
add_friend: "ajouter un ami"
|
||||
not_friends: "Vous n'êtes actuellement pas ami avec %{name}"
|
||||
request_people: "Si vous le voulez, vous pouvez demander à le/la placer dans vos aspects."
|
||||
already_requested: "Vous avez déjà envoyé une requête à %{name}."
|
||||
does_not_exist: "Cette personne n'existe pas !"
|
||||
edit:
|
||||
settings: "Options"
|
||||
info_available_to: "Cette info sera consultable par toutes les personnes avec qui vous êtes connecté sur Diaspora."
|
||||
your_profile: "Votre profil"
|
||||
your_name: "Votre nom"
|
||||
first_name: "Votre prénom"
|
||||
|
|
@ -256,20 +278,25 @@ fr:
|
|||
your_bio: "Votre bio"
|
||||
fill_me_out: "Remplissez-moi"
|
||||
your_photo: "Votre photo"
|
||||
profile: "Profil"
|
||||
account: "Compte"
|
||||
services: "Services"
|
||||
cancel: "Annuler"
|
||||
update_profile: "Mettre à jour le profil"
|
||||
home: "Accueil"
|
||||
diaspora_username: "NOM D'UTILISATEUR DIASPORA"
|
||||
info: "Info"
|
||||
picture: "Image"
|
||||
editing_profile: "Edition du profil"
|
||||
albums: "Albums"
|
||||
you_dont_have_any_photos: "Vous n'aver aucune photo ! Rendez-vous sur la page"
|
||||
page_to_upload_some: "afin d'en transférer quelques une."
|
||||
or: "ou"
|
||||
you_dont_have_any_photos: "Vous n'avez aucune photo ! Rendez-vous sur la page"
|
||||
page_to_upload_some: "afin d'en transférer quelques-unes."
|
||||
search: "Rechercher"
|
||||
allow_search: "Autoriser des personnes à vous rechercher"
|
||||
profile_photo_upload:
|
||||
or_select_one: "ou sélectionnez-en une dans celles déjà existantes"
|
||||
update:
|
||||
updated: "Profil mis à jour"
|
||||
failed: "La mise à jour du profil a échoué"
|
||||
profile_sidebar:
|
||||
remove_friend: "supprimer de mes amis"
|
||||
edit_my_profile: "Éditer mon profil"
|
||||
last_seen: "dernière connexion : %{how_long_ago}"
|
||||
friends_since: "amis depuis : %{how_long_ago}"
|
||||
requests:
|
||||
new_request:
|
||||
add_a_new_friend_to: "Ajouter un nouvel ami à"
|
||||
|
|
@ -289,12 +316,12 @@ fr:
|
|||
already_friends: "Vous êtes déjà ami avec %{destination_url}!"
|
||||
success: "Une requête d’ami a été envoyée à %{destination_url}."
|
||||
horribly_wrong: "Quelque chose d’horrible s’est produit."
|
||||
tried: "nous avons fait de notre mieux pour envoyer un message à %{account}"
|
||||
services:
|
||||
index:
|
||||
settings: "Options"
|
||||
profile: "Profil"
|
||||
account: "Compte"
|
||||
services: "Services"
|
||||
create:
|
||||
success: "Authentification réussie."
|
||||
destroy:
|
||||
success: "Authentification clôturée avec succès."
|
||||
|
||||
# From http://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/fr.yml
|
||||
date:
|
||||
|
|
|
|||
|
|
@ -22,6 +22,27 @@
|
|||
# seed: frö
|
||||
#
|
||||
sv:
|
||||
|
||||
settings: "Inställningar"
|
||||
profile: "Profil"
|
||||
account: "Konto"
|
||||
_services: "Tjänster"
|
||||
_photos: "foton"
|
||||
ok: "OK"
|
||||
cancel: "Avbryt"
|
||||
delete: "Ta bort"
|
||||
or: "eller"
|
||||
ago: "sedan"
|
||||
username: "Användarnamn"
|
||||
email: "E-post"
|
||||
password: "Lösenord"
|
||||
password_confirmation: "Bekräfta lösenord"
|
||||
are_you_sure: "Är du säker?"
|
||||
fill_me_out: "Fyll i mig"
|
||||
back: "Tillbaka"
|
||||
the_world: "världen"
|
||||
search: "Sök"
|
||||
|
||||
activemodel:
|
||||
errors:
|
||||
models:
|
||||
|
|
@ -37,74 +58,57 @@ sv:
|
|||
attributes:
|
||||
diaspora_handle:
|
||||
taken: "är redan taget"
|
||||
hello: "Hej världen!"
|
||||
application:
|
||||
helper:
|
||||
unknown_person: "okänd person"
|
||||
new_requests: "nya förfrågningar"
|
||||
dashboards:
|
||||
helper:
|
||||
home: "hem"
|
||||
youtube_title:
|
||||
unknown: "Okänd videotitel"
|
||||
error_messages:
|
||||
helper:
|
||||
invalid_fields: "Ogiltiga uppgifter"
|
||||
correct_the_following_errors_and_try_again: "Rätta följande fel och försök igen."
|
||||
people:
|
||||
helper:
|
||||
results_for: " resultat för %{params}"
|
||||
people_on_pod_are_aware_of: " personer på denna plats är medvetna om att"
|
||||
layouts:
|
||||
application:
|
||||
view_profile: "visa profil"
|
||||
edit_profile: "ändra profil"
|
||||
account_settings: "kontoinstallningar"
|
||||
search: "Sök ..."
|
||||
logout: "logga ut"
|
||||
shared:
|
||||
stream_element:
|
||||
show_comments: "show comments"
|
||||
aspect_nav:
|
||||
all_aspects: "Alla sidor"
|
||||
manage: "Hantera"
|
||||
manage_your_aspects: "Hantera dina sidor"
|
||||
sub_header:
|
||||
all_aspects: "Alla sidor"
|
||||
manage_aspects: "Hantera sidor"
|
||||
everyone: "Alla"
|
||||
add_a_new_aspect: "lägg till en ny sida"
|
||||
publisher:
|
||||
share: "Dela"
|
||||
post_a_message_to: "Skicka ett meddelande till %{aspect}"
|
||||
make_public: "gör publik"
|
||||
share_with_all: "Dela på alla sidor"
|
||||
share_with: "Dela med %{aspect}"
|
||||
all: "alla"
|
||||
aspect_friends:
|
||||
add_friends: "lägg till vänner"
|
||||
photos: "foton"
|
||||
albums:
|
||||
album:
|
||||
you: "du"
|
||||
new_album:
|
||||
create: "skapa"
|
||||
add_a_new_album: "Lägg till ett nytt fotoalbum"
|
||||
show:
|
||||
edit_album: "Ändra fotoalbum"
|
||||
albums: "fotoalbum"
|
||||
updated: "uppdaterad"
|
||||
by: "av"
|
||||
edit:
|
||||
album_name: "Namn på fotoalbum"
|
||||
editing: "Ändrar"
|
||||
updated: "uppdaterad"
|
||||
update_album: "Uppdatera fotoalbum"
|
||||
are_you_sure: "Är du säker?"
|
||||
delete_album: "Ta bort fotoalbum"
|
||||
cancel: "Avbryt"
|
||||
index:
|
||||
home: "hem"
|
||||
new_album: "Nytt fotoalbum"
|
||||
create:
|
||||
success: "Du har nu skapat fotoalbumet %{name}."
|
||||
update:
|
||||
success: "Fotoalbumet %{name} ändrades."
|
||||
failure: "Ändringarna av fotoalbumet %{name} misslyckades."
|
||||
destroy:
|
||||
success: "Fotoalbumet %{name} är nu borttaget."
|
||||
helper:
|
||||
friends_albums: "Vänners fotoalbum"
|
||||
your_albums: "Dina fotoalbum"
|
||||
everyone: "Alla"
|
||||
add_to: "lägg till i %{aspect}"
|
||||
invitations:
|
||||
invites: "Inbjudningar"
|
||||
invite_a_friend: "Bjud in en vän"
|
||||
invitations_left: "(%{count} kvar)"
|
||||
reshare:
|
||||
reshare: "Återdela"
|
||||
author_info:
|
||||
view_profile: "Visa profil"
|
||||
status_messages: "statusmeddelande"
|
||||
viewing: "visar"
|
||||
public_explain:
|
||||
title: "Du är på väg att skicka ett publikt meddelande!"
|
||||
outside: "Publika meddelanden kan läsas av användare utanför Diaspora."
|
||||
logged_in: "inloggad på %{service}"
|
||||
manage: "hantera anslutna tjänster"
|
||||
notification:
|
||||
new: "Ny %{type} från %{from}"
|
||||
aspects:
|
||||
no_friends_message:
|
||||
nobody: "Vi vet att du har vänner, bjud in dem till Diaspora!"
|
||||
|
|
@ -117,10 +121,10 @@ sv:
|
|||
manage:
|
||||
add_a_new_aspect: "Lägg till en ny sida"
|
||||
add_a_new_friend: "Lägg till en ny vän"
|
||||
show: "Visa"
|
||||
update_aspects: "Uppdatera sidor"
|
||||
requests: "Vänförfrågningar"
|
||||
ignore_remove: "Ignorera/Ta bort"
|
||||
no_requests: "Inga nya förfrågningar"
|
||||
manage_aspects: "Hantera sidor"
|
||||
drag_to_add: "Dra för att lägga till personer"
|
||||
new_aspect:
|
||||
add_a_new_aspect: "Lägg till ny sida"
|
||||
name: "Namn"
|
||||
|
|
@ -135,58 +139,82 @@ sv:
|
|||
move_friend:
|
||||
failure: "fungerade inte %{inspect}"
|
||||
success: "Personen flyttades till den nya sidan"
|
||||
error: "Kunde inte flytta vän: %{inspect}"
|
||||
add_to_aspect:
|
||||
failure: "Misslyckades med att lägga in personen på den nya sidan."
|
||||
success: "Personen tillagt på sidan."
|
||||
helper:
|
||||
remove: "ta bort"
|
||||
aspect_not_empty: "Sidan är inte tom"
|
||||
are_you_sure: "Är du säker på att du vill ta bort den här sidan?"
|
||||
remove_from_aspect:
|
||||
success: "Personen är nu borttagen från vald sida"
|
||||
failure: "Misslyckades med att ta bort personen från vald sida"
|
||||
users:
|
||||
edit:
|
||||
editing_profile: "Ändrar profil"
|
||||
invite_friends: "Bjud in en vän"
|
||||
are_you_sure: "Är du säker?"
|
||||
export_data: "Exportera data"
|
||||
close_account: "Stäng kontot"
|
||||
change_language: "Ändra språk"
|
||||
change_password: "Ändra lösenord"
|
||||
new_password: "Nytt lösenord"
|
||||
password_confirmation: "Bekräfta lösenord"
|
||||
settings: "Inställningar"
|
||||
profile: "Profil"
|
||||
account: "Konto"
|
||||
services: "Tjänster"
|
||||
cancel: "Avbryt"
|
||||
download_xml: "Ladda ner min xml"
|
||||
download_photos: "Ladda ner mina foton"
|
||||
destroy: "Ditt konto är nu stängt."
|
||||
getting_started:
|
||||
'step_1':
|
||||
albums: "Fotoalbum"
|
||||
you_dont_have_any_photos: "Du har inga foton! Gå till"
|
||||
page_to_upload_some: "sidan för att ladda upp några."
|
||||
or: "eller"
|
||||
welcome: "Välkommen till diaspora!"
|
||||
signup_steps: "Slutför registreringen genom att följa den här guiden:"
|
||||
edit_profile: "Ändra din profil"
|
||||
define_aspects: "Välj dina sidor"
|
||||
connect_services: "Anslut andra tjänster"
|
||||
skip: "hoppa över guiden"
|
||||
save_and_continue: "Spara och fortsätt"
|
||||
step_1:
|
||||
your_profile: "Din Profil"
|
||||
step_2:
|
||||
your_aspects: "Dina sidor"
|
||||
description: "Här anger du vilka sidor av dig själv du vill visa på Diaspora, dessa sidor är bara något du själv ser. Genom dessa kan du välja vilka personer som ska se vad du skickar."
|
||||
aspect_name: "Namn på sida"
|
||||
add: "Lägg till"
|
||||
step_3:
|
||||
your_services: "Dina tjänster"
|
||||
description: 'Anslut dina befintliga tjänster till ditt Diaspora-konto. Du kommer att kunna skicka meddelanden genom dessa om du väljer "gör publik." på sidan för alla vänner.'
|
||||
step_4:
|
||||
set_up: "Nu är guiden klar, %{name}!"
|
||||
ready_to_share: "Du är nu redo att börja dela med "
|
||||
continue: 'Fortsätt till "Alla" sidan, en överblick av alla dina sidor.'
|
||||
change_profile: "Du kan ändra din profil närsomhelst genom att klicka på"
|
||||
edit_profile: "ändra profil"
|
||||
user_menu: "i användarmenyn uppe till vänster."
|
||||
connect_disconnect: "Du kan ansluta och koppla bort dina andra tjänster när som helst genom att klicka på"
|
||||
edit_account: "kontoinställningar"
|
||||
manage_aspects: "Du kan hantera dina olika sidor närsomhelst genom att klicka på"
|
||||
manage: "hantera"
|
||||
tab_also_added: "-fliken. Du kan även lägga till en ny kontakt direkt på en sida."
|
||||
update:
|
||||
password_changed: "Lösenordet är nu ändrat"
|
||||
password_not_changed: "Lösenordet kunde inte ändras"
|
||||
language_changed: "Språk är nu ändrat"
|
||||
language_not_changed: "Språket kunde inte ändras"
|
||||
public:
|
||||
does_not_exist: "Användaren %{username} finns inte!"
|
||||
comments:
|
||||
comment:
|
||||
ago: "sedan"
|
||||
new_comment:
|
||||
comment: "Kommentar"
|
||||
photos:
|
||||
show:
|
||||
delete_photo: "Ta bort foto"
|
||||
prev: "föregående"
|
||||
full_size: "full storlek"
|
||||
next: "nästa"
|
||||
edit_photo: "Ändra foto"
|
||||
delete_photo: "Ta bort foto"
|
||||
are_you_sure: "Är du säker?"
|
||||
comments: "kommentarer"
|
||||
add_a_description: "Lägg till beskrivning"
|
||||
make_profile_photo: "använd som profilbild"
|
||||
update_photo: "Uppdatera foto"
|
||||
edit:
|
||||
editing: "Ändrar"
|
||||
are_you_sure: "Är du säker?"
|
||||
delete_photo: "Ta bort foto"
|
||||
photo:
|
||||
show_comments: "visa kommentarer"
|
||||
posted_a_new_photo_to: "laddade upp ett nytt foto till"
|
||||
delete: "Ta bort"
|
||||
are_you_sure: "Är du säker?"
|
||||
view_all: "visa alla foton %{name} laddat upp"
|
||||
new:
|
||||
new_photo: "Nytt foto"
|
||||
back_to_list: "Tillbaka till listan"
|
||||
|
|
@ -204,12 +232,6 @@ sv:
|
|||
new:
|
||||
sign_up: "Registrera dig"
|
||||
sign_up_for_diaspora: "Gå med i Diaspora"
|
||||
upload_existing_account: "Ladda upp ett befintligt Diaspora-konto"
|
||||
upload: "Ladda upp"
|
||||
username: "Användarnamn"
|
||||
email: "E-post address"
|
||||
password: "Lösenord"
|
||||
password_confirmation: "Bekräfta lösenord"
|
||||
create:
|
||||
success: "Du har nu gått med i Diaspora!"
|
||||
invitations:
|
||||
|
|
@ -218,51 +240,41 @@ sv:
|
|||
no_more: 'Du har inga fler inbjudningar.'
|
||||
already_sent: 'Du har redan bjudit in denna person.'
|
||||
already_friends: 'Du är redan vän med den här personen'
|
||||
invitation_token_invalid: 'Din inbjudningskod är inte giltig!'
|
||||
updated: 'Ditt lösenord är nu uppdaterat, och du har loggats in.'
|
||||
|
||||
new:
|
||||
invite_someone_to_join: "Bjud in en än till Diaspora!"
|
||||
if_they_accept_info: "om de accepterar så kommer de att läggas till på den sida du valde"
|
||||
to: "Till"
|
||||
message: "Meddelande:"
|
||||
send_an_invitation: "Skicka en inbjudan"
|
||||
send_invitation: "Skicka inbjudan"
|
||||
check_token:
|
||||
not_found: "Inbjudan inte funnen"
|
||||
status_messages:
|
||||
new_status_message:
|
||||
tell_me_something_good: "berätta något intressant"
|
||||
oh_yeah: "oh yeah!"
|
||||
status_message:
|
||||
show_comments: "visa kommentarer"
|
||||
delete: "Ta bort"
|
||||
are_you_sure: "Är du säker?"
|
||||
show:
|
||||
status_message: "Statusmeddelande"
|
||||
comments: "kommentarer"
|
||||
are_you_sure: "Är du säker?"
|
||||
destroy: "Ta bort"
|
||||
view_all: "Visa alla"
|
||||
message: "Meddelande"
|
||||
owner: "Ägare"
|
||||
helper:
|
||||
no_message_to_display: "Inget meddelande att visa."
|
||||
index:
|
||||
status_messages: "statusmeddelanden"
|
||||
people:
|
||||
person:
|
||||
add_friend: "lägg till vän"
|
||||
pending_request: "väntande vänförfrågan"
|
||||
pending_request: "väntande förfrågningar"
|
||||
already_friends: "Redan vänner"
|
||||
thats_you: "Detta är du!"
|
||||
index:
|
||||
add_friend: "lägg till vän"
|
||||
real_name: "verkligt namn"
|
||||
diaspora_handle: "diaspora-adress"
|
||||
thats_you: "det är du!"
|
||||
friend_request_pending: "vänförfrågan är skickad"
|
||||
you_have_a_friend_request_from_this_person: "du har en väntande vänförfrågan från den här personen"
|
||||
new:
|
||||
new_person: "Ny person"
|
||||
back_to_list: "Tillbaka till listan"
|
||||
results_for: "sökresultat för"
|
||||
show:
|
||||
last_seen: "senast sedd: %{how_long_ago}"
|
||||
friends_since: "vänner sedan: %{how_long_ago}"
|
||||
save: "spara"
|
||||
are_you_sure: "Är du säker?"
|
||||
remove_friend: "ta bort vän"
|
||||
no_posts: "ingenting att visa!"
|
||||
add_friend: "lägg till en vän"
|
||||
no_posts: "inga meddelanden att visa!"
|
||||
add_friend: "lägg till vän"
|
||||
not_friends: "Du ärr närvarande inte vän med %{name}"
|
||||
request_people: "Om du känner för det så skulle du kunna skicka en vänförfrågan."
|
||||
already_requested: "Du har redan skickat en vänförfrågan till %{name}."
|
||||
does_not_exist: "Den här personen finns inte!"
|
||||
edit:
|
||||
settings: "Inställningar"
|
||||
info_available_to: "Den här informationen kommer vara synlig för alla som du ansluter till på diaspora."
|
||||
your_profile: "Din profil"
|
||||
your_name: "Ditt namn"
|
||||
first_name: "Förnamn"
|
||||
|
|
@ -270,22 +282,24 @@ sv:
|
|||
your_gender: "Ditt kön"
|
||||
your_birthday: "Din födelsedag"
|
||||
your_bio: "Din biografi"
|
||||
fill_me_out: "Fyll i mig"
|
||||
your_photo: "Ditt foto"
|
||||
profile: "Profil"
|
||||
account: "Konto"
|
||||
services: "Tjänster"
|
||||
cancel: "Avbryt"
|
||||
your_photo: "Your photo"
|
||||
update_profile: "Uppdatera profil"
|
||||
home: "Hem"
|
||||
diaspora_username: "Användarnamn:"
|
||||
info: "Info"
|
||||
picture: "Foto"
|
||||
editing_profile: "Ändrar profil"
|
||||
albums: "Fotoalbum"
|
||||
you_dont_have_any_photos: "Du har inga foton! Gå till"
|
||||
page_to_upload_some: "sidan för att ladda upp några."
|
||||
or: "eller"
|
||||
allow_search: "Tillåt andra att söka efter dig"
|
||||
profile_photo_upload:
|
||||
or_select_one: "eller välj en befintlig bild"
|
||||
update:
|
||||
updated: "Profilen är uppdaterad"
|
||||
failed: "Misslyckades med att uppdatera profilen"
|
||||
profile_sidebar:
|
||||
remove_friend: "ta bort vän"
|
||||
edit_my_profile: "Ändra min profil"
|
||||
last_seen: "senast sedd: %{how_long_ago}"
|
||||
bio: "bio"
|
||||
gender: "kön"
|
||||
born: "född"
|
||||
helper:
|
||||
results_for: " resultat för %{params}"
|
||||
people_on_pod_are_aware_of: " personer på denna plats är medvetna om att"
|
||||
requests:
|
||||
new_request:
|
||||
add_a_new_friend_to: "Lägg till en vän till"
|
||||
|
|
@ -298,19 +312,34 @@ sv:
|
|||
error: "Var god välj en aspekt!"
|
||||
ignore: "Ignorerade vänförfrågan."
|
||||
create:
|
||||
error: "Inget diaspora-frö med denna adress hittades!"
|
||||
invalid_identity: "Denna adress har ett ogiltigt format"
|
||||
error_server: "Problem att kontaka den andra servern. Är det möjligt att den inte finns?"
|
||||
yourself: "Du kan inte lägga till dig själv!"
|
||||
already_friends: "Du är redan vän med %{destination_url}!"
|
||||
success: "En vänförfrågan har skickats till %{destination_url}."
|
||||
horribly_wrong: "Nu gick något rejält fel här."
|
||||
tried: "vi gjorde vårat bästa för att skicka meddelandet till %{account}"
|
||||
services:
|
||||
index:
|
||||
settings: "Inställningar"
|
||||
profile: "Profil"
|
||||
account: "Konto"
|
||||
services: "Tjänster"
|
||||
logged_in_as: "inloggad som"
|
||||
disconnect: "koppla från"
|
||||
really_disconnect: "koppla från %{service}?"
|
||||
connect_to_twitter: "Anslut till twitter"
|
||||
connect_to_facebook: "Anslut till facebook"
|
||||
create:
|
||||
success: "Autentiering lyckades."
|
||||
destroy:
|
||||
success: "Du har nu kopplat bort tjänsten."
|
||||
dashboards:
|
||||
helper:
|
||||
home: "Hem"
|
||||
notifier:
|
||||
hello: "Hej %{name}!"
|
||||
love: "hälsningar,"
|
||||
diaspora: "Diasporas mailrobot"
|
||||
new_request:
|
||||
subject: "ny Diaspora vänförfågan från %{from}"
|
||||
just_sent_you: "skickade nyss en vänförfrågan till dig på Diaspora"
|
||||
try_it_out: "Du borde verkligen överväga att kolla upp detta."
|
||||
sign_in: "logga in här"
|
||||
request_accepted:
|
||||
subject: "%{name} har accepterat din vänförfrågan på Diaspora"
|
||||
accepted: "har accepterat din vänförfrågan. Denne finns nu på "
|
||||
aspect: "sidan."
|
||||
|
||||
# The following is from the rails-i18n project at http://github.com/svenfuchs/rails-i18n
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@ var AspectEdit = {
|
|||
});
|
||||
}
|
||||
|
||||
if (dropzone.attr('data-aspect_id') != person.attr('data-aspect_id')) {
|
||||
if (person.attr('data-aspect_id') != undefined && // request doesn't have an aspect ID yet
|
||||
dropzone.attr('data-aspect_id') != person.attr('data-aspect_id')) {
|
||||
$.ajax({
|
||||
url: "/aspects/move_friend/",
|
||||
data: {
|
||||
|
|
|
|||
|
|
@ -92,19 +92,18 @@ describe("AspectEdit", function() {
|
|||
});
|
||||
|
||||
describe("onDropMove", function() {
|
||||
beforeEach(function() {
|
||||
$('#jasmine_content').html(
|
||||
'<li class="person request ui-draggable" data-aspect_id="4cae42e12367bca44e000005" data-guid="4cae42d32367bca44e000003" style="top: 0px; left: 0px; ">' +
|
||||
' <img alt="Alexander Hamiltom" class="avatar" data-person_id="4cae42d32367bca44e000003" src="/images/user/default.png?1287542906" original-title="Alexander Hamiltom" style="height: 70px; width: 70px; opacity: 1; display: inline; ">' +
|
||||
'</li>' +
|
||||
'<ul data-aspect_id="4cdae5ed2367bc30aa000007" class="dropzone ui-droppable">' +
|
||||
'</ul>'
|
||||
);
|
||||
});
|
||||
describe("when dragging a friend request", function() {
|
||||
beforeEach(function() {
|
||||
$('#jasmine_content').html(
|
||||
'<li class="person request ui-draggable" data-person_id="4cae42d32367bca44e000003" data-guid="4cae42d32367bca44e000003">' +
|
||||
' <img alt="Alexander Hamiltom" class="avatar" data-person_id="4cae42d32367bca44e000003" src="/images/user/default.png?1287542906" original-title="Alexander Hamiltom">' +
|
||||
'</li>' +
|
||||
'<ul data-aspect_id="4cdae5ed2367bc30aa000007" class="dropzone ui-droppable">' +
|
||||
'</ul>'
|
||||
);
|
||||
});
|
||||
it("deletes the request object", function() {
|
||||
spyOn($, "ajax");
|
||||
AspectEdit.initialize();
|
||||
$.proxy(AspectEdit.onDropMove, $('.dropzone.ui-droppable'))(null, {draggable: $('.person.ui-draggable')});
|
||||
expect($.ajax).toHaveBeenCalled();
|
||||
var args = $.ajax.calls[0].args[0];
|
||||
|
|
@ -112,6 +111,11 @@ describe("AspectEdit", function() {
|
|||
expect(args["url"]).toEqual("/requests/4cae42d32367bca44e000003");
|
||||
expect(args["data"]).toEqual({"accept" : true, "aspect_id" : "4cdae5ed2367bc30aa000007" });
|
||||
});
|
||||
it("doesn't call move_friend", function() {
|
||||
spyOn($, "ajax");
|
||||
$.proxy(AspectEdit.onDropMove, $('.dropzone.ui-droppable'))(null, {draggable: $('.person.ui-draggable')});
|
||||
expect($.ajax.calls.length).toEqual(1);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@ describe Notifier do
|
|||
it 'has the name of person sending the request' do
|
||||
request_mail.body.encoded.include?(person.real_name).should be true
|
||||
end
|
||||
|
||||
it 'has the css' do
|
||||
request_mail.body.encoded.include?("<style type='text/css'>")
|
||||
end
|
||||
end
|
||||
|
||||
describe "#request_accpeted" do
|
||||
|
|
|
|||
|
|
@ -102,8 +102,7 @@ describe Invitation do
|
|||
it 'sends an email that includes the right things' do
|
||||
Devise.mailer.deliveries = []
|
||||
Invitation.create_invitee(:email => @email)
|
||||
Devise.mailer.deliveries.first.to_s.include?("Hello #{@email}").should == true
|
||||
|
||||
Devise.mailer.deliveries.first.to_s.include?("Welcome #{@email}").should == true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue