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

translated getting started, fixed #508

parent 381c53b7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
- if current_user - if current_user
#global_search #global_search
= form_tag(people_path, :method => 'get') do = 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 %ul#user_menu
.avatar .avatar
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
%h4 %h4
= t('.your_birthday') = t('.your_birthday')
%br %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 %h4
= t('.your_bio') = t('.your_bio')
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
= render 'people/profile_photo_upload', :form => profile = render 'people/profile_photo_upload', :form => profile
%h4 %h4
= t('.search') = t('search')
%p{:class=>"checkbox_select"} %p{:class=>"checkbox_select"}
= profile.label :searchable, t('.allow_search') = profile.label :searchable, t('.allow_search')
= profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false = profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false
......
...@@ -8,3 +8,4 @@ ...@@ -8,3 +8,4 @@
= post.caption = post.caption
= link_to "view all of #{post.person.real_name}'s photos", person_photos_path(post.person), :class => "small_text" = link_to "view all of #{post.person.real_name}'s photos", person_photos_path(post.person), :class => "small_text"
...@@ -3,4 +3,3 @@ ...@@ -3,4 +3,3 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
= markdownify(post.message) = markdownify(post.message)
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
.span-8.append-1.last .span-8.append-1.last
%h1{:style => "text-align:right;"} %h1{:style => "text-align:right;"}
= "Welcome to Diaspora!" = t('.welcome')
.description .description
=t('.signup_steps') =t('.signup_steps')
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
= render "users/getting_started/step_#{@step}", :current_user => current_user = render "users/getting_started/step_#{@step}", :current_user => current_user
- if @step > 1 - 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 .bottom_notification
= link_to "skip getting started →", '#', :id => "getting_started_skip" = link_to "#{t('.skip')} →", '#', :id => "getting_started_skip"
...@@ -5,44 +5,44 @@ ...@@ -5,44 +5,44 @@
= form_for @person, :html => { :multipart => true } do |person| = form_for @person, :html => { :multipart => true } do |person|
%h3 %h3
Your Profile = t('.your_profile')
.description .description
This info will be available to whomever you connect with on Diaspora. = t('.info')
= person.error_messages = person.error_messages
= person.fields_for :profile do |profile| = person.fields_for :profile do |profile|
%h4 %h4
Your name = t('.your_name')
= profile.text_field :first_name, :value => @profile.first_name, :placeholder => "First name" = profile.text_field :first_name, :value => @profile.first_name, :placeholder => t('.first_name')
= profile.text_field :last_name, :value => @profile.last_name, :placeholder => "Last name" = profile.text_field :last_name, :value => @profile.last_name, :placeholder => t('.last_name')
%h4 %h4
Your gender = t('.your_gender')
%br %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 %h4
Your birthday = t('.your_birthday')
%br %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 %h4
Your bio = 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 %h4
Your photo = t('.your_photo')
= render 'people/profile_photo_upload', :form => profile = render 'people/profile_photo_upload', :form => profile
%h4 %h4
Search = t('search')
%p{:class=>"checkbox_select"} %p{:class=>"checkbox_select"}
= profile.label :searchable, "Allow for people to search for you" = profile.label :searchable, t('.allow_searchable')
= profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false = profile.check_box :searchable, {:checked => @person.profile.searchable}, true, false
= hidden_field_tag :getting_started, @step = hidden_field_tag :getting_started, @step
.submit_block .submit_block
= person.submit "Save and continue →" = person.submit "#{t('.save_and_continue')} →"
...@@ -4,15 +4,15 @@ ...@@ -4,15 +4,15 @@
%h3 %h3
Your aspects = t('.your_aspects')
.description .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 %h4
Aspect name = t('.aspect_name')
= form_for Aspect.new, :remote => true, :format => :json do |aspect| = form_for Aspect.new, :remote => true, :format => :json do |aspect|
= aspect.text_field :name, :style => "display:inline;" = aspect.text_field :name, :style => "display:inline;"
= aspect.submit "Add" = aspect.submit t('.add')
%ul.aspects %ul.aspects
- for aspect in @aspects - for aspect in @aspects
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
- for friend in aspect.person_objects - for friend in aspect.person_objects
= person_image_link(friend) = 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('.add_to', :aspect => aspect))), '#manage_aspect_contacts_pane', :class => 'manage_aspect_contacts_button'
.fancybox_content .fancybox_content
#manage_aspect_contacts_pane #manage_aspect_contacts_pane
...@@ -34,5 +34,5 @@ ...@@ -34,5 +34,5 @@
%br %br
.submit_block .submit_block
= link_to "Save and continue →", getting_started_path(:step => 3), :class => "button" = link_to "#{t('.save_and_continue')} →", getting_started_path(:step => 3), :class => "button"
...@@ -4,20 +4,20 @@ ...@@ -4,20 +4,20 @@
%h3 %h3
Your services = t('.your_services')
.description .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 %ul#stream
- for service in @services - for service in @services
%h3 %h3
%b= service.provider %b= service.provider
logged in as = t('.logged_in_as')
%b= service.nickname %b= service.nickname
= link_to "disconnect", service, :confirm => "disconnect #{service.provider}?", :method => :delete = link_to t('.disconnect'), service, :confirm => t('.disconnect_from', :service => service.provider), :method => :delete
%h4= link_to "Connect to twitter", "/auth/twitter" if SERVICES['twitter']['consumer_key']!= "" %h4= link_to t('.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_facebook'), "/auth/facebook" if SERVICES['facebook']['app_id'] !=""
.submit_block .submit_block
= link_to "Save and continue →", getting_started_path(:step => 4), :class => "button" = link_to "#{t('.save_and_continue')} →", getting_started_path(:step => 4), :class => "button"
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
%h1 %h1
= "You're all set up, #{current_user.person.profile.first_name}!" = t('.set_up', :name => current_user.person.profile.first_name)
.description .description
You're now ready to start sharing with = t('.ready_to_share')
%ul.inline_aspect_listing %ul.inline_aspect_listing
- for aspect in @aspects - for aspect in @aspects
%li= aspect %li= aspect
...@@ -15,22 +15,22 @@ ...@@ -15,22 +15,22 @@
%br %br
%h3 %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 %br
%br %br
%p %p
You can change your profile any time by clicking = t('.change_profile')
%b edit profile %b #{t('.edit_profile')}
in your user menu (top right). = t('.user_menu')
%p %p
You can connect/disconnect your services any time by clicking = t('.connect_disconnect')
%b edit account %b #{t('.edit_account')}
in your user menu (top right). = t('.user_menu')
%p %p
You can manage your aspects any time by clicking the = t('.manage_aspects')
%b manage %b #{t('.manage')}
tab. Your contacts can also be added while on a particular aspect page, as well. = t('.tab_also_added')
...@@ -23,6 +23,9 @@ en: ...@@ -23,6 +23,9 @@ en:
password_confirmation: "Password confirmation" password_confirmation: "Password confirmation"
are_you_sure: "Are you sure?" are_you_sure: "Are you sure?"
fill_me_out: "Fill me out" fill_me_out: "Fill me out"
back: "Back"
the_world: "the world"
search: "Search"
activemodel: activemodel:
errors: errors:
...@@ -51,7 +54,6 @@ en: ...@@ -51,7 +54,6 @@ en:
view_profile: "view profile" view_profile: "view profile"
edit_profile: "edit profile" edit_profile: "edit profile"
account_settings: "account settings" account_settings: "account settings"
search: "Search"
logout: "logout" logout: "logout"
shared: shared:
stream_element: stream_element:
...@@ -142,10 +144,52 @@ en: ...@@ -142,10 +144,52 @@ en:
download_photos: "download my photos" download_photos: "download my photos"
destroy: "Account successfully closed." destroy: "Account successfully closed."
getting_started: getting_started:
welcome: "Welcome to Diaspora!"
signup_steps: "Complete your sign-up by doing these things:" signup_steps: "Complete your sign-up by doing these things:"
edit_profile: "Edit your profile" edit_profile: "Edit your profile"
define_aspects: "Define your aspects" define_aspects: "Define your aspects"
connect_services: "Connect your services" connect_services: "Connect your services"
skip: "skip getting started"
step_1:
your_profile: "Your Profile"
info: "This info will be available to whomever you connect with on Diaspora."
your_name: "Your name"
first_name: "First name"
last_name: "Last name"
your_gender: "Your gender"
your_birthday: "Your birthday"
your_bio: "Your bio"
your_photo: "Your photo"
allow_searchable: "Allow for people to search for you"
save_and_continue: "Save and continue"
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"
add_to: "add to %{aspect}"
save_and_continue: "Save and continue"
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."'
logged_in_as: "logged in as"
disconnect: "disconnect"
disconnect_from: "disconnect %{service}?"
connect_to_twitter: "Connect to twitter"
connect_to_facebook: "Connect to facebook"
save_and_continue: "Save and continue"
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: update:
password_changed: "Password Changed" password_changed: "Password Changed"
password_not_changed: "Password Change Failed" password_not_changed: "Password Change Failed"
...@@ -208,7 +252,6 @@ en: ...@@ -208,7 +252,6 @@ en:
oh_yeah: "oh yeah!" oh_yeah: "oh yeah!"
status_message: status_message:
show_comments: "show comments" show_comments: "show comments"
the_world: "the world"
show: show:
destroy: "Destroy" destroy: "Destroy"
helper: helper:
...@@ -245,7 +288,6 @@ en: ...@@ -245,7 +288,6 @@ en:
your_bio: "Your bio" your_bio: "Your bio"
your_photo: "Your photo" your_photo: "Your photo"
update_profile: "Update Profile" update_profile: "Update Profile"
search: "Search"
allow_search: "Allow for people to search for you" allow_search: "Allow for people to search for you"
profile_photo_upload: profile_photo_upload:
or_select_one: "or select one from your already existing" or_select_one: "or select one from your already existing"
...@@ -287,3 +329,5 @@ en: ...@@ -287,3 +329,5 @@ en:
dashboards: dashboards:
helper: helper:
home: "Home" home: "Home"
date:
order: [:month, :day, :year]
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter