diff --git a/app/helpers/profiles_helper.rb b/app/helpers/profiles_helper.rb index 41ac2a2d1..941c8058e 100644 --- a/app/helpers/profiles_helper.rb +++ b/app/helpers/profiles_helper.rb @@ -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 diff --git a/app/views/users/getting_started.html.haml b/app/views/users/getting_started.html.haml index 6d2021e16..6f20e56b1 100644 --- a/app/views/users/getting_started.html.haml +++ b/app/views/users/getting_started.html.haml @@ -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') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 02334a613..15f8eb55f 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -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"