From 65003dcc985f54b5e302406bd6ca31d2563cc0f1 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 22 Jul 2023 17:21:17 +0200 Subject: [PATCH] messages d'erreur traduits dans l'installateur --- core/module/install/install.php | 3 +- core/module/install/ressource/i18n/en_EN.json | 9 +- core/module/install/ressource/i18n/es.json | 8 +- core/module/install/ressource/i18n/fr_FR.json | 267 +----------------- 4 files changed, 15 insertions(+), 272 deletions(-) diff --git a/core/module/install/install.php b/core/module/install/install.php index 39e22234..94252e67 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -383,7 +383,7 @@ class install extends common '.htaccess', $fileContent ); - $message = $success ? '' : 'Le fichier htaccess n\'a pas été restauré'; + $message = $success ? '' : helper::translate('La réécriture d\'URL n\'a pas été restaurée !'); } // Recopie htaccess if ( @@ -392,6 +392,7 @@ class install extends common ) { // L'écraser avec le backup $success = $success || copy('.htaccess.bak', '.htaccess'); + $message = $success ? '' : helper::translate('La copie de sauvegarde du fichier htaccess n\'a pas été restaurée !'); // Effacer le backup unlink('.htaccess.bak'); } diff --git a/core/module/install/ressource/i18n/en_EN.json b/core/module/install/ressource/i18n/en_EN.json index 1c7eb114..9eaef68c 100644 --- a/core/module/install/ressource/i18n/en_EN.json +++ b/core/module/install/ressource/i18n/en_EN.json @@ -1,5 +1,5 @@ { - "Affiche les icônes de gestion du compte et de déconnexion des membres simples connectés.": "Displays icons for account management and logout of logged-in regular members.", + "Affiche les icônes de gestion du compte et de déconnexion des membres simples connectés.": "Displays icons for account management and logout of logged-in regular members.", "'Ne pas afficher' crée une page orpheline non accessible par le biais des menus.": "'Do not display' creates an orphan page not accessible through menus.", "'Sauvegarder et télécharger les données du module": "'Save and download module data", "1 jour": "1 jour", @@ -646,10 +646,9 @@ "Permissions sur le module": "Module Permissions", "Blog": "Blog", "Options": "Options", - "Approuver un commentaire": "Approve Comments", + "Approuver un commentaire": "Approve Comment", "Effacer un commentaire": "Delete Comment", "Effacer tous les commentaires": "Delete all Comments", - "News": "News", "Formulaire": "Form", "Gérer les données": "Manage Data", "Export CSV": "Export CSV", @@ -658,5 +657,7 @@ "Configurer": "Configure", "Recherche": "Search", "Presse Papier": "Clipboard", - "Prévisualiser": "Preview" + "Prévisualiser": "Preview", + "La réécriture d'URL n'a pas été restaurée !": "URL rewriting has not been restored!", + "La copie de sauvegarde du fichier htaccess n'a pas été restaurée !": "Backup copy of htaccess file has not been restored!" } \ No newline at end of file diff --git a/core/module/install/ressource/i18n/es.json b/core/module/install/ressource/i18n/es.json index bbf5aabb..756df8e1 100644 --- a/core/module/install/ressource/i18n/es.json +++ b/core/module/install/ressource/i18n/es.json @@ -647,8 +647,8 @@ "Blog": "Blog", "Options": "Opciones", "Approuver un commentaire": "Aprobar comentarios", - "Effacer un commentaires": "Borrar comentario", - "Effacer tous les commentaires": "Borrar todo comentarios", + "Effacer un commentaire": "Borrar el comentario", + "Effacer tous les commentaires": "Borrar todos los comentarios", "News": "Noticias", "Formulaire": "Formulario", "Gérer les données": "Administrar datos", @@ -658,5 +658,7 @@ "Configurer": "Configurar", "Recherche": "Buscar", "Presse Papier": "Portapapeles", - "Prévisualiser": "Previsualizar" + "Prévisualiser": "Previsualizar", + "La réécriture d'URL n'a pas été restaurée !": "¡La reescritura de URL no ha sido restaurada!", + "La copie de sauvegarde du fichier htaccess n'a pas été restaurée !": "¡La copia de seguridad del archivo htaccess no ha sido restaurada!" } \ No newline at end of file diff --git a/core/module/install/ressource/i18n/fr_FR.json b/core/module/install/ressource/i18n/fr_FR.json index fb2e90ac..34f044e2 100644 --- a/core/module/install/ressource/i18n/fr_FR.json +++ b/core/module/install/ressource/i18n/fr_FR.json @@ -647,7 +647,7 @@ "Blog": "", "Options": "", "Approuver un commentaire": "", - "Effacer un commentaire": "", + "Effacer un commentaires": "", "Effacer tous les commentaires": "", "News": "", "Formulaire": "", @@ -659,267 +659,6 @@ "Recherche": "", "Presse Papier": "", "Prévisualiser": "", - "ZwiiCMS Installation": "", - "Français": "", - "Español": "", - "English": "", - "Suivant": "", - "Ne pas charger l'exemple de site (utilisateurs avancés)": "", - "TCP": "", - "HTTP": "", - "Le thème par défaut, ambiance bleu et montagne": "", - "Thème avec la nouvelle bannière personnalisable": "", - "Thème affaire, bannière centre d'appel, ambiance prune": "", - "Thème de nuit, ambiance nocturne": "", - "Thème Facebook ancienne génération, pas de bannière, menu fixe fond bleu": "", - "": "", - "First name": "", - "Last Name": "", - "Identifier": "", - "email address": "", - "Password": "", - "Proxy type": "", - "Proxy address": "", - "Proxy port": "", - "Theme": "", - "Password": "", - "  ": "", - "Stay connected on this browser": "", - "": "", - "Favicon": "", - "Remember to delete your browser's cache if the favicon does not change.": "", - "": "", - "Select an icon adapted to a dark theme.
Remember to delete your browser's cache if the favicon does not change.": "", - "Time zone": "", - "The time zone is useful for the right SEO": "", - "(GMT-11:00) Midway Island": "", - "(GMT-11:00) Samoa": "", - "(GMT-10:00) Hawaii": "", - "(GMT-09:00) Alaska": "", - "(GMT-08:00) Pacific Time (US & Canada)": "", - "(GMT-08:00) Tijuana": "", - "(GMT-07:00) Arizona": "", - "(GMT-07:00) Mountain Time (US & Canada)": "", - "(GMT-07:00) Chihuahua": "", - "(GMT-07:00) Mazatlan": "", - "(GMT-06:00) Mexico City": "", - "(GMT-06:00) Monterrey": "", - "(GMT-06:00) Saskatchewan": "", - "(GMT-06:00) Central Time (US & Canada)": "", - "(GMT-05:00) Eastern Time (US & Canada)": "", - "(GMT-05:00) Indiana (East)": "", - "(GMT-05:00) Bogota": "", - "(GMT-05:00) Lima": "", - "(GMT-04:30) Caracas": "", - "(GMT-04:00) Atlantic Time (Canada)": "", - "(GMT-04:00) La Paz": "", - "(GMT-04:00) Santiago": "", - "(GMT-03:30) Newfoundland": "", - "(GMT-03:00) Buenos Aires": "", - "(GMT-03:00) Greenland": "", - "(GMT-02:00) Stanley": "", - "(GMT-01:00) Azores": "", - "(GMT-01:00) Cape Verde Is.": "", - "(GMT) Casablanca": "", - "(GMT) Dublin": "", - "(GMT) Lisbon": "", - "(GMT) London": "", - "(GMT) Monrovia": "", - "(GMT+01:00) Amsterdam": "", - "(GMT+01:00) Belgrade": "", - "(GMT+01:00) Berlin": "", - "(GMT+01:00) Bratislava": "", - "(GMT+01:00) Brussels": "", - "(GMT+01:00) Budapest": "", - "(GMT+01:00) Copenhagen": "", - "(GMT+01:00) Ljubljana": "", - "(GMT+01:00) Madrid": "", - "(GMT+01:00) Paris": "", - "(GMT+01:00) Prague": "", - "(GMT+01:00) Rome": "", - "(GMT+01:00) Sarajevo": "", - "(GMT+01:00) Skopje": "", - "(GMT+01:00) Stockholm": "", - "(GMT+01:00) Vienna": "", - "(GMT+01:00) Warsaw": "", - "(GMT+01:00) Zagreb": "", - "(GMT+02:00) Athens": "", - "(GMT+02:00) Bucharest": "", - "(GMT+02:00) Cairo": "", - "(GMT+02:00) Harare": "", - "(GMT+02:00) Helsinki": "", - "(GMT+02:00) Istanbul": "", - "(GMT+02:00) Jerusalem": "", - "(GMT+02:00) Kyiv": "", - "(GMT+02:00) Minsk": "", - "(GMT+02:00) Riga": "", - "(GMT+02:00) Sofia": "", - "(GMT+02:00) Tallinn": "", - "(GMT+02:00) Vilnius": "", - "(GMT+03:00) Baghdad": "", - "(GMT+03:00) Kuwait": "", - "(GMT+03:00) Moscow": "", - "(GMT+03:00) Nairobi": "", - "(GMT+03:00) Riyadh": "", - "(GMT+03:00) Volgograd": "", - "(GMT+03:30) Tehran": "", - "(GMT+04:00) Baku": "", - "(GMT+04:00) Muscat": "", - "(GMT+04:00) Tbilisi": "", - "(GMT+04:00) Yerevan": "", - "(GMT+04:30) Kabul": "", - "(GMT+05:00) Ekaterinburg": "", - "(GMT+05:00) Karachi": "", - "(GMT+05:00) Tashkent": "", - "(GMT+05:30) Kolkata": "", - "(GMT+05:45) Kathmandu": "", - "(GMT+06:00) Almaty": "", - "(GMT+06:00) Dhaka": "", - "(GMT+06:00) Novosibirsk": "", - "(GMT+07:00) Bangkok": "", - "(GMT+07:00) Jakarta": "", - "(GMT+07:00) Krasnoyarsk": "", - "(GMT+08:00) Chongqing": "", - "(GMT+08:00) Hong Kong": "", - "(GMT+08:00) Irkutsk": "", - "(GMT+08:00) Kuala Lumpur": "", - "(GMT+08:00) Perth": "", - "(GMT+08:00) Singapore": "", - "(GMT+08:00) Taipei": "", - "(GMT+08:00) Ulaan Bataar": "", - "(GMT+08:00) Urumqi": "", - "(GMT+09:00) Seoul": "", - "(GMT+09:00) Tokyo": "", - "(GMT+09:00) Yakutsk": "", - "(GMT+09:30) Adelaide": "", - "(GMT+09:30) Darwin": "", - "(GMT+10:00) Brisbane": "", - "(GMT+10:00) Canberra": "", - "(GMT+10:00) Guam": "", - "(GMT+10:00) Hobart": "", - "(GMT+10:00) Melbourne": "", - "(GMT+10:00) Port Moresby": "", - "(GMT+10:00) Sydney": "", - "(GMT+10:00) Vladivostok": "", - "(GMT+11:00) Magadan": "", - "(GMT+12:00) Auckland": "", - "(GMT+12:00) Fiji": "", - "(GMT+12:00) Kamchatka": "", - "Cookie consent message": "", - "Compulsory activation according to French laws unless you use your own consent system.": "", - "Intelligent Apache URL": "", - "Deletes the question mark in the URLs, the option is unavailable with other web servers": "", - "Search for an online update": "", - "The verification is daily. Option deactivated if the server configuration does not allow it.": "", - "Preserve the root htaccess file": "", - "During an automatic update, keeps the htaccess file of the site root.": "", - "Search frequency": "", - "1 day": "", - "2 days": "", - "4 days": "", - "7 days": "", - "14 days": "", - "Daily automatic backup of the site": "", - "An archive of the file /site/data is kept for 30 days. Recommended activation": "", - "Site under maintenance": "", - "API key ScreenShotApi": "", - "Create a free account, copy the key, then validate the form before clicking the generation button": "", - "Allow robots to reference the site": "", - "Facebook": "", - "Enter your ID: https://www.facebook.com/).": "", - "Instagram": "", - "Enter your ID: https://www.instagram.com/ [ID].": "", - "Twitter": "", - "Enter your ID: https://twitter.com/[ID].": "", - "Reddit": "", - "Saisissez votre ID Reddit : https://www.reddit.com/user/[ID].": "", - "Chaîne Youtube": "", - "Channel ID: https://www.youtube.com/channel/ [ID].": "", - "Youtube": "", - "Enter your user ID: https://www.youtube.com/user/ [ID].": "", - "Vimeo": "", - "Saisissez votre ID Viemo : https://vimeo.com/[ID].": "", - "Pinterest": "", - "Enter your ID: https://pinterest.com/[ID].": "", - "Linkedin": "", - "Enter your LinkedIn ID: https://fr.linkedin.com/in/[ID].": "", - "Github": "", - "Enter your GitHub ID: https://github.com/[ID].": "", - "Twitch": "", - "Saisissez votre ID Twitch : https://www.twitch.tv/[ID].": "", - "Steam": "", - "Saisissez votre ID Viemo : https://steamcommunity.com/id/[ID].": "", - "Reveal the password": "", - "Flyover of an icon on the connection screen temporarily displays the password.": "", - "Automatic disconnection": "", - "Disconnects the previously opened sessions on other browsers or terminals. Recommended activation.": "", - "Redirection to connection": "", - "This redirection only concerns the administration pages of the site.": "", - "Limitation of attempts": "", - "Blocking after chess": "", - "Captcha at connecting": "", - "Complex captcha": "", - "Recommended option to secure the connection. Applies to all the Captchas of the site. Simple Captcha is limited to an addition of numbers from 0 to 10. Complex Captcha uses four numbers of 0 to 20. Recommended activation.": "", - "Type of Captcha": "", - "Activate journalization": "", - "Anonymity of IP addresses": "", - "French regulations require level 2 anonymity": "", - "From": "", - "Custom SMTP": "", - "Settings to use when your host does not offer the mail sending feature.": "", - "SMTP Address": "", - "SMTP port": "", - "Authentication": "", - "Username": "", - "Security": "", - "START TLS": "", - "SSL/TLS": "", - "": "", - "": "", - "": "", - "": "", - "Gestion des profils": "", - "": "", - "Profil": "", - "#": "", - "Profile Name": "", - "Associated Group": "", - "Comment": "", - "Add": "", - "Edit": "", - "Delete": "", - "Duplicate": "", - "Gérer Module": "", - "Gérer Module": "", - "CSS editor": "", - "JS editor": "", - "Options": "", - "Gérer les commentaires": "", - "Gérer les commentaires": "", - "Approve Comments": "", - "Delete Comments": "", - "Clean Comments": "", - "Galerie": "", - "Theme": "", - "Manage Data": "", - "Export CSV": "", - "Clear All": "", - "Configure": "", - "Allowed": "", - "Folder": "", - "Backup": "", - "Data": "", - "Fonts": "", - "Galerie/landscape": "", - "Galerie/space": "", - "Icones": "", - "Partage": "", - "Rename": "", - "Clipboard": "", - "Folder Rights": "", - "Download": "", - "Upload": "", - "Preview": "", - "Extract": "", - "File Rights": "" + "La réécriture d'URL n'a pas été restaurée !": "", + "La copie de sauvegarde du fichier htaccess n'a pas été restaurée !": "" } \ No newline at end of file