fixed some translations
do not escape html in private_message text only email
This commit is contained in:
parent
c697df4b5a
commit
0d1133cd51
4 changed files with 15 additions and 14 deletions
|
|
@ -13,6 +13,7 @@
|
|||
asHtmlID: "contact_ids",
|
||||
keyDelay: 0,
|
||||
startText: '',
|
||||
emptyText: #{t('.no_results')}
|
||||
preFill: [{ 'name' : "#{params[:name]}",
|
||||
'value' : "#{params[:contact_id]}"}]
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
= t('notifier.private_message.private_message')
|
||||
!= t('notifier.hello', :name => @receiver.profile.first_name)
|
||||
!= "#{@sender.name} (#{@sender.diaspora_handle})"
|
||||
!= t('notifier.private_message.private_message')
|
||||
|
||||
= t('notifier.private_message.message_subject', :subject => @conversation.subject)
|
||||
= @message.text
|
||||
!= t('notifier.private_message.message_subject', :subject => @conversation.subject)
|
||||
!= @message.text
|
||||
|
||||
= "#{t('notifier.love')} \n"
|
||||
= t('notifier.diaspora')
|
||||
!= "#{t('notifier.love')} \n"
|
||||
!= t('notifier.diaspora')
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
- else
|
||||
- if @contact.person
|
||||
.right
|
||||
= link_to 'Message', new_conversation_path(:contact_id => @contact.id, :name => @contact.person.name, :contact_id => @contact.id), :class => 'button', :rel => 'facebox'
|
||||
= link_to t('.message'), new_conversation_path(:contact_id => @contact.id, :name => @contact.person.name, :contact_id => @contact.id), :class => 'button', :rel => 'facebox'
|
||||
|
||||
/- if @post_type == :photos
|
||||
/ = link_to t('layouts.header.view_profile'), person_path(@person)
|
||||
|
|
|
|||
|
|
@ -406,7 +406,7 @@ en:
|
|||
recent_public_posts: "Recent Public Posts"
|
||||
similar_contacts: "similar contacts"
|
||||
start_sharing: "start sharing"
|
||||
|
||||
message: "Message"
|
||||
profile_sidebar:
|
||||
remove_contact: "remove contact"
|
||||
edit_my_profile: "Edit my profile"
|
||||
|
|
@ -527,7 +527,6 @@ en:
|
|||
fullmonth_day: "%B %d"
|
||||
birthday: "%B %d"
|
||||
birthday_with_year: "%B %d %Y"
|
||||
|
||||
conversations:
|
||||
index:
|
||||
message_inbox: "Message Inbox"
|
||||
|
|
@ -536,8 +535,9 @@ en:
|
|||
create_a_new_message: "create a new message"
|
||||
no_messages: "no messages"
|
||||
show:
|
||||
reply: 'reply'
|
||||
reply: "reply"
|
||||
new:
|
||||
to: 'to'
|
||||
subject: 'subject'
|
||||
send: 'Send'
|
||||
to: "to"
|
||||
subject: "subject"
|
||||
send: "Send"
|
||||
no_results: "No Results Found"
|
||||
|
|
|
|||
Loading…
Reference in a new issue