moved the are you sure dialog into a translation

This commit is contained in:
Ilyaaaaaaaaaaaaa Zhitomirskiy 2011-07-06 16:34:51 -07:00
parent 8d94115bbc
commit 738487b381
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@
#aspect_controls
- suggested_limit = 16
- conv_opts = { :class => "button conversation_button", :rel => "facebox"}
- conv_opts[:title] = "Are you sure you want to start a private conversation with more than #{suggested_limit} contacts? Posting to this aspect may be a better way to contact them." if @contacts.size > suggested_limit
- conv_opts[:title] = t('.many_people_are_you_sure', :suggested_limit => suggested_limit) if @contacts.size > suggested_limit
= link_to t('.start_a_conversation'), new_conversation_path(:aspect_id => @aspect_.id, :name => @aspect_.name), conv_opts
- if @contacts.size > suggested_limit

View file

@ -214,6 +214,7 @@ en:
all_contacts: "All Contacts"
only_sharing_with_me: "Only sharing with me"
remove_person_from_aspect: "Remove %{person_name} from \"%{aspect_name}\""
many_people_are_you_sure: "Are you sure you want to start a private conversation with more than %{suggested_limit} contacts? Posting to this aspect may be a better way to contact them."
conversations:
index: