Gitlab CSE Unil

Commit 5004dc25 authored by M. Chardon's avatar M. Chardon
Browse files

alea - traduction etape 2

parent 7862f67a
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
"orange_wrong": "Orange: wrong guess", "orange_wrong": "Orange: wrong guess",
"blue_right": "Blue: right guess", "blue_right": "Blue: right guess",
"perc_correct": "Percent correct answers",
"tot_right": "Total of right guesses",
"10_res": "About the last 10 results",
"step1": "Step 1: test your sequence", "step1": "Step 1: test your sequence",
"step2": "Step 2: test the computeur", "step2": "Step 2: test the computeur",
...@@ -15,9 +18,12 @@ ...@@ -15,9 +18,12 @@
"step1_info": "Write by hand a sequence of 100 one and zero and transcribe them into the box below. The computer will record the first ten numbers and use them to predict the next number. Correct guess will be put in blue, wrong one in orange.", "step1_info": "Write by hand a sequence of 100 one and zero and transcribe them into the box below. The computer will record the first ten numbers and use them to predict the next number. Correct guess will be put in blue, wrong one in orange.",
"step1_instru": "Insert your sequence and valid", "step1_instru": "Insert your sequence and valid",
"step1_perc_correct": "Percent correct answers",
"step1_tot_right": "Total of right guesses", "step2_info": "Chose ten times between zero and one to launch the computer process. The computer will then offer you its predicted value, you should then accept or reject it. You can then test the algorithm and see how it evolve depending on your response and the start combination. A certain amount of starting combination are offered to you on the side.",
"step1_10_res": "About the last 10 results", "step2_instru": "Insert 10 values in order to init the process, then valid the value proposed by the computer",
"step2_next_ans": "Next answer",
"step2_proposed_value": "Proposed value",
"fin": "fin" "fin": "fin"
} }
\ No newline at end of file
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
"orange_wrong": "Orange : mauvaises supposition", "orange_wrong": "Orange : mauvaises supposition",
"blue_right": "Bleu : bonne supposition", "blue_right": "Bleu : bonne supposition",
"perc_correct": "Pourcentage de bonnes réponses",
"tot_right": "Total de bonnes suppositions",
"10_res": "Pour les 10 derniers résultats",
"step1": "Étape 1 : testez votre séquence", "step1": "Étape 1 : testez votre séquence",
"step2": "Étape 2 : testez la machine", "step2": "Étape 2 : testez la machine",
...@@ -15,9 +18,11 @@ ...@@ -15,9 +18,11 @@
"step1_info": "Ecrivez à la main une suite de 100 chiffres tirés aléatoirement entre un et zéro puis inscrivez-les dans le champ ci-dessous. L’ordinateur enregistrera les dix premiers caractères afin de prédire ensuite chaque chiffre inscrit. Il affichera en orange les erreurs et en bleu les chiffres correctement devinés.", "step1_info": "Ecrivez à la main une suite de 100 chiffres tirés aléatoirement entre un et zéro puis inscrivez-les dans le champ ci-dessous. L’ordinateur enregistrera les dix premiers caractères afin de prédire ensuite chaque chiffre inscrit. Il affichera en orange les erreurs et en bleu les chiffres correctement devinés.",
"step1_instru": "Entrez votre séquence et validez", "step1_instru": "Entrez votre séquence et validez",
"step1_perc_correct": "Pourcentage de bonnes réponses",
"step1_tot_right": "Total de bonnes suppositions", "step2_info": "Insérez dix valeurs avec les boutons afin de lancer le processus. L’ordinateur va ensuite vous proposer sa valeur de prédiction que vous devrez valider ou refuser. Vous pouvez ainsi tester l’algorithme et voir comment il évolue en fonction de vos réponses et des dix données de départ. Un certain nombre de combinaison de départ vous sont suggérées sur le côté.",
"step1_10_res": "Pour les 10 derniers résultats", "step2_instru": "Insérer 10 valeurs afin d'initialiser le processus, puis valider la valeur proposée par l'ordinateur",
"step2_next_ans": "Réponse suivante",
"step2_proposed_value": "Valeur proposée",
"fin": "fin" "fin": "fin"
} }
\ No newline at end of file
...@@ -95,15 +95,15 @@ ...@@ -95,15 +95,15 @@
<li><span style="color:blue;"><span class="i18n" data-lang="blue_right"></span></span></li> <li><span style="color:blue;"><span class="i18n" data-lang="blue_right"></span></span></li>
</ul> </ul>
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"><span class="i18n" data-lang="step1_perc_correct"></span></div> <div class="panel-heading"><span class="i18n" data-lang="perc_correct"></span></div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-sm-6">
<span class="i18n" data-lang="step1_tot_right"></span>: <span class="i18n" data-lang="tot_right"></span>:
<input class="form-control" readonly="readonly" id="guessValueCorrect" /> <input class="form-control" readonly="readonly" id="guessValueCorrect" />
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<span class="i18n" data-lang="step1_10_res"></span>: <span class="i18n" data-lang="10_res"></span>:
<input class="form-control" readonly="readonly" id="guessValueCorrect10" /> <input class="form-control" readonly="readonly" id="guessValueCorrect10" />
</div> </div>
</div> </div>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li><a onclick="initLang('en');"><img style="background: white; height:25px;" alt="English" src="../img/flags/english.png"/></a></li> <li><a onclick="initLang('en');"><img style="background: white; height:25px;" alt="English" src="../img/flags/english.png"/></a></li>
<li><a onclick="initLang('fr');"><img style="background: white;height:25px;" alt="Français" src="../img/flags/french.png"/></a></li> <li><a onclick="initLang('fr');"><img style="background: white;height:25px;" alt="Français" src="../img/flags/french.png"/></a></li>
<li><a href="help.html">Help</a></li> <li><a href="help.html"><span class="i18n" data-lang="help"></span></a></li>
</ul> </ul>
</div> </div>
</div> </div>
...@@ -57,10 +57,10 @@ ...@@ -57,10 +57,10 @@
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-3">
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li><a href="index.html">Step 1: test your sequence</a></li> <li><a href="index.html"><span class="i18n" data-lang="step1"></span></a></li>
<li class="active"><a href="pasapas.html">Step 2: test the computeur</a></li> <li class="active"><a href="pasapas.html"><span class="i18n" data-lang="step2"></span></a></li>
<li><a href="understand.html">Step 3: understand</a></li> <li><a href="understand.html"><span class="i18n" data-lang="step3"></span></a></li>
<li><a href="games.html">Game</a></li> <li><a href="games.html"><span class="i18n" data-lang="step4"></span></a></li>
</ul> </ul>
</div> </div>
<div class="col-sm-9" style="padding-left: 20px;"> <div class="col-sm-9" style="padding-left: 20px;">
...@@ -69,23 +69,18 @@ ...@@ -69,23 +69,18 @@
<div class="alert alert-info alert-dismissable"> <div class="alert alert-info alert-dismissable">
<strong>Info!</strong> <strong>Info!</strong>
<p> <p>
Chose ten times between zero and one to launch the computer <span class="i18n" data-lang="step2_info"></span>
process. The computer will then offer you its predicted
value, you should then accept or reject it. You can then
test the algorithm and see how it evolve depending on
your response and the start combination. A certain amount
of starting combination are offered to you on the side.
</p> </p>
</div> </div>
Insert 10 values in order to init the process, then valid the value proposed by the computer. <span class="i18n" data-lang="step2_instru"></span>.
<div class="row" style="padding-bottom: 10px;padding-top: 10px;"> <div class="row" style="padding-bottom: 10px;padding-top: 10px;">
<div class="col-sm-10"> <div class="col-sm-10">
<button class="btn btn-info btn-lg btnbre" onclick="insertVal(0);">0 [0]</button> <button class="btn btn-info btn-lg btnbre" onclick="insertVal(0);">0 [0]</button>
<button class="btn btn-primary btn-lg btnbre" onclick="insertVal(1);">1 [1]</button> <button class="btn btn-primary btn-lg btnbre" onclick="insertVal(1);">1 [1]</button>
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<button class="btn btn-default" onclick="reset();">Reset</button> <button class="btn btn-default" onclick="reset();"><span class="i18n" data-lang="btn_reset"></span></button>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
...@@ -98,15 +93,15 @@ ...@@ -98,15 +93,15 @@
<div class="row" style="margin-top: 20px;"> <div class="row" style="margin-top: 20px;">
<div class="col-sm-12"> <div class="col-sm-12">
<ul> <ul>
<li><span style="color:orange;">Orange: wrong guess</span></li> <li><span style="color:orange;"><span class="i18n" data-lang="orange_wrong"></span></span></li>
<li><span style="color:blue;">Blue: right guess</span></li> <li><span style="color:blue;"><span class="i18n" data-lang="blue_right"></span></span></li>
</ul> </ul>
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">Next answer</div> <div class="panel-heading"><span class="i18n" data-lang="step2_next_ans"></span></div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-sm-6">
Proposed value: <span class="i18n" data-lang="step2_proposed_value"></span>:
<input class="form-control" readonly="readonly" id="guessValue" /> <input class="form-control" readonly="readonly" id="guessValue" />
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
...@@ -122,15 +117,15 @@ ...@@ -122,15 +117,15 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading">Percent correct answers</div> <div class="panel-heading"><span class="i18n" data-lang="perc_correct"></span></div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-sm-6">
Total of right guesses: <span class="i18n" data-lang="tot_right"></span>:
<input class="form-control" readonly="readonly" id="guessValueCorrect" /> <input class="form-control" readonly="readonly" id="guessValueCorrect" />
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
About the last 10 results: <span class="i18n" data-lang="10_res"></span>:
<input class="form-control" readonly="readonly" id="guessValueCorrect10" /> <input class="form-control" readonly="readonly" id="guessValueCorrect10" />
</div> </div>
</div> </div>
...@@ -141,9 +136,6 @@ ...@@ -141,9 +136,6 @@
</div> </div>
</div> </div>
<!--div class="col-sm-6">
<svg id="graphic" width="960" height="500"></svg>
</div-->
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment