MOD french -> english (2)
[euphorik.git] / js / pageMinichat / commandes.js
index 3609e0d..dbcc76a 100644 (file)
   *  /nick <nouveau nick>
   *  Modifie le pseudo courant
   */
-euphorik.Commandes = function(client, pageMinichat, util, formateur) {
+euphorik.Commandes = function(client, pageMinichat, util, formater) {
    var thisCommandes = this;
 
    this.client = client;
    this.pageMinichat = pageMinichat;
    this.util = util;
-   this.formateur = formateur;
+   this.formater = formater;
    
    // construction du texte d'aide (liste des commandes) de manière statique
    this.texteAide = "<div id=\"aideCommandes\"><h1>Commandes</h1><ul>";
    objectEach(
       euphorik.Commandes.liste,
       function(nom, commande) {
-         thisCommandes.texteAide += "<li><span class=\"usage\">" + thisCommandes.formateur.traitementComplet(commande.usage) + "</span> : " + thisCommandes.formateur.traitementComplet(commande.description) + "</li>";
+         thisCommandes.texteAide += "<li><span class=\"usage\">" + thisCommandes.formater.traitementComplet(commande.usage) + "</span> : " + thisCommandes.formater.traitementComplet(commande.description) + "</li>";
       }
    );
    this.texteAide += "</ul></div>";
@@ -102,7 +102,7 @@ euphorik.Commandes.prototype.exec = function(chaine) {
    }
    // commandes spéciales pour afficher l'aide : "?", "h", "help", "aide"
    if (nomCommande === "?" || nomCommande === "h" || nomCommande === "help" || nomCommande === "aide") {
-      this.util.messageDialogue(
+      this.util.messageDialog(
          this.texteAide,
          euphorik.Util.messageType.informatif,
          {"fermer" : function(){}},