From 7870f3b127f850786a7d32def433524019f26f68 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Wed, 1 Apr 2015 00:47:31 +0200 Subject: [PATCH] Contacts page: remove broken title from 'Start a conversation' button --- app/helpers/contacts_helper.rb | 2 -- config/locales/diaspora/en.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/app/helpers/contacts_helper.rb b/app/helpers/contacts_helper.rb index 3fdee52f3..6409d2571 100644 --- a/app/helpers/contacts_helper.rb +++ b/app/helpers/contacts_helper.rb @@ -7,9 +7,7 @@ module ContactsHelper end def start_a_conversation_link(aspect, contacts_size) - suggested_limit = 16 conv_opts = { class: "conversation_button contacts_button"} - conv_opts[:title] = t('.many_people_are_you_sure', suggested_limit: suggested_limit) if contacts_size > suggested_limit content_tag :span, conv_opts do content_tag(:i, nil, :class => 'entypo mail contacts-header-icon', :title => t('contacts.index.start_a_conversation'), 'data-toggle' => 'modal', 'data-target' => '#conversationModal') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 4066fa853..a0d4635ea 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -324,7 +324,6 @@ en: only_sharing_with_me: "Only sharing with me" add_contact: "Add contact" remove_contact: "Remove contact" - 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." user_search: "Contact search" spotlight: community_spotlight: "Community spotlight"