News et Blog termes de la gestion des profils avec traductions

This commit is contained in:
Fred Tempez 2023-11-07 08:47:55 +01:00
parent 3753808b98
commit 9300ab9640
25 changed files with 116 additions and 43 deletions

View File

@ -11,7 +11,8 @@
## Améliorations ## Améliorations
- Inversion de l'ordre des boutons dans la fenêtre de login sur les petits écrans. - Inversion de l'ordre des boutons dans la fenêtre de login sur les petits écrans.
- Deux barres d'outils dans l'éditeur de texte TinyMCE. - Modification des barres d'outils de l'éditeur de texte TinyMCE.
- Gestion des profils des modules, les termes sont plus précis (*Ajouter un article* au lieu d'*Ajouter*).
## Version 13.0.06 ## Version 13.0.06

View File

@ -16,7 +16,7 @@
class blog extends common class blog extends common
{ {
const VERSION = '7.2'; const VERSION = '7.3';
const REALNAME = 'Blog'; const REALNAME = 'Blog';
const DELETE = true; const DELETE = true;
const UPDATE = '0.0'; const UPDATE = '0.0';

View File

@ -1,3 +1,5 @@
# Version 7.3
- Termes des commandes de profils
# Version 7.2 # Version 7.2
- Problème avec la portée de la fonction signature déplacée - Problème avec la portée de la fonction signature déplacée
# Version 7.1 # Version 7.1

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Alle Gruppen", "Tous les groupes": "Alle Gruppen",
"Tout effacer": "Alles löschen", "Tout effacer": "Alles löschen",
"Très Grande": "Sehr groß", "Très Grande": "Sehr groß",
"État": "État" "État": "État",
"Ajouter un article": "Einen Artikel hinzufügen",
"Éditer un article!": "Einen Artikel bearbeiten",
"Effacer un article": "Einen Artikel löschen",
"Options des articles": "Artikelmöglichkeiten"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "All groups", "Tous les groupes": "All groups",
"Tout effacer": "Erase everything", "Tout effacer": "Erase everything",
"Très Grande": "Very tall", "Très Grande": "Very tall",
"État": "Status" "État": "Status",
"Ajouter un article": "Add an article",
"Éditer un article!": "Edit an article",
"Effacer un article": "Delete an article",
"Options des articles": "Article options"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Todos los grupos", "Tous les groupes": "Todos los grupos",
"Tout effacer": "Borrar todo", "Tout effacer": "Borrar todo",
"Très Grande": "Muy grande", "Très Grande": "Muy grande",
"État": "Estado" "État": "Estado",
"Ajouter un article": "Agregar un artículo",
"Éditer un article!": "Editar un artículo",
"Effacer un article": "Borrar un artículo",
"Options des articles": "Opciones de artículos"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "", "Tous les groupes": "",
"Tout effacer": "", "Tout effacer": "",
"Très Grande": "", "Très Grande": "",
"État": "" "État": "",
"Ajouter un article": "",
"Éditer un article!": "",
"Effacer un article": "",
"Options des articles": ""
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Όλες οι ομάδες", "Tous les groupes": "Όλες οι ομάδες",
"Tout effacer": "Διαγραφή όλων", "Tout effacer": "Διαγραφή όλων",
"Très Grande": "Πολύ μεγάλη", "Très Grande": "Πολύ μεγάλη",
"État": "κατάσταση" "État": "κατάσταση",
"Ajouter un article": "Προσθήκη άρθρου",
"Éditer un article!": "Επεξεργασία άρθρου",
"Effacer un article": "Διαγραφή άρθρου",
"Options des articles": "Επιλογές άρθρων"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Tutti i gruppi", "Tous les groupes": "Tutti i gruppi",
"Tout effacer": "Cancellare tutto", "Tout effacer": "Cancellare tutto",
"Très Grande": "Molto alto", "Très Grande": "Molto alto",
"État": "Stato" "État": "Stato",
"Ajouter un article": "Aggiungi un articolo",
"Éditer un article!": "Modifica un articolo",
"Effacer un article": "Cancella un articolo",
"Options des articles": "Opzioni degli articoli"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Todos os grupos", "Tous les groupes": "Todos os grupos",
"Tout effacer": "Apague tudo", "Tout effacer": "Apague tudo",
"Très Grande": "Muito alto", "Très Grande": "Muito alto",
"État": "Estado" "État": "Estado",
"Ajouter un article": "Adicionar um artigo",
"Éditer un article!": "Editar um artigo",
"Effacer un article": "Apagar um artigo",
"Options des articles": "Opções de artigos"
} }

View File

@ -49,5 +49,9 @@
"Tous les groupes": "Tüm gruplar", "Tous les groupes": "Tüm gruplar",
"Tout effacer": "Her şeyi sil", "Tout effacer": "Her şeyi sil",
"Très Grande": "Çok büyük", "Très Grande": "Çok büyük",
"État": "Durum" "État": "Durum",
"Ajouter un article": "Makale ekleyin",
"Éditer un article!": "Makale düzenleyin",
"Effacer un article": "Makale silin",
"Options des articles": "Makale seçenekleri"
} }

