Ajoute les mises à jour autonomes
Les installations hors YunoHost peuvent désormais vérifier et installer une release Forgejo avec sauvegarde et retour arrière complet.
This commit is contained in:
parent
f41504c852
commit
53e79a72d7
25 changed files with 1146 additions and 61 deletions
|
|
@ -127,4 +127,75 @@ return [
|
|||
'care.noon'=>'noon','care.afternoon'=>'afternoon','rooms.admission_rules'=>'Optional admission criteria','rooms.care_periods'=>'Rounds scheduled for this room','rooms.period_required'=>'Select at least one care-round period per room.','rooms.animal_not_allowed'=>'This animal does not match the admission criteria of the selected room.',
|
||||
'pricing.before_sterilization'=>'Before sterilisation','pricing.after_sterilization'=>'After sterilisation','pricing.free_fee'=>'Open amount','pricing.free'=>'Open','pricing.adoption_fees_help'=>'Indicative amounts by species. Enable “Open amount” when no fixed fee is required.','animal.sterilization_auto_free'=>'The adoption fee for this species remains open after sterilisation.',
|
||||
'pricing.delete_confirm'=>'Delete this pricing item? Previously recorded expenses will retain their label and amount.','pricing.edit_tariff'=>'Edit pricing item',
|
||||
'settings.updates'=>'Updates',
|
||||
'updates.title'=>'Settings — Updates',
|
||||
'updates.heading'=>'Globinours updates',
|
||||
'updates.intro'=>'Check, back up, install and roll back from one screen.',
|
||||
'updates.version_status'=>'Version status',
|
||||
'updates.installed_version'=>'Installed version',
|
||||
'updates.available_version'=>'Latest known version',
|
||||
'updates.last_check'=>'Last check',
|
||||
'updates.available'=>'Version :version is available.',
|
||||
'updates.available_short'=>'Update available',
|
||||
'updates.current'=>'Globinours is up to date.',
|
||||
'updates.checked'=>'The update check is complete.',
|
||||
'updates.check_error'=>'The last check failed: :error',
|
||||
'updates.check_now'=>'Check now',
|
||||
'updates.release_notes'=>'Read release notes',
|
||||
'updates.preflight'=>'Hosting compatibility',
|
||||
'updates.check_php'=>'PHP version',
|
||||
'updates.check_zip'=>'ZIP backup support',
|
||||
'updates.check_phar'=>'TAR archive support',
|
||||
'updates.check_root'=>'Application files are writable',
|
||||
'updates.check_public'=>'Public assets are writable',
|
||||
'updates.check_storage'=>'Private storage is writable',
|
||||
'updates.check_disk'=>'Available disk space',
|
||||
'updates.unknown'=>'Unknown',
|
||||
'updates.automatic'=>'Official update',
|
||||
'updates.automatic_help'=>'The latest stable Forgejo release is fetched again, then its archive and SHA-256 fingerprint are checked before any change.',
|
||||
'updates.password'=>'Administrator password',
|
||||
'updates.backup_and_install'=>'Back up and update',
|
||||
'updates.manual_archive'=>'Manual installation',
|
||||
'updates.manual_help'=>'For a server without outbound access, upload the official archive and copy its published SHA-256 fingerprint.',
|
||||
'updates.archive'=>'Globinours archive (.tar.gz)',
|
||||
'updates.sha256'=>'SHA-256 fingerprint published with the release',
|
||||
'updates.install_archive'=>'Verify and install',
|
||||
'updates.install_confirm'=>'Start the update? A complete backup will be created and verified before installation.',
|
||||
'updates.installed'=>'Globinours :version is installed. The rollback backup was retained.',
|
||||
'updates.failed'=>'Update failed:',
|
||||
'updates.rollback'=>'Return to the previous version',
|
||||
'updates.rollback_help'=>'Version :version and the data backed up before the :date update are available.',
|
||||
'updates.rollback_data_warning'=>'Changes entered after this backup will be replaced. The current state will be backed up before rollback.',
|
||||
'updates.rollback_confirm'=>'Return to the previous version? Data will be restored to its state before the update.',
|
||||
'updates.rollback_button'=>'Return to :version',
|
||||
'updates.privacy'=>'The check only sends the Globinours version in the HTTP user agent. No shelter data is transmitted.',
|
||||
'updates.password_invalid'=>'The administrator password is incorrect.',
|
||||
'updates.temp_failed'=>'Unable to prepare the temporary file.',
|
||||
'updates.archive_invalid'=>'The update archive is missing, too large or invalid.',
|
||||
'updates.hash_mismatch'=>'The SHA-256 fingerprint does not match the archive.',
|
||||
'updates.preflight_failed'=>'The “:check” check prevents automatic updating.',
|
||||
'updates.locked'=>'Another update is already running.',
|
||||
'updates.maintenance_failed'=>'Maintenance mode could not be enabled.',
|
||||
'updates.not_newer'=>'Version :version is not newer than the installed version.',
|
||||
'updates.rollback_failed'=>'The update failed (:update) and automatic rollback also failed (:rollback).',
|
||||
'updates.no_rollback'=>'No complete rollback is available.',
|
||||
'updates.release_invalid'=>'The forge response does not contain a valid release list.',
|
||||
'updates.no_release'=>'No complete stable release has been published in this repository yet.',
|
||||
'updates.repository_invalid'=>'The Forgejo repository address is invalid.',
|
||||
'updates.checksum_missing'=>'The release contains neither SHA256SUMS nor a checksum file matching its archive.',
|
||||
'updates.checksum_invalid'=>'The archive fingerprint is missing or invalid in the release.',
|
||||
'updates.php_incompatible'=>'This version requires PHP :version or newer.',
|
||||
'updates.curl_missing'=>'The cURL extension is required for online updates.',
|
||||
'updates.network_failed'=>'The download failed (:error).',
|
||||
'updates.url_invalid'=>'The update address must be a safe HTTPS URL.',
|
||||
'updates.archive_unsafe'=>'The archive contains an unsafe path or symbolic link.',
|
||||
'updates.archive_too_large'=>'The extracted archive exceeds the allowed limits.',
|
||||
'updates.extract_failed'=>'The archive could not be fully extracted.',
|
||||
'updates.release_missing'=>'The release does not contain the required component: :path.',
|
||||
'updates.symlink_refused'=>'The :path symbolic link cannot be included in application code.',
|
||||
'updates.copy_failed'=>'Unable to copy file :path.',
|
||||
'updates.postcheck_failed'=>'Post-installation checks failed.',
|
||||
'updates.directory_failed'=>'Unable to prepare directory :path.',
|
||||
'updates.download_log'=>'Download technical log',
|
||||
'updates.log_missing'=>'No update log is available.',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -127,4 +127,75 @@ return [
|
|||
'care.noon'=>'midi','care.afternoon'=>'après-midi','rooms.admission_rules'=>'Critères d’accueil facultatifs','rooms.care_periods'=>'Tournées prévues dans cette salle','rooms.period_required'=>'Sélectionnez au moins un créneau de tournée par salle.','rooms.animal_not_allowed'=>'Cet animal ne correspond pas aux critères d’accueil de la salle choisie.',
|
||||
'pricing.before_sterilization'=>'Avant stérilisation','pricing.after_sterilization'=>'Après stérilisation','pricing.free_fee'=>'Tarif libre','pricing.free'=>'Libre','pricing.adoption_fees_help'=>'Montants indicatifs par espèce. Activez « Tarif libre » lorsqu’aucun montant fixe n’est imposé.','animal.sterilization_auto_free'=>'Le tarif d’adoption de cette espèce reste libre après la stérilisation.',
|
||||
'pricing.delete_confirm'=>'Supprimer ce tarif ? Les dépenses déjà enregistrées conserveront leur libellé et leur montant.','pricing.edit_tariff'=>'Modifier le tarif',
|
||||
'settings.updates'=>'Mises à jour',
|
||||
'updates.title'=>'Paramètres — Mises à jour',
|
||||
'updates.heading'=>'Mises à jour de Globinours',
|
||||
'updates.intro'=>'Vérification, sauvegarde, installation et retour arrière depuis un même écran.',
|
||||
'updates.version_status'=>'État de la version',
|
||||
'updates.installed_version'=>'Version installée',
|
||||
'updates.available_version'=>'Dernière version connue',
|
||||
'updates.last_check'=>'Dernière vérification',
|
||||
'updates.available'=>'La version :version est disponible.',
|
||||
'updates.available_short'=>'Mise à jour disponible',
|
||||
'updates.current'=>'Globinours est à jour.',
|
||||
'updates.checked'=>'La recherche de mise à jour est terminée.',
|
||||
'updates.check_error'=>'La dernière vérification a échoué : :error',
|
||||
'updates.check_now'=>'Rechercher maintenant',
|
||||
'updates.release_notes'=>'Consulter les notes de version',
|
||||
'updates.preflight'=>'Compatibilité de l’hébergement',
|
||||
'updates.check_php'=>'Version de PHP',
|
||||
'updates.check_zip'=>'Création des sauvegardes ZIP',
|
||||
'updates.check_phar'=>'Lecture des archives TAR',
|
||||
'updates.check_root'=>'Écriture des fichiers applicatifs',
|
||||
'updates.check_public'=>'Écriture des ressources publiques',
|
||||
'updates.check_storage'=>'Écriture du stockage privé',
|
||||
'updates.check_disk'=>'Espace disque disponible',
|
||||
'updates.unknown'=>'Inconnu',
|
||||
'updates.automatic'=>'Mise à jour officielle',
|
||||
'updates.automatic_help'=>'La dernière release stable est relue sur Forgejo, puis son archive et son empreinte SHA-256 sont contrôlées avant toute modification.',
|
||||
'updates.password'=>'Mot de passe administrateur',
|
||||
'updates.backup_and_install'=>'Sauvegarder et mettre à jour',
|
||||
'updates.manual_archive'=>'Installation manuelle',
|
||||
'updates.manual_help'=>'Pour un serveur sans accès sortant, téléversez l’archive officielle et recopiez son empreinte SHA-256.',
|
||||
'updates.archive'=>'Archive Globinours (.tar.gz)',
|
||||
'updates.sha256'=>'Empreinte SHA-256 publiée avec la release',
|
||||
'updates.install_archive'=>'Vérifier et installer',
|
||||
'updates.install_confirm'=>'Lancer la mise à jour ? Une sauvegarde complète sera créée et vérifiée avant l’installation.',
|
||||
'updates.installed'=>'Globinours :version est installé. La sauvegarde de retour arrière a été conservée.',
|
||||
'updates.failed'=>'Mise à jour impossible :',
|
||||
'updates.rollback'=>'Retour à la version précédente',
|
||||
'updates.rollback_help'=>'La version :version et les données sauvegardées avant la mise à jour du :date sont disponibles.',
|
||||
'updates.rollback_data_warning'=>'Les modifications saisies après cette sauvegarde seront remplacées. Une sauvegarde de l’état actuel sera créée avant le retour arrière.',
|
||||
'updates.rollback_confirm'=>'Revenir à la version précédente ? Les données seront replacées dans l’état précédant la mise à jour.',
|
||||
'updates.rollback_button'=>'Revenir à :version',
|
||||
'updates.privacy'=>'La vérification transmet uniquement la version de Globinours dans l’identifiant HTTP. Aucune donnée du refuge n’est envoyée.',
|
||||
'updates.password_invalid'=>'Le mot de passe administrateur est incorrect.',
|
||||
'updates.temp_failed'=>'Impossible de préparer le fichier temporaire.',
|
||||
'updates.archive_invalid'=>'L’archive de mise à jour est absente, trop volumineuse ou invalide.',
|
||||
'updates.hash_mismatch'=>'L’empreinte SHA-256 ne correspond pas à l’archive.',
|
||||
'updates.preflight_failed'=>'Le contrôle « :check » empêche la mise à jour automatique.',
|
||||
'updates.locked'=>'Une autre mise à jour est déjà en cours.',
|
||||
'updates.maintenance_failed'=>'Le mode maintenance n’a pas pu être activé.',
|
||||
'updates.not_newer'=>'La version :version n’est pas plus récente que la version installée.',
|
||||
'updates.rollback_failed'=>'La mise à jour a échoué (:update) et le retour arrière automatique a également échoué (:rollback).',
|
||||
'updates.no_rollback'=>'Aucun retour arrière complet n’est disponible.',
|
||||
'updates.release_invalid'=>'La réponse de la forge ne contient pas une liste de releases valide.',
|
||||
'updates.no_release'=>'Aucune release stable complète n’est encore publiée sur ce dépôt.',
|
||||
'updates.repository_invalid'=>'L’adresse du dépôt Forgejo est invalide.',
|
||||
'updates.checksum_missing'=>'La release ne contient ni fichier SHA256SUMS ni empreinte associée à son archive.',
|
||||
'updates.checksum_invalid'=>'L’empreinte de l’archive est absente ou invalide dans la release.',
|
||||
'updates.php_incompatible'=>'Cette version nécessite PHP :version ou plus récent.',
|
||||
'updates.curl_missing'=>'L’extension cURL est nécessaire pour les mises à jour en ligne.',
|
||||
'updates.network_failed'=>'Le téléchargement a échoué (:error).',
|
||||
'updates.url_invalid'=>'L’adresse de mise à jour doit être une URL HTTPS sûre.',
|
||||
'updates.archive_unsafe'=>'L’archive contient un chemin ou un lien symbolique dangereux.',
|
||||
'updates.archive_too_large'=>'Le contenu décompressé de l’archive dépasse les limites autorisées.',
|
||||
'updates.extract_failed'=>'Impossible d’extraire complètement l’archive.',
|
||||
'updates.release_missing'=>'La release ne contient pas le composant requis : :path.',
|
||||
'updates.symlink_refused'=>'Le lien symbolique :path ne peut pas être intégré au code.',
|
||||
'updates.copy_failed'=>'Impossible de copier le fichier :path.',
|
||||
'updates.postcheck_failed'=>'Les contrôles effectués après l’installation ont échoué.',
|
||||
'updates.directory_failed'=>'Impossible de préparer le dossier :path.',
|
||||
'updates.download_log'=>'Télécharger le journal technique',
|
||||
'updates.log_missing'=>'Aucun journal de mise à jour n’est disponible.',
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue