added translations to getting started
This commit is contained in:
parent
c9eeeb6150
commit
6369eefdbe
3 changed files with 24 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ module ProfilesHelper
|
||||||
else
|
else
|
||||||
field
|
field
|
||||||
end
|
end
|
||||||
content_tag(:span, field.to_s.titleize, :class => klass)
|
content_tag(:span, t(".profile_fields.#{field.to_s}"), :class => klass)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,9 @@
|
||||||
#getting_started_profile_photo
|
#getting_started_profile_photo
|
||||||
= person_image_link(current_user.person, :size => :thumb_medium)
|
= person_image_link(current_user.person, :size => :thumb_medium)
|
||||||
%h4
|
%h4
|
||||||
Fill Out Your Profile
|
= t(".fill_out_your_profile")
|
||||||
%p
|
%p
|
||||||
Description of why you'd want to do this (or checks like g+)
|
= t(".profile_description")
|
||||||
.span-8.fields
|
.span-8.fields
|
||||||
- [:full_name, :image_url, :birthday, :gender, :bio, :location, :tag_string].each do |attr|
|
- [:full_name, :image_url, :birthday, :gender, :bio, :location, :tag_string].each do |attr|
|
||||||
.span-4.last
|
.span-4.last
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
2
|
2
|
||||||
.content
|
.content
|
||||||
%h4
|
%h4
|
||||||
Connect to your other social networks
|
= t('.connect_to_your_other_social_networks')
|
||||||
#getting_started_service_icons
|
#getting_started_service_icons
|
||||||
- AppConfig.configured_services.each do |service|
|
- AppConfig.configured_services.each do |service|
|
||||||
- unless current_user.services.any?{|x| x.provider == service}
|
- unless current_user.services.any?{|x| x.provider == service}
|
||||||
|
|
@ -63,7 +63,7 @@
|
||||||
3
|
3
|
||||||
.content
|
.content
|
||||||
%h4
|
%h4
|
||||||
Connect with people
|
= t(".connect_with_people")
|
||||||
|
|
||||||
#diaspora_hq_pane
|
#diaspora_hq_pane
|
||||||
- person = Person.first
|
- person = Person.first
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
4
|
4
|
||||||
.content
|
.content
|
||||||
%h4
|
%h4
|
||||||
Follow your interests
|
= t(".follow_your_interests")
|
||||||
|
|
||||||
%p
|
%p
|
||||||
popular/curated tags? person's tags?
|
popular/curated tags? person's tags?
|
||||||
|
|
@ -97,7 +97,7 @@
|
||||||
5
|
5
|
||||||
.content
|
.content
|
||||||
%h4
|
%h4
|
||||||
Connect to
|
= t(".connect_to")
|
||||||
= link_to "Cubbi.es", "http://cubbi.es/"
|
= link_to "Cubbi.es", "http://cubbi.es/"
|
||||||
%p
|
%p
|
||||||
= t('tokens.show.what_is_cubbies')
|
= t('tokens.show.what_is_cubbies')
|
||||||
|
|
|
||||||
|
|
@ -786,6 +786,23 @@ en:
|
||||||
skip: "skip getting started"
|
skip: "skip getting started"
|
||||||
save_and_continue: "Save and continue"
|
save_and_continue: "Save and continue"
|
||||||
could_not_find_anyone: "Could not find any friends on Diaspora*. Use the friend finder to invite them."
|
could_not_find_anyone: "Could not find any friends on Diaspora*. Use the friend finder to invite them."
|
||||||
|
|
||||||
|
fill_out_your_profile: "Fill Out Your Profile"
|
||||||
|
profile_description: "Description of why you'd want to do this"
|
||||||
|
connect_to_your_other_social_networks: "Connect to your other social networks"
|
||||||
|
connect_with_people: "Connect with people"
|
||||||
|
follow_your_interests: "Follow your interests"
|
||||||
|
connect_to: "Connect to"
|
||||||
|
|
||||||
|
profile_fields:
|
||||||
|
name: "Name"
|
||||||
|
birthday: "Birthday"
|
||||||
|
bio: "Bio"
|
||||||
|
tags: "Tags"
|
||||||
|
photo: "Photo"
|
||||||
|
gender: "Gender"
|
||||||
|
location: "Location"
|
||||||
|
|
||||||
step_3:
|
step_3:
|
||||||
finish: "Finish"
|
finish: "Finish"
|
||||||
people_already_on_diaspora: "People already on Diaspora"
|
people_already_on_diaspora: "People already on Diaspora"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue