From 0b28376216245a3391660446ce6cf74fe5843891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= <manuel.schoelling@gmx.de> Date: Fri, 9 Sep 2011 01:15:54 +0200 Subject: [PATCH] Fixed some texts in "Getting Started" that were not translatable --- app/views/users/getting_started.haml | 6 +++--- config/locales/diaspora/en.yml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/views/users/getting_started.haml b/app/views/users/getting_started.haml index c8c5a405b1..c0b0f6bb3f 100644 --- a/app/views/users/getting_started.haml +++ b/app/views/users/getting_started.haml @@ -43,7 +43,7 @@ = profile_field_tag(current_user.person.profile, attr) #edit_profile_button_div - = link_to "Edit Profile", edit_profile_path, :class => "button" + = link_to t(".edit_profile"), edit_profile_path, :class => "button" - unless AppConfig[:configured_services].blank? %li.services{:class => ("completed" if has_connected_services?)} @@ -108,7 +108,7 @@ = t('.find_friends') .span-5.append-1 = form_tag(people_path, :method => 'get', :class => "people search_form") do - = text_field_tag 'q', nil, :placeholder => "Search for people", :type => 'search', :results => 5 + = text_field_tag 'q', nil, :placeholder => t(".search_for_people"), :type => 'search', :results => 5 .span-5.last{:style => "height:30px;"} %h4{:style => "margin-top:7px;"} or @@ -129,7 +129,7 @@ .span-5.append-1 = form_tag(tags_path, :method => 'get', :class => "tag search_form") do - = text_field_tag 'q', nil, :placeholder => "Search for #hashtags", :type => 'search', :results => 5 + = text_field_tag 'q', nil, :placeholder => t(".search_for_hashtags"), :type => 'search', :results => 5 .span-5.last %h4{:style => "margin-top:7px;"} = t('.featured_tags') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 35fab7a0b9..d6e3d6fc5e 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -845,6 +845,9 @@ en: connect_with_people: "Connect with cool people" connect_with_people_explanation_pt1: "Connect with people by placing them into one or more of your %{bold}." bold: "aspects" + edit_profile: "Edit Profile" + search_for_hashtags: "Search for #hashtags" + search_for_people: "Search for people" connect_with_people_explanation_pt2: "Aspects are an intuitive way to group new and familar faces, private to you, allowing you to filter down or share with subsets of your contacts easily." featured_users: "Featured users" -- GitLab