[10.0.68.dev] notification de suppression de langue
This commit is contained in:
parent
0015a07e35
commit
51020a8a86
@ -31,7 +31,7 @@ class common {
|
|||||||
const TEMP_DIR = 'site/tmp/';
|
const TEMP_DIR = 'site/tmp/';
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.67.dev';
|
const ZWII_VERSION = '10.0.68.dev';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
|
@ -118,7 +118,7 @@ class i18n extends common {
|
|||||||
$success = false;
|
$success = false;
|
||||||
}
|
}
|
||||||
// Valeurs en sortie
|
// 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([
|
$this->addOutput([
|
||||||
'notification' => $notification,
|
'notification' => $notification,
|
||||||
'redirect' => helper::baseUrl() . 'i18n',
|
'redirect' => helper::baseUrl() . 'i18n',
|
||||||
|
Loading…
Reference in New Issue
Block a user