View File

@ -6,29 +6,31 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogAdd', true, 'Ajouter'); ?> <?php echo template::checkbox('profilAddBlogAdd', true, 'Ajouter un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogEdit', true, 'Éditer'); ?> <?php echo template::checkbox('profilAddBlogEdit', true, 'Éditer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogDelete', true, 'Effacer'); ?> <?php echo template::checkbox('profilAddBlogDelete', true, 'Effacer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddBlogOption', true, 'Options'); ?> <?php echo template::checkbox('profilAddBlogOption', true, 'Options des articles'); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::checkbox('profilAddBlogComment', true, 'Gérer les commentaires'); ?> <?php echo template::checkbox('profilAddBlogComment', true, 'Gérer les commentaires'); ?>
</div> </div>
<div class="col3 blogAddCommentOptions"> <div class="col6 blogAddCommentOptions">
<?php echo template::checkbox('profilAddBlogCommentApprove', true, 'Approuver un commentaire'); ?> <?php echo template::checkbox('profilAddBlogCommentApprove', true, 'Approuver un commentaire'); ?>
</div> </div>
<div class="col3 blogAddCommentOptions"> </div>
<div class="row">
<div class="col6 blogAddCommentOptions">
<?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Effacer un commentaire'); ?> <?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Effacer un commentaire'); ?>
</div> </div>
<div class="col3 blogAddCommentOptions"> <div class="col6 blogAddCommentOptions">
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Effacer tous les commentaires'); ?> <?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Effacer tous les commentaires'); ?>
</div> </div>
</div> </div>

View File

@ -6,43 +6,45 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter', [ <?php echo template::checkbox('profilEditBlogAdd', true, 'Ajouter un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer', [ <?php echo template::checkbox('profilEditBlogEdit', true, 'Éditer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditBlogDelete', true, 'Effacer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditBlogOption', true, 'Options', [ <?php echo template::checkbox('profilEditBlogOption', true, 'Options des articles', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [ <?php echo template::checkbox('profilEditBlogComment', true, 'Gérer les commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
]); ?> ]); ?>
</div> </div>
<div class="col3 blogEditCommentOptions"> <div class="col6 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [ <?php echo template::checkbox('profilEditBlogCommentApprove', true, 'Approuver un commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
]); ?> ]); ?>
</div> </div>
<div class="col3 blogEditCommentOptions"> </div>
<div class="row">
<div class="col6 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer un commentaire', [ <?php echo template::checkbox('profilEditBlogCommentDelete', true, 'Effacer un commentaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
]); ?> ]); ?>
</div> </div>
<div class="col3 blogEditCommentOptions"> <div class="col6 blogEditCommentOptions">
<?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Effacer tous les commentaires', [ <?php echo template::checkbox('profilEditBlogCommentDeleteAll', true, 'Effacer tous les commentaires', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
]); ?> ]); ?>

View File

