2023-03-29 18:10:51 +02:00
function get _message ( message _nom , arguments ) {
let interaction _messages = { }
interaction _messages [ 'debut_etude' ] = 'start'
interaction _messages [ 'fin_avertissement' ] = "fin avertissement - debut contexte"
interaction _messages [ 'retour_avertissement' ] = "retour avertissement"
interaction _messages [ 'fin_contexte' ] = "fin contexte - debut inscription"
interaction _messages [ 'fin_inscription' ] = "fin inscription - choix tutorial"
interaction _messages [ 'skip' ] = "skip tutorial - debut warning"
interaction _messages [ 'debut_tutorial' ] = "debut tutorial"
interaction _messages [ 'fin_tutorial' ] = "fin tutorial - debut warning"
interaction _messages [ 'fin_warning' ] = "fin warning - bouton commencer choix vues"
interaction _messages [ 'debut_choix' ] = "debut choix vues"
interaction _messages [ 'debut_tache_i' ] = "debut tache n°" + ( arguments [ 0 ] )
interaction _messages [ 'fin_tache_i' ] = "fin tache n°" + ( arguments [ 0 ] )
interaction _messages [ 'fin_choix' ] = "fin choix vues - debut explication analyse"
2023-03-29 22:44:56 +02:00
interaction _messages [ 'affichage_mesh_IJ' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage Mesh random : " + arguments [ 2 ] + " en idx_i, idx_j : (" + arguments [ 3 ] + ", " + arguments [ 4 ] + ")"
interaction _messages [ 'affichage_mesh_TD' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage Mesh random : " + arguments [ 2 ] + " en theta, delta : (" + arguments [ 3 ] + ", " + arguments [ 4 ] + ")"
2023-03-29 18:10:51 +02:00
2023-03-29 22:44:56 +02:00
interaction _messages [ 'FG' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " fleche gauche (" + arguments [ 2 ] + ", " + arguments [ 3 ] + ')'
interaction _messages [ 'FD' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " fleche droite (" + arguments [ 2 ] + ", " + arguments [ 3 ] + ')'
interaction _messages [ 'FH' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " fleche haut (" + arguments [ 2 ] + ", " + arguments [ 3 ] + ')'
interaction _messages [ 'FB' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " fleche bas (" + arguments [ 2 ] + ", " + arguments [ 3 ] + ')'
2023-03-29 18:10:51 +02:00
2023-03-29 22:44:56 +02:00
interaction _messages [ 'erreur_FH' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error a cause de fleche haut"
interaction _messages [ 'erreur_FB' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error a cause de fleche bas"
2023-03-29 18:10:51 +02:00
interaction _messages [ 'switch_haut_i' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " fleche switch haut de la pose n°" + ( arguments [ 2 ] + 1 )
interaction _messages [ 'switch_bas_i' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " fleche switch bas de la pose n°" + ( arguments [ 2 ] + 1 )
interaction _messages [ 'supp_pose_i' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " suppression de la pose n°" + ( arguments [ 2 ] + 1 )
2023-03-29 22:44:56 +02:00
interaction _messages [ 'bouton_select' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " choix n°" + ( arguments [ 2 ] ) + " bouton pose :(" + arguments [ 3 ] + ", " + arguments [ 4 ] + ")"
2023-03-29 18:10:51 +02:00
interaction _messages [ 'bouton_remove' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " bouton retirer"
interaction _messages [ 'bouton_reset' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " bouton reinitialiser"
interaction _messages [ 'bouton_valider' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " bouton valider"
interaction _messages [ 'bouton_raz' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " bouton raz"
interaction _messages [ 'bouton_raz_check' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " bouton raz check"
interaction _messages [ 'bouton_raz_croix' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " bouton raz croix"
2023-03-29 22:44:56 +02:00
interaction _messages [ 'erreur_reset_impossible' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error aucun choix fait donc pas de reinitialisation possible"
interaction _messages [ 'erreur_pas_de_pose' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error pas de pose a retirer"
interaction _messages [ 'erreur_choix_fait' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error " + arguments [ 2 ] + " deja fait"
interaction _messages [ 'erreur_pose_selectionnee' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error pose deja sélectionnee"
interaction _messages [ 'erreur_valider' ] = "T" + arguments [ 0 ] + " Ch_fait" + arguments [ 1 ] + " Affichage error a cause du bouton valider"
2023-03-29 18:10:51 +02:00
interaction _messages [ 'fin_explication_analyse' ] = "fin explication analyse - debut analyse"
2023-03-31 09:31:23 +02:00
interaction _messages [ 'debut_analyse' ] = "debut analyse"
interaction _messages [ 'bouton_valider_analyse' ] = "A" + arguments [ 0 ] + " bouton valider analyse"
interaction _messages [ 'debut_analyse_i' ] = "debut analyse n°" + ( arguments [ 0 ] ) + ", mesh : " + arguments [ 1 ]
interaction _messages [ 'fin_analyse_i' ] = "fin analyse n°" + ( arguments [ 0 ] )
interaction _messages [ 'ajout_check' ] = "A" + arguments [ 0 ] + " ajout check sur : analyse n°" + ( arguments [ 0 ] ) + ", mot " + arguments [ 1 ]
interaction _messages [ 'retrait_check' ] = "A" + arguments [ 0 ] + " retrait check sur : analyse n°" + ( arguments [ 0 ] ) + ", mot " + arguments [ 1 ]
2023-03-29 18:10:51 +02:00
interaction _messages [ 'fin_analyse' ] = "fin analyse"
interaction _messages [ 'fin_etude' ] = "envoie des donnees - fin etude"
return interaction _messages [ message _nom ]
}