From b5bb3954c69b0876573c2d810bb219a6046973f5 Mon Sep 17 00:00:00 2001 From: pbarroca <pbarroca@afi-sa.fr> Date: Wed, 14 Jun 2017 12:19:53 +0200 Subject: [PATCH] dev #59717 : fix misc labels --- library/ZendAfi/Controller/Plugin/Versionning/Article.php | 2 +- library/ZendAfi/View/Helper/Accueil/Kiosque.php | 4 ++-- library/ZendAfi/View/Helper/FonctionsAdmin.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/ZendAfi/Controller/Plugin/Versionning/Article.php b/library/ZendAfi/Controller/Plugin/Versionning/Article.php index 560c8ea575c..7fed31379f3 100644 --- a/library/ZendAfi/Controller/Plugin/Versionning/Article.php +++ b/library/ZendAfi/Controller/Plugin/Versionning/Article.php @@ -45,7 +45,7 @@ class ZendAfi_Controller_Plugin_Versionning_Article return [ ['url' => '/admin/cms/version/id/%s', 'icon' => 'batch', - 'label' => $this->_('Versions'), + 'label' => $this->_('Historique des modifications'), 'condition' => function($model) use($permission_closure, $has_version) { return $permission_closure($model) diff --git a/library/ZendAfi/View/Helper/Accueil/Kiosque.php b/library/ZendAfi/View/Helper/Accueil/Kiosque.php index 52beda3fe2f..70e98f3a8cf 100644 --- a/library/ZendAfi/View/Helper/Accueil/Kiosque.php +++ b/library/ZendAfi/View/Helper/Accueil/Kiosque.php @@ -88,7 +88,7 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba 'id_catalogue' => $this->preferences['id_catalogue']]), Class_Admin_Skin::current() ->renderActionIconOn('edit', $this->view, - ['title' => $this->view->_('Modifier le domaine affiché')]), + ['title' => $this->view->_('Modifier le domaine : %s', htmlspecialchars($catalogue->getLibelle()))]), ['data-popup' => 'true']); if (!$domaine_parent = $catalogue->getDomaineParent()) @@ -133,7 +133,7 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba $this->view->tagImg(Class_Admin_Skin::current() ->getIconUrl('icons', 'domains'), - ['title' => $this->view->_('Modifier la source de données du kiosque')]), + ['title' => $this->view->_('Choisir un autre domaine')]), ['data-popup'=>'true']), ['class' => 'change_kiosque_data configuration_module']); diff --git a/library/ZendAfi/View/Helper/FonctionsAdmin.php b/library/ZendAfi/View/Helper/FonctionsAdmin.php index 34fe94de72f..b5fba366173 100644 --- a/library/ZendAfi/View/Helper/FonctionsAdmin.php +++ b/library/ZendAfi/View/Helper/FonctionsAdmin.php @@ -73,7 +73,7 @@ class ZendAfi_View_Helper_FonctionsAdmin extends ZendAfi_View_Helper_BaseHelper protected function _properties($url_params) { return $this->_renderActionLink('box_configuration', - $this->_('Propriétés du module'), + $this->_('Propriétés'), Class_Url::assemble($url_params)); } @@ -122,7 +122,7 @@ class ZendAfi_View_Helper_FonctionsAdmin extends ZendAfi_View_Helper_BaseHelper if (0 < Class_Versions::forWidget($widget)->count()) return $this->_renderActionLink('batch', - $this->_('Versions du module'), + $this->_('Historique des modifications'), Class_Url::assemble(['module' => 'admin', 'controller' => 'widget', 'action' => 'version', @@ -153,7 +153,7 @@ class ZendAfi_View_Helper_FonctionsAdmin extends ZendAfi_View_Helper_BaseHelper if (!$this->_isBoxConfiguration()) return ''; - $label = $this->_('Supprimer'); + $label = $this->_('Supprimer cette boite'); $url = $this->view->url(['module' => 'admin', 'controller' => 'widget', 'action' => 'delete', -- GitLab