[10.0.68.dev] notification de suppression de langue

This commit is contained in:
fredtempez 2019-11-04 22:19:28 +01:00
parent 0015a07e35
commit 51020a8a86
2 changed files with 2 additions and 2 deletions

View File

@ -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 = [

View File

@ -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',