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
|
||||
field
|
||||
end
|
||||
content_tag(:span, field.to_s.titleize, :class => klass)
|
||||
content_tag(:span, t(".profile_fields.#{field.to_s}"), :class => klass)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@
|
|||
#getting_started_profile_photo
|
||||
= person_image_link(current_user.person, :size => :thumb_medium)
|
||||
%h4
|
||||
Fill Out Your Profile
|
||||
= t(".fill_out_your_profile")
|
||||
%p
|
||||
Description of why you'd want to do this (or checks like g+)
|
||||
= t(".profile_description")
|
||||
.span-8.fields
|
||||
- [:full_name, :image_url, :birthday, :gender, :bio, :location, :tag_string].each do |attr|
|
||||
.span-4.last
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
2
|
||||
.content
|
||||
%h4
|
||||
Connect to your other social networks
|
||||
= t('.connect_to_your_other_social_networks')
|
||||
#getting_started_service_icons
|
||||
- AppConfig.configured_services.each do |service|
|
||||
- unless current_user.services.any?{|x| x.provider == service}
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
3
|
||||
.content
|
||||
%h4
|
||||
Connect with people
|
||||
= t(".connect_with_people")
|
||||
|
||||
#diaspora_hq_pane
|
||||
- person = Person.first
|
||||
|
|
@ -86,7 +86,7 @@
|
|||
4
|
||||
.content
|
||||
%h4
|
||||
Follow your interests
|
||||
= t(".follow_your_interests")
|
||||
|
||||
%p
|
||||
popular/curated tags? person's tags?
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
5
|
||||
.content
|
||||
%h4
|
||||
Connect to
|
||||
= t(".connect_to")
|
||||
= link_to "Cubbi.es", "http://cubbi.es/"
|
||||
%p
|
||||
= t('tokens.show.what_is_cubbies')
|
||||
|
|
|
|||
|
|
@ -786,6 +786,23 @@ en:
|
|||
skip: "skip getting started"
|
||||
save_and_continue: "Save and continue"
|
||||
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:
|
||||
finish: "Finish"
|
||||
people_already_on_diaspora: "People already on Diaspora"
|
||||
|
|
|
|||
Loading…
Reference in a new issue