From 3684ab18c1a74318ec3d22fd158ea084c4f3eb5a Mon Sep 17 00:00:00 2001 From: Miraty Date: Sat, 28 Oct 2023 18:43:08 +0200 Subject: [PATCH] Display information about SSH keys effect moment --- locales/fr/C/LC_MESSAGES/messages.po | 36 ++++++++++++++++++---------- locales/messages.pot | 36 ++++++++++++++++++---------- pg-view/ht/keys.php | 4 ++++ 3 files changed, 52 insertions(+), 24 deletions(-) diff --git a/locales/fr/C/LC_MESSAGES/messages.po b/locales/fr/C/LC_MESSAGES/messages.po index 5095106..dd772ef 100644 --- a/locales/fr/C/LC_MESSAGES/messages.po +++ b/locales/fr/C/LC_MESSAGES/messages.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-10 22:30+0200\n" +"POT-Creation-Date: 2023-10-28 18:41+0200\n" "Language: fr\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -354,7 +354,7 @@ msgstr "Erreur de l'utilisataire : " msgid "Server error: " msgstr "Erreur du serveur : " -#: fn/common.php:156 +#: fn/common.php:157 msgid "Wrong proof." msgstr "Preuve incorrecte." @@ -525,7 +525,7 @@ msgstr "Le contenu envoyé n'est pas correct (selon kzonecheck)." msgid "Multiple source domains can't be applied to the same target domain." msgstr "Plusieurs domaines sources ne peuvent pas être appliqués sur un même domaine cible." -#: pg-act/ns/sync.php:41 +#: pg-act/ns/sync.php:57 msgid "Synchronized records updated." msgstr "Enregistrements synchronisés mis à jour." @@ -733,24 +733,32 @@ msgstr "Les enregistrements AAAA, A et CAA pour le domaine doivent résoudre ver msgid "Required values (for manual copy)" msgstr "Valeurs requises (pour une copie manuelle)" -#: pg-view/ht/add-dns.php:29 +#: pg-view/ht/add-dns.php:21 +msgid "useful for testing accounts only" +msgstr "utile pour les comptes de test uniquement" + +#: pg-view/ht/add-dns.php:27 +msgid "useful for approved accounts only" +msgstr "utile pour les comptes approuvés uniquement" + +#: pg-view/ht/add-dns.php:37 #, php-format msgid "Also, to prove that you own this domain, its subdomain %1$s must have a TXT record equal to %2$s when the form is being processed." msgstr "Aussi, pour prouver que vous possédez bien ce domaine, son sous-domaine %1$s doit posséder un enregistrement TXT égal à %2$s lors du traitement de ce formulaire." -#: pg-view/ht/add-dns.php:33 pg-view/ns/form.ns.php:9 pg-view/ns/print.php:33 +#: pg-view/ht/add-dns.php:41 pg-view/ns/form.ns.php:9 pg-view/ns/print.php:33 #: pg-view/ns/zone-add.php:7 pg-view/reg/glue.php:5 pg-view/reg/print.php:10 #: pg-view/reg/register.php:12 pg-view/reg/select-domain.inc.php:2 #: pg-view/reg/unregister.php:7 msgid "Domain" msgstr "Domaine" -#: pg-view/ht/add-dns.php:35 pg-view/ht/add-onion.php:3 +#: pg-view/ht/add-dns.php:43 pg-view/ht/add-onion.php:3 #: pg-view/ht/add-subdomain.php:9 pg-view/ht/add-subpath.php:9 msgid "Target directory" msgstr "Dossier ciblé" -#: pg-view/ht/add-dns.php:44 pg-view/ht/add-onion.php:12 +#: pg-view/ht/add-dns.php:52 pg-view/ht/add-onion.php:12 #: pg-view/ht/add-subdomain.php:18 pg-view/ht/add-subpath.php:18 msgid "Setup access" msgstr "Créer l'accès" @@ -890,23 +898,27 @@ msgstr "Vrai certificat Let's Encrypt" msgid "In addition to your password, you can also access your SFTP space using Ed25519 SSH keys. A key can be granted modification rights to the full space (/) or to any arbitrary subdirectory. A key is always allowed to list any directory content." msgstr "En plus de la clé de passe, c'est également possible d'accéder à l'espace SFTP en utilisant des clés SSH Ed25519. Une clé peut être autorisée à modifier dans tout l'espace (/) ou dans un quelconque sous-dossier spécifique. Une clé est toujours autorisée à lister le contenu de n'importe quel dossier." -#: pg-view/ht/keys.php:18 +#: pg-view/ht/keys.php:7 +msgid "Changes only affect new SFTP sessions." +msgstr "Les changements sont appliqués seulement aux nouvelles sessions SFTP." + +#: pg-view/ht/keys.php:22 msgid "Add new SSH key access" msgstr "Ajouter un nouvel accès par clé SSH" -#: pg-view/ht/keys.php:18 +#: pg-view/ht/keys.php:22 msgid "SSH key access" msgstr "Accès par clé SSH" -#: pg-view/ht/keys.php:20 +#: pg-view/ht/keys.php:24 msgid "Public key" msgstr "Clé publique" -#: pg-view/ht/keys.php:24 +#: pg-view/ht/keys.php:28 msgid "Allowed directory" msgstr "Dossier autorisé" -#: pg-view/ht/keys.php:31 pg-view/ns/sync.php:38 +#: pg-view/ht/keys.php:35 pg-view/ns/sync.php:38 msgid "Update" msgstr "Mettre à jour" diff --git a/locales/messages.pot b/locales/messages.pot index 84d5270..adc57ee 100644 --- a/locales/messages.pot +++ b/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-10 22:30+0200\n" +"POT-Creation-Date: 2023-10-28 18:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -366,7 +366,7 @@ msgstr "" msgid "Server error: " msgstr "" -#: fn/common.php:156 +#: fn/common.php:157 msgid "Wrong proof." msgstr "" @@ -537,7 +537,7 @@ msgstr "" msgid "Multiple source domains can't be applied to the same target domain." msgstr "" -#: pg-act/ns/sync.php:41 +#: pg-act/ns/sync.php:57 msgid "Synchronized records updated." msgstr "" @@ -745,24 +745,32 @@ msgstr "" msgid "Required values (for manual copy)" msgstr "" -#: pg-view/ht/add-dns.php:29 +#: pg-view/ht/add-dns.php:21 +msgid "useful for testing accounts only" +msgstr "" + +#: pg-view/ht/add-dns.php:27 +msgid "useful for approved accounts only" +msgstr "" + +#: pg-view/ht/add-dns.php:37 #, php-format msgid "Also, to prove that you own this domain, its subdomain %1$s must have a TXT record equal to %2$s when the form is being processed." msgstr "" -#: pg-view/ht/add-dns.php:33 pg-view/ns/form.ns.php:9 pg-view/ns/print.php:33 +#: pg-view/ht/add-dns.php:41 pg-view/ns/form.ns.php:9 pg-view/ns/print.php:33 #: pg-view/ns/zone-add.php:7 pg-view/reg/glue.php:5 pg-view/reg/print.php:10 #: pg-view/reg/register.php:12 pg-view/reg/select-domain.inc.php:2 #: pg-view/reg/unregister.php:7 msgid "Domain" msgstr "" -#: pg-view/ht/add-dns.php:35 pg-view/ht/add-onion.php:3 +#: pg-view/ht/add-dns.php:43 pg-view/ht/add-onion.php:3 #: pg-view/ht/add-subdomain.php:9 pg-view/ht/add-subpath.php:9 msgid "Target directory" msgstr "" -#: pg-view/ht/add-dns.php:44 pg-view/ht/add-onion.php:12 +#: pg-view/ht/add-dns.php:52 pg-view/ht/add-onion.php:12 #: pg-view/ht/add-subdomain.php:18 pg-view/ht/add-subpath.php:18 msgid "Setup access" msgstr "" @@ -902,23 +910,27 @@ msgstr "" msgid "In addition to your password, you can also access your SFTP space using Ed25519 SSH keys. A key can be granted modification rights to the full space (/) or to any arbitrary subdirectory. A key is always allowed to list any directory content." msgstr "" -#: pg-view/ht/keys.php:18 +#: pg-view/ht/keys.php:7 +msgid "Changes only affect new SFTP sessions." +msgstr "" + +#: pg-view/ht/keys.php:22 msgid "Add new SSH key access" msgstr "" -#: pg-view/ht/keys.php:18 +#: pg-view/ht/keys.php:22 msgid "SSH key access" msgstr "" -#: pg-view/ht/keys.php:20 +#: pg-view/ht/keys.php:24 msgid "Public key" msgstr "" -#: pg-view/ht/keys.php:24 +#: pg-view/ht/keys.php:28 msgid "Allowed directory" msgstr "" -#: pg-view/ht/keys.php:31 pg-view/ns/sync.php:38 +#: pg-view/ht/keys.php:35 pg-view/ns/sync.php:38 msgid "Update" msgstr "" diff --git a/pg-view/ht/keys.php b/pg-view/ht/keys.php index 4529576..ffb8c8d 100755 --- a/pg-view/ht/keys.php +++ b/pg-view/ht/keys.php @@ -3,6 +3,10 @@ /) or to any arbitrary subdirectory. A key is always allowed to list any directory content.') ?>

+

+ +

+