From 8cd0b8dc61def13b8fc5469d19e969568956150b Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 3 Nov 2019 18:20:18 +0100 Subject: [PATCH] =?UTF-8?q?[10.0.65.dev]=20libell=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/i18n/i18n.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/module/i18n/i18n.php b/core/module/i18n/i18n.php index 84d6a15a..8644a27c 100644 --- a/core/module/i18n/i18n.php +++ b/core/module/i18n/i18n.php @@ -51,14 +51,14 @@ class i18n extends common { $success = false; } // Valeurs en sortie - $notification = $success === true ? self::$i18nList[$this->getInput('i18nLanguageAdd')] . ' ajoutée' : self::$i18nList[create] . ' déjà ajooutée.' ; + $notification = $success === true ? self::$i18nList[$this->getInput('i18nLanguageAdd')] . ' ajouté' : self::$i18nList[create] . ' déjà ajouté.' ; } else { $notification = 'Veuillez choisir une langue.'; $success = false; } $this->addOutput([ 'notification' => $notification, - 'title' => 'Langues du site', + 'title' => 'Gestion des langues', 'view' => 'index', 'state' => $success ]); @@ -79,7 +79,7 @@ class i18n extends common { } // Valeurs en sortie $this->addOutput([ - 'title' => 'Langues du site', + 'title' => 'Gestions des langues', 'view' => 'index' ]); } @@ -118,7 +118,7 @@ class i18n extends common { $success = false; } // Valeurs en sortie - $notification = $success === true ? 'Langue ' . $this->getUrl(2) .' supprimée' : 'Langue ' . $this->getUrl(2) . ' n\'existe pas.' ; + $notification = $success === true ? $this->getUrl(2) .' supprimé' : $this->getUrl(2) . ' n\'existe pas.' ; $this->addOutput([ 'notification' => $notification, 'redirect' => helper::baseUrl() . 'i18n',