diff --git a/app/views/aspects/_aspect_listings.haml b/app/views/aspects/_aspect_listings.haml index 43d7eda10aa99031aa2c35626995ed8b90a9b38d..82219dcc82902201f3120493a2e2f165bbd71ff9 100644 --- a/app/views/aspects/_aspect_listings.haml +++ b/app/views/aspects/_aspect_listings.haml @@ -21,8 +21,8 @@ = aspect %li - = link_to "+ Add an aspect", "#add_aspect_pane", :class => "new_aspect", :rel => "facebox" - + = link_to t('.add_an_aspect'), "#add_aspect_pane", :class => "new_aspect", :rel => "facebox" + %li.all_contacts{:class => ("active" if params["set"] == "all" || params["set"] == "only_sharing")} %a.aspect_selector{:href => contacts_path(:set => "all"), :class => ("sub_selected" if params["set"] == "only_sharing")} .contact_count diff --git a/app/views/aspects/index.html.haml b/app/views/aspects/index.html.haml index 0332bb119e4d7772c0b52555feba0b672a00125a..4573e5635d84f7cd95a3a4a992ad1cbd8e362362 100644 --- a/app/views/aspects/index.html.haml +++ b/app/views/aspects/index.html.haml @@ -29,13 +29,13 @@ .title = image_tag('/images/icons/bookmark.png') %h5 - Diaspora ID + = t(".diaspora_id.heading") .content - Your Diaspora ID is: + = t(".diaspora_id.content_1") %b = current_user.diaspora_handle %br - Give it to anyone and they'll be able to find you on Diaspora. + = t(".diaspora_id.content_2") .section .title diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index dd262bfd6002eca2a28a362e70016edf0655d101..9c7fb6229aa7faebcb5c17e2bd7d38f50d653a83 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -109,6 +109,8 @@ en: no_posts_message: start_talking: "Nobody has said anything yet!" try_adding_some_more_contacts: "Try adding some more contacts." + aspect_listings: + add_an_aspect: "+ Add an aspect" selected_contacts: view_all_contacts: "View all contacts" @@ -151,6 +153,10 @@ en: heading: "Connect to Cubbi.es" explanation: "Cubbi.es is the first Diaspora application under development." learn_more: "Learn more" + diaspora_id: + heading: "Diaspora ID" + content_1: "Your Diaspora ID is:" + content_2: "Give it to anyone and they'll be able to find you on Diaspora." aspect_memberships: destroy: