diff --git a/core/module/translate/translate.php b/core/module/translate/translate.php index e9ab9e7c..bbaa1a36 100644 --- a/core/module/translate/translate.php +++ b/core/module/translate/translate.php @@ -101,7 +101,7 @@ class translate extends common // Valeurs en sortie $this->addOutput([ - 'title' => 'Utilitaire de copie', + 'title' => 'Copie de contenus localisés', 'view' => 'copy' ]); } @@ -134,20 +134,20 @@ class translate extends common // tableau des langues installées if (is_dir(self::DATA_DIR . $key)) { self::$languagesInstalled[] = [ - template::flag($key, '50%'), + template::flag($key, '20 %'), $value . ' (' . $key . ')', self::$i18nUI === $key ? 'Interface' : '', '', template::button('translateContentLanguageEdit' . $key, [ 'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $key . '/' . $_SESSION['csrf'], 'value' => template::ico('flag'), - 'help' => 'Editer les locales' + 'help' => 'Editer' ]), template::button('translateContentLanguageDelete' . $key, [ 'class' => 'translateDelete buttonRed' . (self::$i18nUI === $key ? ' disabled' : ''), 'href' => helper::baseUrl() . $this->getUrl(0) . '/delete/' . $key . '/' . $_SESSION['csrf'], 'value' => template::ico('trash'), - 'help' => 'Supprimer cette langue' + 'help' => 'Supprimer' ]) ]; } @@ -172,7 +172,7 @@ class translate extends common // Valeurs en sortie $this->addOutput([ - 'title' => 'Multilangues', + 'title' => 'Langues', 'view' => 'index' ]); } @@ -235,7 +235,7 @@ class translate extends common // Valeurs en sortie $this->addOutput([ - 'title' => 'Ajouter', + 'title' => 'Ajouter un contenu localisé', 'view' => 'add' ]); } @@ -349,7 +349,7 @@ class translate extends common // Valeurs en sortie $this->addOutput([ - 'title' => 'Paramètres de la localisation ' . self::$languages[$this->getUrl(2)], + 'title' => 'Paramètres de la localisation ' . template::flag($this->getUrl(2), '20 %'), 'view' => 'edit' ]); } diff --git a/core/module/translate/view/add/add.php b/core/module/translate/view/add/add.php index 64665f6f..c0949ac3 100644 --- a/core/module/translate/view/add/add.php +++ b/core/module/translate/view/add/add.php @@ -15,7 +15,7 @@