From dcfa5800e9d476aa43a565751b334ead2c03c422 Mon Sep 17 00:00:00 2001
From: "kevin.dezaphi" <kevin.dezaphi@maarch.org>
Date: Wed, 12 Sep 2018 16:58:20 +0200
Subject: [PATCH] remove s at groups for fr and en

---
 .../indexing_searching/autocomplete_contacts.php              | 2 +-
 apps/maarch_entreprise/lang/en.php                            | 4 ++++
 apps/maarch_entreprise/lang/fr.php                            | 4 ++++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/apps/maarch_entreprise/indexing_searching/autocomplete_contacts.php b/apps/maarch_entreprise/indexing_searching/autocomplete_contacts.php
index 409aef4beb0..9a96ed6641e 100755
--- a/apps/maarch_entreprise/indexing_searching/autocomplete_contacts.php
+++ b/apps/maarch_entreprise/indexing_searching/autocomplete_contacts.php
@@ -221,7 +221,7 @@ if ($_SESSION['is_multi_contact'] == 'OK') {
             }
             $containResult = true;
 
-            $contactIcon = "<i class='fa fa-users fa-1x' style='padding:5px;display:table-cell;vertical-align:middle;' title='" . _VIEW_CONTACTS_GROUPS . "'></i>";
+            $contactIcon = "<i class='fa fa-users fa-1x' style='padding:5px;display:table-cell;vertical-align:middle;' title='" . _CONTACTS_GROUP . "'></i>";
 
             //Highlight
             foreach ($keyList as $keyVal) {
diff --git a/apps/maarch_entreprise/lang/en.php b/apps/maarch_entreprise/lang/en.php
index 91c922e2efe..81006317426 100755
--- a/apps/maarch_entreprise/lang/en.php
+++ b/apps/maarch_entreprise/lang/en.php
@@ -2564,6 +2564,10 @@ if (!defined('_VIEW_CONTACTS_GROUPS')) {
     define('_VIEW_CONTACTS_GROUPS', 'Contacts groups');
 }
 
+if (!defined('_CONTACTS_GROUP')) {
+    define('_CONTACTS_GROUP', 'Contacts group');
+}
+
 if (!defined('_ADDRESSES_LIST')) {
     define('_ADDRESSES_LIST', 'Addresses list');
 }
diff --git a/apps/maarch_entreprise/lang/fr.php b/apps/maarch_entreprise/lang/fr.php
index 74b1da1c468..ca1dfad36ed 100755
--- a/apps/maarch_entreprise/lang/fr.php
+++ b/apps/maarch_entreprise/lang/fr.php
@@ -2595,6 +2595,10 @@ if (!defined('_VIEW_CONTACTS_GROUPS')) {
     define('_VIEW_CONTACTS_GROUPS', 'Groupements de contacts');
 }
 
+if (!defined('_CONTACTS_GROUP')) {
+    define('_CONTACTS_GROUP', 'Groupement de contacts');
+}
+
 if (!defined('_ADDRESSES_LIST')) {
     define('_ADDRESSES_LIST', 'Liste des adresses');
 }
-- 
GitLab