made everything in the sidebar translatable

This commit is contained in:
MrZYX 2011-05-30 18:06:05 +02:00
parent 61fd8b55af
commit 05aa73e93c
2 changed files with 9 additions and 4 deletions

View file

@ -24,7 +24,7 @@
.title .title
= image_tag('/images/icons/bookmark.png') = image_tag('/images/icons/bookmark.png')
%h5 %h5
Diaspora Bookmarklet = t('bookmarklet.heading')
.content .content
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet)) != t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
@ -32,10 +32,10 @@
.title .title
= image_tag('/images/icons/cubbies.png') = image_tag('/images/icons/cubbies.png')
%h5 %h5
Connect to Cubbi.es = t('.cubbies.heading')
.content .content
Cubbi.es is the first Diaspora application under development. = t('.cubbies.explanation')
= link_to "Learn more", token_path = link_to t('.cubbies.learn_more'), token_path
- if @invites > 0 - if @invites > 0
.section .section

View file

@ -142,6 +142,10 @@ en:
no_contacts: "No contacts" no_contacts: "No contacts"
post_a_message: "post a message >>" post_a_message: "post a message >>"
people_sharing_with_you: "People sharing with you" people_sharing_with_you: "People sharing with you"
cubbies:
heading: "Connect to Cubbi.es"
explanation: "Cubbi.es is the first Diaspora application under development."
learn_more: "Learn more"
aspect_memberships: aspect_memberships:
destroy: destroy:
@ -158,6 +162,7 @@ en:
other: "In %{count} aspects" other: "In %{count} aspects"
bookmarklet: bookmarklet:
heading: "Diaspora Bookmarklet"
post_success: "Posted! Closing!" post_success: "Posted! Closing!"
post_something: "Post something to Diaspora" post_something: "Post something to Diaspora"
explanation: "Post to Diaspora from anywhere by bookmarking %{link}." explanation: "Post to Diaspora from anywhere by bookmarking %{link}."