diff --git a/core/core.php b/core/core.php index 95ea307b..5e178dd7 100644 --- a/core/core.php +++ b/core/core.php @@ -31,7 +31,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.67.dev'; + const ZWII_VERSION = '10.0.68.dev'; public static $actions = []; public static $coreModuleIds = [ diff --git a/core/module/i18n/i18n.php b/core/module/i18n/i18n.php index 8644a27c..9ad898bc 100644 --- a/core/module/i18n/i18n.php +++ b/core/module/i18n/i18n.php @@ -118,7 +118,7 @@ class i18n extends common { $success = false; } // Valeurs en sortie - $notification = $success === true ? $this->getUrl(2) .' supprimé' : $this->getUrl(2) . ' n\'existe pas.' ; + $notification = $success === true ? self::$i18nList[$this->getUrl(2)] .' supprimé' : self::$i18nList[$this->getUrl(2)] . ' n\'existe pas.' ; $this->addOutput([ 'notification' => $notification, 'redirect' => helper::baseUrl() . 'i18n',