string concatenation with translations is bad, especially if you leave on part of it untranslated :P

This commit is contained in:
MrZYX 2011-03-29 15:39:57 +02:00
parent ccbba9b52e
commit aa478ddd5c
2 changed files with 6 additions and 4 deletions

View file

@ -28,8 +28,7 @@
%h4
= new_request_link(@request_count)
%h4
= link_to 'Post to Diaspora', bookmarklet
= t('bookmarklet.from_anywhere')
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
- if @invites > 0
.section.invite_friends
%h4= t('shared.invitations.invite_your_friends')

View file

@ -143,10 +143,13 @@ en:
success: "Successfully removed person from aspect"
failure: "Failed to remove person from aspect"
no_membership: "Could not find the selected person in that aspect"
bookmarklet:
post_success: "Posted! Closing!"
post_something: 'Post something to Diaspora'
from_anywhere: 'from anywhere by bookmarking this link.'
post_something: "Post something to Diaspora"
explanation: "%{link} from anywhere by bookmarking this link."
explanation_link_text: "Post to Diaspora"
comments:
zero: "no comments"
one: "1 comment"