@ -1,3 +1,5 @@
# Version 5.2
- Termes des commandes de profils
# Version 5.1 # Version 5.1
- Erreur de profil - Erreur de profil
# Version 5.0 # Version 5.0

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Schreiben Sie eine Nachricht", "Rédiger une news": "Schreiben Sie eine Nachricht",
"Supprimer cet article ?": "Diesen Artikel löschen?", "Supprimer cet article ?": "Diesen Artikel löschen?",
"Très fine": "Sehr gut", "Très fine": "Sehr gut",
"Épaisseur": "Dicke" "Épaisseur": "Dicke",
"Ajouter un article": "Einen Artikel hinzufügen",
"Éditer un article!": "Einen Artikel bearbeiten",
"Effacer un article": "Einen Artikel löschen",
"Options des articles": "Artikelmöglichkeiten"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Write a news", "Rédiger une news": "Write a news",
"Supprimer cet article ?": "Delete this article?", "Supprimer cet article ?": "Delete this article?",
"Très fine": "Very fine", "Très fine": "Very fine",
"Épaisseur": "Thickness" "Épaisseur": "Thickness",
"Ajouter un article": "Add an article",
"Éditer un article!": "Edit an article",
"Effacer un article": "Delete an article",
"Options des articles": "Article options"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Escribir una noticia", "Rédiger une news": "Escribir una noticia",
"Supprimer cet article ?": "¿Borrar este artículo?", "Supprimer cet article ?": "¿Borrar este artículo?",
"Très fine": "Muy fino", "Très fine": "Muy fino",
"Épaisseur": "Espesor" "Épaisseur": "Espesor",
"Ajouter un article": "Agregar un artículo",
"Éditer un article!": "Editar un artículo",
"Effacer un article": "Borrar un artículo",
"Options des articles": "Opciones de artículos"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "", "Rédiger une news": "",
"Supprimer cet article ?": "", "Supprimer cet article ?": "",
"Très fine": "", "Très fine": "",
"Épaisseur": "" "Épaisseur": "",
"Ajouter un article": "",
"Éditer un article!": "",
"Effacer un article":"",
"Options des articles":""
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Γράψε μια είδηση", "Rédiger une news": "Γράψε μια είδηση",
"Supprimer cet article ?": "Να διαγράψετε αυτό το άρθρο;", "Supprimer cet article ?": "Να διαγράψετε αυτό το άρθρο;",
"Très fine": "Πολύ λεπτή γραμμή", "Très fine": "Πολύ λεπτή γραμμή",
"Épaisseur": "Πάχος" "Épaisseur": "Πάχος",
"Ajouter un article": "Προσθήκη άρθρου",
"Éditer un article!": "Επεξεργασία άρθρου",
"Effacer un article": "Διαγραφή άρθρου",
"Options des articles": "Επιλογές άρθρων"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Scrivi una notizia", "Rédiger une news": "Scrivi una notizia",
"Supprimer cet article ?": "Elimina questo articolo?", "Supprimer cet article ?": "Elimina questo articolo?",
"Très fine": "Molto bene", "Très fine": "Molto bene",
"Épaisseur": "Spessore" "Épaisseur": "Spessore",
"Ajouter un article": "Aggiungi un articolo",
"Éditer un article!": "Modifica un articolo",
"Effacer un article": "Cancella un articolo",
"Options des articles": "Opzioni degli articoli"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Escreva uma notícia", "Rédiger une news": "Escreva uma notícia",
"Supprimer cet article ?": "Excluir este artigo?", "Supprimer cet article ?": "Excluir este artigo?",
"Très fine": "Muito bem", "Très fine": "Muito bem",
"Épaisseur": "Espessura" "Épaisseur": "Espessura",
"Ajouter un article": "Adicionar um artigo",
"Éditer un article!": "Editar um artigo",
"Effacer un article": "Apagar um artigo",
"Options des articles": "Opções de artigos"
} }

View File

@ -39,5 +39,9 @@
"Rédiger une news": "Bir haber yaz", "Rédiger une news": "Bir haber yaz",
"Supprimer cet article ?": "Bu makale silinsin mi?", "Supprimer cet article ?": "Bu makale silinsin mi?",
"Très fine": "Çok ince", "Très fine": "Çok ince",
"Épaisseur": "Kalınlık" "Épaisseur": "Kalınlık",
"Ajouter un article": "Makale ekleyin",
"Éditer un article!": "Makale düzenleyin",
"Effacer un article": "Makale silin",
"Options des articles": "Makale seçenekleri"
} }

View File

@ -16,7 +16,7 @@
class news extends common class news extends common
{ {
const VERSION = '5.1'; const VERSION = '5.2';
const REALNAME = 'News'; const REALNAME = 'News';
const DATADIRECTORY = self::DATA_DIR . 'news/'; const DATADIRECTORY = self::DATA_DIR . 'news/';

View File

@ -6,16 +6,16 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsAdd', true, 'Ajouter'); ?> <?php echo template::checkbox('profilAddNewsAdd', true, 'Ajouter un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsEdit', true, 'Éditer'); ?> <?php echo template::checkbox('profilAddNewsEdit', true, 'Éditer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsDelete', true, 'Effacer'); ?> <?php echo template::checkbox('profilAddNewsDelete', true, 'Effacer un article'); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilAddNewsOption', true, 'Options'); ?> <?php echo template::checkbox('profilAddNewsOption', true, 'Options des articles'); ?>
</div> </div>
</div> </div>

View File

@ -6,22 +6,22 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter', [ <?php echo template::checkbox('profilEditNewsAdd', true, 'Ajouter un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer', [ <?php echo template::checkbox('profilEditNewsEdit', true, 'Éditer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer', [ <?php echo template::checkbox('profilEditNewsDelete', true, 'Effacer un article', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col3">
<?php echo template::checkbox('profilEditNewsOption', true, 'Options', [ <?php echo template::checkbox('profilEditNewsOption', true, 'Options des articles', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option']) 'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
]); ?> ]); ?>
</div> </div>