diff --git a/controllers/admin/AdminGroupsController.php b/controllers/admin/AdminGroupsController.php index ab980a94e..cd60467ca 100644 --- a/controllers/admin/AdminGroupsController.php +++ b/controllers/admin/AdminGroupsController.php @@ -100,6 +100,18 @@ class AdminGroupsControllerCore extends AdminController $this->addJqueryUi('ui.sortable'); } + public function initToolbar() + { + if ($this->display == 'add' || $this->display == 'edit') + $this->toolbar_btn['save-and-stay'] = array( + 'short' => 'SaveAndStay', + 'href' => '#', + 'desc' => $this->l('Save then add a category reduction'), + 'force_desc' => true, + ); + parent::initToolbar(); + } + public function initProcess() { $this->id_object = Tools::getValue('id_'.$this->table); diff --git a/translations/fr/admin.php b/translations/fr/admin.php index 2eaf873dc..b8da52302 100644 --- a/translations/fr/admin.php +++ b/translations/fr/admin.php @@ -1216,6 +1216,7 @@ $_LANGADM['AdminGroups4c41e0bd957698b58100a5c687d757d9'] = 'Tout sélectionnez'; $_LANGADM['AdminGroups4c5b2bb26372d8f319dfcc2410306e6f'] = 'Restrictions sur les modules :'; $_LANGADM['AdminGroups4e140ba723a03baa6948340bf90e2ef6'] = 'Nom :'; $_LANGADM['AdminGroups6103f2da0d42ee18da16ecc0237e7d71'] = '%s - Toutes les personnes ayant créé un compte sur le site.'; +$_LANGADM['AdminGroups612ca468398a214db73403118985dde8'] = 'Enregistrer puis créer une réduction sur une catégorie'; $_LANGADM['AdminGroups6adf97f83acf6453d4a6a4b1070f3754'] = 'Aucun'; $_LANGADM['AdminGroups718d94783dffc0a3411bb46ed6f99530'] = 'Réduction sur une catégorie'; $_LANGADM['AdminGroups7442e29d7d53e549b78d93c46b8cdcfc'] = 'Commandes'; @@ -4344,7 +4345,7 @@ $_LANGADM['index77181afe06241c54ef771a23ee6da8f4'] = 'Derniers messages'; $_LANGADM['index7de03e29467c9d376a57e40f2ace850f'] = 'Une modification de ce champ sera appliquée à la boutique %s'; $_LANGADM['index8642a2f37a5d42b54ce53b1fbdd1583f'] = 'paniers'; $_LANGADM['index86bbc77fd75ac02c21b84a37b260eadd'] = 'Panneau d\'administration'; -$_LANGADM['index87d6ef331c17f4e5d4e539e2098bf01a'] = 'Configuration multi-boutique pour'; +$_LANGADM['index891cea3363eb13a9ed383ae32f0b48d8'] = 'Sélectionnez votre boutique :'; $_LANGADM['indexa2eda4e1c4dfc9bade7150b878c57a46'] = 'Voir tous les messages'; $_LANGADM['indexa4da6f31ab268a5310bc475e63ab92db'] = 'Je comprends les risques et je veux afficher la page'; $_LANGADM['indexa546b4ed60fa82d6e50475370c228979'] = 'Un nouveau message a été publié sur votre boutique.';