From 618ba0da6b65e7cab3cc056fb15a56d60493d5bc Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 14 Feb 2023 08:47:02 +0100 Subject: [PATCH] =?UTF-8?q?Blog=20et=20news=20am=C3=A9lioration=20des=20tr?= =?UTF-8?q?aductions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/i18n/el_GR.json | 2 +- module/blog/i18n/en_EN.json | 4 ++-- module/blog/i18n/es.json | 2 +- module/blog/i18n/fr_FR.json | 2 +- module/blog/i18n/it.json | 4 ++-- module/blog/i18n/pt_PT.json | 6 +++--- module/blog/view/config/config.php | 2 +- module/news/i18n/el_GR.json | 12 ++++++------ module/news/i18n/en_EN.json | 8 ++++---- module/news/i18n/es.json | 8 ++++---- module/news/i18n/fr_FR.json | 8 ++++---- module/news/i18n/it.json | 8 ++++---- module/news/i18n/pt_PT.json | 8 ++++---- module/news/news.php | 8 ++++---- module/news/view/config/config.php | 2 +- 15 files changed, 42 insertions(+), 42 deletions(-) diff --git a/module/blog/i18n/el_GR.json b/module/blog/i18n/el_GR.json index 53c1584d..eed5901f 100644 --- a/module/blog/i18n/el_GR.json +++ b/module/blog/i18n/el_GR.json @@ -28,7 +28,7 @@ "Commentaire supprimé": "Σχόλιο διαγράφηκε", "Commentaires": "Σχόλια", "Commentaires supprimés": "Σχόλια διαγράφονται", - "Date de publication": "ημερομηνία δημοσίευσης", + "Publication": "ημερομηνία δημοσίευσης", "Edition - Suppression": "Επεξεργασία - Διαγραφή", "Effacer l'article": "Διαγραφή αντικειμένου", "Fermer les commentaires": "Κλείσιμο σχολίων", diff --git a/module/blog/i18n/en_EN.json b/module/blog/i18n/en_EN.json index 028a5776..236fe25f 100644 --- a/module/blog/i18n/en_EN.json +++ b/module/blog/i18n/en_EN.json @@ -28,7 +28,7 @@ "Commentaire supprimé": "Deleted comment", "Commentaires": "Comments", "Commentaires supprimés": "Deleted comments", - "Date de publication": "Publication date", + "Publication": "Publication", "Edition - Suppression": "Edition - Suppression", "Effacer l'article": "Erase the article", "Fermer les commentaires": "Turn off the comments", @@ -75,5 +75,5 @@ "Éditer / Approuver les commentaires": "Edit / approve comments", "Éditer l'article": "Edit the article", "Éditeur": "Editor", - "État": "État" + "État": "Status" } \ No newline at end of file diff --git a/module/blog/i18n/es.json b/module/blog/i18n/es.json index ded2536a..994cb86c 100644 --- a/module/blog/i18n/es.json +++ b/module/blog/i18n/es.json @@ -28,7 +28,7 @@ "Commentaire supprimé": "Comentario eliminado", "Commentaires": "Comentarios", "Commentaires supprimés": "Comentarios eliminados", - "Date de publication": "Fecha de publicación", + "Publication": "Publicación", "Edition - Suppression": "Editar Borrar", "Effacer l'article": "Eliminar artículo", "Fermer les commentaires": "Cerrar los comentarios", diff --git a/module/blog/i18n/fr_FR.json b/module/blog/i18n/fr_FR.json index bb85249c..ea09b177 100644 --- a/module/blog/i18n/fr_FR.json +++ b/module/blog/i18n/fr_FR.json @@ -28,7 +28,7 @@ "Commentaire supprimé": "", "Commentaires": "", "Commentaires supprimés": "", - "Date de publication": "", + "Publication": "", "Edition - Suppression": "", "Effacer l'article": "", "Fermer les commentaires": "", diff --git a/module/blog/i18n/it.json b/module/blog/i18n/it.json index 027bcc90..23a40726 100644 --- a/module/blog/i18n/it.json +++ b/module/blog/i18n/it.json @@ -28,7 +28,7 @@ "Commentaire supprimé": "Commento cancellato", "Commentaires": "Commenti", "Commentaires supprimés": "Commenti cancellati", - "Date de publication": "Data di pubblicazione", + "Publication": "Pbblicazione", "Edition - Suppression": "Edizione - soppressione", "Effacer l'article": "Cancella l'articolo", "Fermer les commentaires": "Disattiva i commenti", @@ -75,5 +75,5 @@ "Éditer / Approuver les commentaires": "Modifica / approva i commenti", "Éditer l'article": "Modifica l'articolo", "Éditeur": "Editore", - "État": "État" + "État": "Stato" } \ No newline at end of file diff --git a/module/blog/i18n/pt_PT.json b/module/blog/i18n/pt_PT.json index e5d991fe..614d958b 100644 --- a/module/blog/i18n/pt_PT.json +++ b/module/blog/i18n/pt_PT.json @@ -28,7 +28,7 @@ "Commentaire supprimé": "Comentário excluído", "Commentaires": "Comentários", "Commentaires supprimés": "Comentários excluídos", - "Date de publication": "Data de publicação", + "Publication": "Publicação", "Edition - Suppression": "Edição - Supressão", "Effacer l'article": "Apague o artigo", "Fermer les commentaires": "Desligue os comentários", @@ -74,6 +74,6 @@ "À gauche": "Para a esquerda", "Éditer / Approuver les commentaires": "Editar / aprovar comentários", "Éditer l'article": "Edite o artigo", - "Éditeur": "editor", - "État": "État" + "Éditeur": "Editor", + "État": "Estado" } \ No newline at end of file diff --git a/module/blog/view/config/config.php b/module/blog/view/config/config.php index 931c9bd9..3be3f753 100755 --- a/module/blog/view/config/config.php +++ b/module/blog/view/config/config.php @@ -26,7 +26,7 @@ - + diff --git a/module/news/i18n/el_GR.json b/module/news/i18n/el_GR.json index 36f0195d..dfa1acda 100644 --- a/module/news/i18n/el_GR.json +++ b/module/news/i18n/el_GR.json @@ -24,8 +24,8 @@ "Brouillon": "Σχέδιο", "Couleur de la bordure": "Χρώμα γραμμής", "Couleur du fond": "Χρώμα του φόντου", - "Date de dépublication": "Ημερομηνία μη δημοσίευσης", - "Date de publication": "Ημερομηνία έκδοσης", + "Fin de publication": "Τέλος της δημοσίευσης", + "Publication": "Ημερομηνία έκδοσης", "Etiquette RSS": "Ετικέτα RSS", "Fine": "Πολύ λεπτή γραμμήλεπτή γραμμή", "Flux limité aux articles de la première page.": "Ροή περιορίζεται σε άρθρα στην πρώτη σελίδα.", @@ -34,17 +34,17 @@ "L'article est consultable à partir du moment ou la date de publication est passée.": "Το άρθρο μπορεί να αναζητηθεί μόλις παρέλθει η ημερομηνία δημοσίευσης.", "Lien du flux RSS": "Σύνδεσμος τροφοδοσίας RSS", "Nombre de colonnes": "Αριθμός στηλών", - "Nouvel article créé": "", + "Nouvel article créé": "Νέο άρθρο δημιουργήθηκε", "Options de configuration": "Επιλογές διαμόρφωσης", "Options de publication": "Επιλογές δημοσίευσης", - "Permanent": "", + "Permanent": "μόνιμος", "Petite": "μικρη", "Publier": "Δημοσιεύω", "Rédiger un article": "", "Rédiger une news": "Γράψε μια είδηση", "Supprimer cet article ?": "Να διαγράψετε αυτό το άρθρο;", - "Trait": "παύλας", "Très fine": "Πολύ λεπτή γραμμή", "Très petite": "Πολύ μικρη", - "Épaisseur": "Πάχος" + "Épaisseur": "Πάχος", + "Publié": "δημοσιεύθηκε" } \ No newline at end of file diff --git a/module/news/i18n/en_EN.json b/module/news/i18n/en_EN.json index 07e7f337..20d3864e 100644 --- a/module/news/i18n/en_EN.json +++ b/module/news/i18n/en_EN.json @@ -24,8 +24,8 @@ "Brouillon": "Draft copy", "Couleur de la bordure": "Border color", "Couleur du fond": "Bottom color", - "Date de dépublication": "Date of depublication", - "Date de publication": "Publication date", + "Fin de publication": "End of publication", + "Dublication": "Publication date", "Etiquette RSS": "RSS label", "Fine": "Fine", "Flux limité aux articles de la première page.": "Flow limited to articles on the first page.", @@ -43,8 +43,8 @@ "Rédiger un article": "Write an article", "Rédiger une news": "Write a news", "Supprimer cet article ?": "Delete this article?", - "Trait": "Line", "Très fine": "Very fine", "Très petite": "Very small", - "Épaisseur": "Thickness" + "Épaisseur": "Thickness", + "Publié": "Published" } \ No newline at end of file diff --git a/module/news/i18n/es.json b/module/news/i18n/es.json index 7dc01aea..5dccfd25 100644 --- a/module/news/i18n/es.json +++ b/module/news/i18n/es.json @@ -24,8 +24,8 @@ "Brouillon": "Borrador", "Couleur de la bordure": "Color de bordillo", "Couleur du fond": "Color de fondo", - "Date de dépublication": "Fecha no publicada", - "Date de publication": "Fecha de publicación", + "Fin de publication": "Fecha no publicada", + "Publication": "Fecha de publicación", "Etiquette RSS": "", "Fine": "Fino", "Flux limité aux articles de la première page.": "Alimento limitado a artículos en la primera página.", @@ -43,8 +43,8 @@ "Rédiger un article": "Escribe un artículo", "Rédiger une news": "Escribir una noticia", "Supprimer cet article ?": "¿Borrar este artículo?", - "Trait": "Guión", "Très fine": "Muy fino", "Très petite": "Muy pequeña", - "Épaisseur": "Espesor" + "Épaisseur": "Espesor", + "Publié": "publicado" } \ No newline at end of file diff --git a/module/news/i18n/fr_FR.json b/module/news/i18n/fr_FR.json index 4743de04..0978a44e 100644 --- a/module/news/i18n/fr_FR.json +++ b/module/news/i18n/fr_FR.json @@ -24,8 +24,8 @@ "Brouillon": "", "Couleur de la bordure": "", "Couleur du fond": "", - "Date de dépublication": "", - "Date de publication": "", + "Fin de dépublication": "", + "Publication": "", "Etiquette RSS": "", "Fine": "", "Flux limité aux articles de la première page.": "", @@ -43,8 +43,8 @@ "Rédiger un article": "", "Rédiger une news": "", "Supprimer cet article ?": "", - "Trait": "", "Très fine": "", "Très petite": "", - "Épaisseur": "" + "Épaisseur": "", + "Publié": "" } \ No newline at end of file diff --git a/module/news/i18n/it.json b/module/news/i18n/it.json index 81ad8be8..83729c5a 100644 --- a/module/news/i18n/it.json +++ b/module/news/i18n/it.json @@ -24,8 +24,8 @@ "Brouillon": "Progetto di copia", "Couleur de la bordure": "Colore del bordo", "Couleur du fond": "Colore inferiore", - "Date de dépublication": "Data di depubblicazione", - "Date de publication": "Data di pubblicazione", + "Fin de publication": "Fine della pubblicazione", + "Publication": "Data di pubblicazione", "Etiquette RSS": "Etichetta RSS", "Fine": "Bene", "Flux limité aux articles de la première page.": "Flusso limitato agli articoli nella prima pagina.", @@ -43,8 +43,8 @@ "Rédiger un article": "Scrivi un articolo", "Rédiger une news": "Scrivi una notizia", "Supprimer cet article ?": "Elimina questo articolo?", - "Trait": "Trattino", "Très fine": "Molto bene", "Très petite": "Molto piccolo", - "Épaisseur": "Spessore" + "Épaisseur": "Spessore", + "Publié": "Pubblicato" } \ No newline at end of file diff --git a/module/news/i18n/pt_PT.json b/module/news/i18n/pt_PT.json index 47ef1852..6bdd5083 100644 --- a/module/news/i18n/pt_PT.json +++ b/module/news/i18n/pt_PT.json @@ -24,8 +24,8 @@ "Brouillon": "Cópia rascunho", "Couleur de la bordure": "Cor da borda", "Couleur du fond": "Cor inferior", - "Date de dépublication": "Data da depublicação", - "Date de publication": "Data de publicação", + "Fin de publication": "Fin da publicação", + "Publication": "Data de publicação", "Etiquette RSS": "Rótulo RSS", "Fine": "Multar", "Flux limité aux articles de la première page.": "Fluxo limitado a artigos na primeira página.", @@ -43,8 +43,8 @@ "Rédiger un article": "Escrever um artigo", "Rédiger une news": "Escreva uma notícia", "Supprimer cet article ?": "Excluir este artigo?", - "Trait": "Hífen", "Très fine": "Muito bem", "Très petite": "Muito pequeno", - "Épaisseur": "Espessura" + "Épaisseur": "Espessura", + "Publié": "Publicado" } \ No newline at end of file diff --git a/module/news/news.php b/module/news/news.php index a77d634a..6a9c48ac 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -81,7 +81,7 @@ class news extends common public static $borderStyle = [ 'none' => 'Aucune', - 'solid' => 'Tiret' + 'solid' => 'Bordure' ]; // Signature de l'article @@ -231,13 +231,13 @@ class news extends common if ($this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'publishedOff'])) { $dateOff = helper::dateUTF8(self::$dateFormat, $this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'publishedOff'])) . ' - ' . helper::dateUTF8(self::$timeFormat, $this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'publishedOff'])); } else { - $dateOff = 'Permanent'; + $dateOff = helper::translate('Permanent'); } self::$news[] = [ $this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'title']), $dateOn, $dateOff, - self::$states[$this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'state'])], + helper::translate(self::$states[$this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'state'])]), template::button('newsConfigEdit' . $newsIds[$i], [ 'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $newsIds[$i] . '/' . $_SESSION['csrf'], 'value' => template::ico('pencil') @@ -337,7 +337,7 @@ class news extends common $this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'title']), $dateOn, $dateOff, - self::$states[$this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'state'])], + helper::translate(helper::translate(self::$states[$this->getData(['module', $this->getUrl(0), 'posts', $newsIds[$i], 'state'])])), template::button('newsConfigEdit' . $newsIds[$i], [ 'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $newsIds[$i] . '/' . $_SESSION['csrf'], 'value' => template::ico('pencil') diff --git a/module/news/view/config/config.php b/module/news/view/config/config.php index e1933e82..92f7e4b1 100644 --- a/module/news/view/config/config.php +++ b/module/news/view/config/config.php @@ -25,7 +25,7 @@ - +