Gitlab CSE Unil

Commit 0532a28d authored by M. Chardon's avatar M. Chardon
Browse files

alea - traduction etape 3 - A

parent 5004dc25
......@@ -10,6 +10,7 @@
"perc_correct": "Percent correct answers",
"tot_right": "Total of right guesses",
"10_res": "About the last 10 results",
"graph_perc_success": "Percentage of success, %",
"step1": "Step 1: test your sequence",
"step2": "Step 2: test the computeur",
......@@ -24,6 +25,14 @@
"step2_next_ans": "Next answer",
"step2_proposed_value": "Proposed value",
"step3_titleA": "Parameters",
"step3_titleB": "Algorithm",
"step3_A_info1": "Insert a serial sequence or copy one from those proposed. You can act on the attenuation coefficient which is applied on the older number entries to give more weight to the new ones. The size of the mask allow you to decide how many numbers the computer will use to construct its prediction algorithm.",
"step3_A_info2": "The attenuation coefficient is necessary when considering the possible influences on the brain. It was supposed that choices were influenced by the nearest timewise decisions and that these had to weight more than older choices.",
"step3_A_info3": "The size of the mask allow the computer to look for combination within a certain amount of numbers. You can manipulate it to see its influence on the computer’s predictions.",
"step3_A_parameters": "Parameters",
"step3_A_coef_att": "Coefficient of attenuation",
"step3_A_mask_size": "Size of mask",
"fin": "fin"
}
\ No newline at end of file
......@@ -10,6 +10,7 @@
"perc_correct": "Pourcentage de bonnes réponses",
"tot_right": "Total de bonnes suppositions",
"10_res": "Pour les 10 derniers résultats",
"graph_perc_success": "Pourcentage de succès, en %",
"step1": "Étape 1 : testez votre séquence",
"step2": "Étape 2 : testez la machine",
......@@ -23,6 +24,15 @@
"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",
"step3_titleA": "Paramètres",
"step3_titleB": "Algorithme",
"step3_A_info1": "Insérez une séquence ou copiez en une parmi celles proposées. Vous pouvez ici jouer avec le coefficient d’atténuation qui est appliqué aux plus anciens caractères entrés afin de donner plus de poids à ceux récents. La taille du masque quant à elle permet de décider combien de chiffres l’ordinateur va utiliser pour son calcul de prédictions.",
"step3_A_info2": "L’emploi du coefficient d’atténuation est nécessaire pour considérer les influences auxquelles le cerveau pouvait être soumis. Il a été supposé que les choix étaient influencés par les décisions au plus proche temporellement et que donc celles-ci devaient revêtir un poids plus lourd que les choix appartenant à un passé non proche.",
"step3_A_info3": "La taille du masque permet de chercher les combinaisons au sein d’une certaine quantité de caractères. Vous pouvez jouer avec afin de voir comment il influence les prédictions de l’ordinateur.",
"step3_A_parameters": "Paramètres",
"step3_A_coef_att": "Coefficient d'atténuation",
"step3_A_mask_size": "Taille du masque",
"fin": "fin"
}
\ No newline at end of file
......@@ -80,7 +80,9 @@ function construireGraph(data) {
.attr("y", 6)
.attr("dy", "0.71em")
.attr("fill", "#000")
.text("Percentage of success, %");
.text(function () {
return $.i18n("graph_perc_success");
});
var modele = g.selectAll(".modele")
.data(modeles)
......
......@@ -61,7 +61,7 @@
<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('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>
</div>
</div>
......@@ -71,17 +71,17 @@
<div class="row">
<div class="col-sm-3">
<ul class="nav nav-pills nav-stacked">
<li><a href="index.html">Step 1: test your sequence</a></li>
<li><a href="pasapas.html">Step 2: test the computeur</a></li>
<li class="active"><a href="understand.html">Step 3: understand</a></li>
<li><a href="games.html">Game</a></li>
<li><a href="index.html"><span class="i18n" data-lang="step1"></span></a></li>
<li><a href="pasapas.html"><span class="i18n" data-lang="step2"></span></a></li>
<li class="active"><a href="understand.html"><span class="i18n" data-lang="step3"></span></a></li>
<li><a href="games.html"><span class="i18n" data-lang="step4"></span></a></li>
</ul>
</div>
<div class="col-sm-9" style="padding-left: 20px;">
<ul class="nav nav-tabs">
<li class="active"><a href="understand.html">Parameters</a></li>
<li><a href="understandA.html">Algorithm</a></li>
<li class="active"><a href="understand.html"><span class="i18n" data-lang="step3_titleA"></span></a></li>
<li><a href="understandA.html"><span class="i18n" data-lang="step3_titleB"></span></a></li>
</ul>
<div class="row" style='margin-top:20px;'>
......@@ -89,25 +89,13 @@
<div class="alert alert-info alert-dismissable">
<strong>Info!</strong>
<p>
Insert a serial sequence or copy one from those proposed.
You can act on the attenuation coefficient which is applied
on the older number entries to give more weight to the
new ones. The size of the mask allow you to decide how
many numbers the computer will use to construct its prediction
algorithm.
<span class="i18n" data-lang="step3_A_info1"></span>
</p>
<p>
The attenuation coefficient is necessary when
considering the possible influences on the brain.
It was supposed that choices were influenced
by the nearest timewise decisions and that these
had to weight more than older choices.
<span class="i18n" data-lang="step3_A_info2"></span>
</p>
<p>
The size of the mask allow the computer to look
for combination within a certain amount of numbers.
You can manipulate it to see its influence on
the computer’s predictions.
<span class="i18n" data-lang="step3_A_info3"></span>
</p>
</div>
</div>
......@@ -116,15 +104,15 @@
<div class="row" style='margin-top:20px;'>
<div class="col-sm-5">
<div class="panel panel-info">
<div class="panel-heading">Parameters</div>
<div class="panel-heading"><span class="i18n" data-lang="step3_A_parameters"></span></div>
<div class="panel-body">
<div class="row">
<div class="col-sm-6">
Coefficient of attenuation
<span class="i18n" data-lang="step3_A_coef_att"></span>
<input class="form-control" type="number" id="lambda" value="0.99" />
</div>
<div class="col-sm-6">
Size of mask
<span class="i18n" data-lang="step3_A_mask_size"></span>
<input class="form-control" type="number" id="taillemask" value="8" />
</div>
</div>
......@@ -132,11 +120,11 @@
</div>
</div>
<div class="col-sm-7">
Insert your sequence and valid.
<span class="i18n" data-lang="step1_instru"></span>.
<div class="row" style="padding-bottom: 10px;padding-top: 10px;">
<div class="col-sm-10">
<button class="btn btn-default" onclick="reset();">Reset</button>
<button class="btn btn-success" onclick="valide();$(this).hide();">Valid</button>
<button class="btn btn-default" onclick="reset();"><span class="i18n" data-lang="btn_reset"></span></button>
<button class="btn btn-success" onclick="valide();$(this).hide();"><span class="i18n" data-lang="btn_valid"></span></button>
</div>
</div>
<div class="row">
......@@ -150,19 +138,19 @@
<div class="row" id='propositionPanel' style="display:none;">
<div class="col-sm-4">
<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="row">
<ul>
<li><span style="color:orange;">Orange: wrong guess</span></li>
<li><span style="color:blue;">Blue: right guess</span></li>
<li><span style="color:orange;"><span class="i18n" data-lang="orange_wrong"></span></span></li>
<li><span style="color:blue;"><span class="i18n" data-lang="blue_right"></span></span></li>
</ul>
<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" />
</div>
<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" />
</div>
</div>
......@@ -246,8 +234,8 @@
}
}
</script>
<script src="../js/main.js"></script>
</body>
</html>
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