diff --git a/generated.txt b/generated.txt index 33c821b..f3a865e 100644 --- a/generated.txt +++ b/generated.txt @@ -1 +1 @@ -Tue Oct 8 15:25:00 UTC 2024 +Tue Oct 8 15:30:30 UTC 2024 diff --git a/join.fr.mo b/join.fr.mo index 0af81d7..84b5f10 100644 Binary files a/join.fr.mo and b/join.fr.mo differ diff --git a/join/index.fr.html b/join/index.fr.html index d0157ba..eacbac3 100644 --- a/join/index.fr.html +++ b/join/index.fr.html @@ -104,10 +104,10 @@ mathspamtrap = document.getElementById("math-spam-trap").value; var agreetoterms = document.getElementById("agree-to-terms").checked; var email = document.getElementById("email").value; if(!agreetoterms) { alert("Registration requires agreement of Code of Conduct"); return false; } -if(!email) { alert("Email cannot be empty"); return false; } if(mathspamtrap -!= "9") { alert("Wrong math answer"); return false; } if(await -checkDuplicate(email) === true) { alert("This email address has already -requested an account"); return false; } var name = +if(!email) { alert("Courriel ne peut pas être vide"); return false; } +if(mathspamtrap != "9") { alert("Mauvaise réponse mathématique"); return +false; } if(await checkDuplicate(email) === true) { alert("Ce courriel a +déjà fait une demande de compte"); return false; } var name = document.getElementById("name").value; var name = name.replace (/^/,'Name: '); var aboutme = document.getElementById("about-me").value; var aboutme = aboutme.replace (/^/,'About me: '); var aboutme = aboutme.replace(/\r?\n/g, @@ -121,11 +121,11 @@ baseurl.concat("&title=", email, "&description=", description); console.log('Description:', description); fetch(url, { method: 'POST', headers: { 'PRIVATE-TOKEN': 'glpat-RaoZSW_3XMhkGr19k6Wv', 'Content-Type': 'application/json', }, }) .then(response => response.json()) .then(result -=> { console.log('Success:', result); alert("Request submitted. A working -group member will process your registration shortly. If you receive no -contact within seven days of registration, please send an email to -support@ilot.io"); }) .catch(error => { console.error('Error:', error) }); -} +=> { console.log('Success:', result); alert("Demande soumise. Un membre du +groupe de travail traitera votre inscription dans les plus brefs délais. Si +vous n'êtes pas contacté dans les sept jours suivant votre inscription, +veuillez envoyer un courriel à support@ilot.io."); }) .catch(error => { +console.error('Error:', error) }); }