summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebulois <quentin@debulois.fr>2022-04-23 10:16:13 +0200
committerDebulois <quentin@debulois.fr>2022-04-23 10:16:13 +0200
commite93781c7fb2fc982e643777d6334585012033c46 (patch)
treee923f2677a8f83e46d6e32fbc5033a20b2006b60
parent956f0515a728cdd2b409b3a34924bfd3fcd81a32 (diff)
Oublie d'un titre non traduit dans "register.php"
-rw-r--r--Template/Include/en/text.php1
-rw-r--r--Template/Include/fr/text.php1
-rw-r--r--Template/Include/incl_form_register.php2
3 files changed, 3 insertions, 1 deletions
diff --git a/Template/Include/en/text.php b/Template/Include/en/text.php
index 417a1d9..8ebd998 100644
--- a/Template/Include/en/text.php
+++ b/Template/Include/en/text.php
@@ -89,6 +89,7 @@ $text = [
"passNumb" => "one number,",
"passSpecial" => "one special character.",
"notice" => "\"Admin\" is here for the purpose of the exam only:",
+ "userRole" => "User role",
"isAdmin" => "Admin",
"isPro" => "Pro",
"isClient" => "Client",
diff --git a/Template/Include/fr/text.php b/Template/Include/fr/text.php
index 3622669..d1567a0 100644
--- a/Template/Include/fr/text.php
+++ b/Template/Include/fr/text.php
@@ -89,6 +89,7 @@ $text = [
"passNumb" => "un chiffre,",
"passSpecial" => "un caractère spécial.",
"notice" => "\"Admin\" est présent pour les besoins de l'examen uniquement:",
+ "userRole" => "Rôle de l'utilisateur",
"isClient" => "Client",
"isPro" => "Pro",
"isAdmin" => "Admin",
diff --git a/Template/Include/incl_form_register.php b/Template/Include/incl_form_register.php
index 402e2cc..d16aae1 100644
--- a/Template/Include/incl_form_register.php
+++ b/Template/Include/incl_form_register.php
@@ -38,7 +38,7 @@ echo('<!-- Division principale -->
<span id="passSpecial" class="invalid">'.$text[basename(__FILE__, ".php")]["passSpecial"].'</span>
</p>
</div>
- <h3>User role</h3>
+ <h3>'.$text[basename(__FILE__, ".php")]["userRole"].'</h3>
<div>
<label class="info">'.$text[basename(__FILE__, ".php")]["notice"].'</label>
<label for="isAdmin"><input type="radio" id="isAdmin" name="userStatus" value="0" required>'.$text[basename(__FILE__, ".php")]["isAdmin"].'</label>