Traduction des tables + chaines manquantes en espagnol

This commit is contained in:
Fred Tempez 2022-09-19 19:31:06 +02:00
parent 47c87043b9
commit 1e28e021b9
6 changed files with 48 additions and 22 deletions

View File

@ -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

View File

@ -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'
]); ?>

View File

@ -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'])
]); ?>

View File

@ -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">

View File

@ -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": ""
}

View File

@ -323,5 +323,15 @@
"Aide": "",
"Fontes": "",
"Gestion": "",
"Administration": ""
"Administration": "",
"Multilangues": "",
"Interface": "",
"Contenu du site": "",
"Traductions installées": "",
"Interface de Zwii": "",
"Paramétres": "",
"Maintenance": "",
"Scripts externes": "",
"Identifiant": "",
"Groupe": ""
}