Traduction des tables + chaines manquantes en espagnol
This commit is contained in:
parent
47c87043b9
commit
1e28e021b9
@ -754,6 +754,8 @@ class template {
|
||||
'uniqueSubmission' => false, //true avant 9.1.08
|
||||
'value' => 'Enregistrer'
|
||||
], $attributes);
|
||||
// Traduction de l'aide et de l'étiquette
|
||||
$attributes['value'] = helper::translate($attributes['value']);
|
||||
// Retourne le html
|
||||
return sprintf(
|
||||
'<button type="submit" class="%s%s" %s>%s</button>',
|
||||
@ -780,6 +782,10 @@ class template {
|
||||
'classWrapper' => '',
|
||||
'id' => ''
|
||||
], $attributes);
|
||||
// Traduction de l'aide et de l'étiquette
|
||||
foreach($head as $value) {
|
||||
$head[array_search($value,$head)] = helper::translate($value);
|
||||
}
|
||||
// Début du wrapper
|
||||
$html = '<div id="' . $attributes['id'] . 'Wrapper" class="tableWrapper ' . $attributes['classWrapper']. '">';
|
||||
// Début tableau
|
||||
|
@ -159,7 +159,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::textarea('themeFooterText', [
|
||||
'label' => '<div class="titleWysiwygContent">Contenu personnalisé</div>',
|
||||
'label' => '<div class="titleWysiwygContent">' . template::topic('Contenu personnalisé') .'</div>',
|
||||
'value' => $this->getData(['theme', 'footer', 'text']),
|
||||
'class' => 'editorWysiwyg'
|
||||
]); ?>
|
||||
|
@ -213,7 +213,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::textarea('themeHeaderText', [
|
||||
'label' => '<div class="titleWysiwygContent">Contenu personnalisé</div>',
|
||||
'label' => '<div class="titleWysiwygContent">' . template::topic('Contenu personnalisé') .'</div>',
|
||||
'class' => 'editorWysiwyg',
|
||||
'value' => $this->getData(['theme', 'header', 'featureContent'])
|
||||
]); ?>
|
||||
|
@ -46,7 +46,7 @@
|
||||
<div class="col12">
|
||||
<div class="block" id="flagsWrapper">
|
||||
<h4>
|
||||
<?php echo template::topic('Traduire ZwiiCMS'); ?>
|
||||
<?php echo template::topic('Interface de Zwii'); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4 offset4">
|
||||
|
@ -323,5 +323,15 @@
|
||||
"Aide": "Ayuda",
|
||||
"Fontes": "Tipografias",
|
||||
"Gestion": "Administrar",
|
||||
"Administration": "Administración"
|
||||
"Administration": "Administración",
|
||||
"Multilangues": "",
|
||||
"Interface": "",
|
||||
"Contenu du site": "",
|
||||
"Traductions installées": "",
|
||||
"Interface de Zwii": "",
|
||||
"Paramétres": "",
|
||||
"Maintenance": "",
|
||||
"Scripts externes": "",
|
||||
"Identifiant": "",
|
||||
"Groupe": ""
|
||||
}
|
@ -299,29 +299,39 @@
|
||||
"Restaurer les données du site": "",
|
||||
"Vider dossier sauvegardes auto": "",
|
||||
"Copier sauvegardes auto": "",
|
||||
"Réinstaller": "",
|
||||
"Script dans head": "",
|
||||
"Script dans body": "",
|
||||
"Générer une capture Open Graph": "",
|
||||
"Réinstaller": "",
|
||||
"Script dans head": "",
|
||||
"Script dans body": "",
|
||||
"Générer une capture Open Graph": "",
|
||||
"Générer sitemap.xml et robots.txt": "",
|
||||
"Télécharger la liste": "",
|
||||
"Réinitialiser la liste": "",
|
||||
"Télécharger le journal": "",
|
||||
"Réinitialiser le journal": "",
|
||||
"Fond du sous-menu": "",
|
||||
"Liens": "",
|
||||
"Arrière-plan des blocs": "",
|
||||
"Bordure des blocs": "",
|
||||
"Boutons": "",
|
||||
"Thème du site": "",
|
||||
"Thème de l'administration": "",
|
||||
"Appliquer": "",
|
||||
"Télécharger le journal": "",
|
||||
"Réinitialiser le journal": "",
|
||||
"Fond du sous-menu": "",
|
||||
"Liens": "",
|
||||
"Arrière-plan des blocs": "",
|
||||
"Bordure des blocs": "",
|
||||
"Boutons": "",
|
||||
"Thème du site": "",
|
||||
"Thème de l'administration": "",
|
||||
"Appliquer": "",
|
||||
"Enregistrer": "",
|
||||
"Éditeur CSS": "",
|
||||
"Éditeur CSS": "",
|
||||
"Éditeur JS": "",
|
||||
"Accueil": "",
|
||||
"Aide": "",
|
||||
"Fontes": "",
|
||||
"Gestion": "",
|
||||
"Administration": ""
|
||||
"Fontes": "",
|
||||
"Gestion": "",
|
||||
"Administration": "",
|
||||
"Multilangues": "",
|
||||
"Interface": "",
|
||||
"Contenu du site": "",
|
||||
"Traductions installées": "",
|
||||
"Interface de Zwii": "",
|
||||
"Paramétres": "",
|
||||
"Maintenance": "",
|
||||
"Scripts externes": "",
|
||||
"Identifiant": "",
|
||||
"Groupe": ""
|
||||
}
|
Loading…
Reference in New Issue
Block a user