Merge remote branch 'MrZYX/en.yml-refactor'

This commit is contained in:
Raphael 2010-11-12 11:28:05 -08:00
commit 0e8b1efefd
32 changed files with 400 additions and 342 deletions

View file

@ -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

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -47,20 +47,20 @@
#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')

View file

@ -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')

View file

@ -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"

View file

@ -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"

View file

@ -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'

View file

@ -46,14 +46,14 @@
= image_tag attachments['diaspora_white_on_grey.png'].url, :alt => "DIASPORA"
#container
%p
Hello #{@receiver.profile.first_name}!
= t('notifier.hello', => :name)
%p
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
just sent you a friend request on Diaspora*
You should really think about checking it out.
= t('.just_sent_you')
= t('.try_it_out')
%br
= link_to "sign in here", new_user_session_url
= link_to t('.sign_in'), new_user_session_url
%br
love,
= t('notifier.love'),
%br
the diaspora email robot
= t('notifier.diaspora')

View file

@ -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')

View file

@ -46,14 +46,14 @@
= image_tag attachments['diaspora_white_on_grey.png'].url, :alt => "DIASPORA"
#container
%p
Hello #{@receiver.profile.first_name}!
= t('notifier.hello', :name => @receiver.profile.first_name
%p
= "#{@sender.real_name} (#{@sender.diaspora_handle})"
has accepted your friend request. They are now in your
= t('.accepted')
= link_to @aspect.name, aspect_url(@aspect)
aspect.
= t('.aspect')
%br
love,
= t('notifier.love')
%br
the diaspora email robot
= t('notifier.diaspora')

View file

@ -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')

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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'] !=""

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -11,7 +11,7 @@
.aspect
- if post.public?
= t('.the_world')
= t('the_world')
- else
= current_user.aspects_with_post( post.id ).join(', ')

View file

@ -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"

View file

@ -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')} →"

View file

@ -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"

View file

@ -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"

View file

@ -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')

View file

@ -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'

View file

@ -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]

View file

@ -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