From c3340055b978a57b1ede9fc9c9b2d3c5530f5d32 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Thu, 13 Dec 2018 15:04:55 +0100
Subject: [PATCH] formulation enhancement

---
 lib/AccountManager/L10N/fr.pm                  | 11 +++--------
 templates/web/edugain/create_accounts.tt2.html |  3 +--
 templates/web/renater/create_accounts.tt2.html |  3 +--
 3 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/lib/AccountManager/L10N/fr.pm b/lib/AccountManager/L10N/fr.pm
index 076be42..000a4d8 100644
--- a/lib/AccountManager/L10N/fr.pm
+++ b/lib/AccountManager/L10N/fr.pm
@@ -224,11 +224,6 @@ msgstr "Pour terminer la création de ces comptes de test, recopiez le code de v
 msgid "To complete the creation of test accounts, paste the following validation token in <a href=\"%1\">%2</a>: %3"
 msgstr "Pour terminer la création de ces comptes de test, recopiez le code de validation suivant dans <a href=\"%1\">%2</a>: %3"
 
-#. (idp_displayname)
-#: templates/web/edugain/create_accounts.tt2.html:11 templates/web/renater/create_accounts.tt2.html:13
-msgid "To do so, select <strong>%1</strong> when choosing an identity provider."
-msgstr "Pour ce faire, sélectionnez <strong>%1</strong> lors du choix du founisseur d'identité à utiliser."
-
 #: templates/web/edugain/home.tt2.html:11 templates/web/renater/home.tt2.html:11
 msgid "To start testing your own services, start by selecting one your are administrator for."
 msgstr "Pour commencer à tester vos propres services, commencez par en sélectionner un dont vous êtes l'administrateur."
@@ -247,10 +242,10 @@ msgstr "Retour utilisateurs"
 msgid "Validation token: %1"
 msgstr "Code de validation: %1"
 
-#. (url)
+#. (sp.url, idp.name)
 #: templates/web/edugain/create_accounts.tt2.html:10 templates/web/renater/create_accounts.tt2.html:12
-msgid "You can now use these test accounts to login at your <a href=\"%1\">service provider</a>."
-msgstr "Vous pouvez maintenant utiliser ces comptes pour vous identifier sur votre <a href=\"%1\">fournisseur de service</a>."
+msgid "You can now use these test accounts to access your <a href=\"%1\">service provider</a>, using <strong>%2</strong> as identity provider."
+msgstr "Vous pouvez maintenant utiliser ces comptes pour accéder à votre <a href=\"%1\">fournisseur de service</a>, en utilisant <strong>%2</strong> comme fournisseur d'identité."
 
 #: templates/web/edugain/errors.tt2.html:40 templates/web/renater/errors.tt2.html:39
 msgid "You can report the issue to the administrators"
diff --git a/templates/web/edugain/create_accounts.tt2.html b/templates/web/edugain/create_accounts.tt2.html
index fba6a15..11d0f1b 100644
--- a/templates/web/edugain/create_accounts.tt2.html
+++ b/templates/web/edugain/create_accounts.tt2.html
@@ -7,8 +7,7 @@
 
 <h2>[% lh.maketext("Test accounts created") %]</h2>
 <p>
-    [% lh.maketext("You can now use these test accounts to login at your <a href=\"[_1]\">service provider</a>.", sp.url) %] 
-    [% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp.name) %]
+    [% lh.maketext("You can now use these test accounts to access your <a href=\"[_1]\">service provider</a>, using <strong>[_2]</strong> as identity provider.", sp.url, idp.name) %]
 </p>
 
 <p class="callout warning">
diff --git a/templates/web/renater/create_accounts.tt2.html b/templates/web/renater/create_accounts.tt2.html
index 0a32f65..cd0c2df 100644
--- a/templates/web/renater/create_accounts.tt2.html
+++ b/templates/web/renater/create_accounts.tt2.html
@@ -9,8 +9,7 @@
 
 <h2>[% lh.maketext("Test accounts created") %]</h2>
 <p>
-    [% lh.maketext("You can now use these test accounts to login at your <a href=\"[_1]\">service provider</a>.", sp.url) %] 
-    [% lh.maketext("To do so, select <strong>[_1]</strong> when choosing an identity provider.", idp.name) %]
+    [% lh.maketext("You can now use these test accounts to access your <a href=\"[_1]\">service provider</a>, using <strong>[_2]</strong> as identity provider.", sp.url, idp.name) %]
 </p>
 
 <p class="callout alert-callout-border warning">
-- 
GitLab