MOD french -> english (7)
[euphorik.git] / js / chat / conversation.js
index 635f50a..5321380 100644 (file)
@@ -56,7 +56,7 @@ euphorik.Conversation = function(conversations, num) {
          '<div class="titre">' +\r
             (reverse ? messageRacineXHTML : "") +\r
             '<div class="nav">' +\r
-               (this.num === 0 ? '' : '<div class="fermer"></div><div class="creerLien"></div>') + //</div><div class="reduire">\r
+               (this.num === 0 ? '' : '<div class="close"></div><div class="creerLien"></div>') + //</div><div class="reduire">\r
                '<span class="next">&lt;</span><span class="numPage">1</span><span class="prev">&gt;</span>' +\r
             '</div>' +\r
             (reverse ? "" : messageRacineXHTML) +\r
@@ -71,7 +71,7 @@ euphorik.Conversation = function(conversations, num) {
    this.util.infoBulle("Aller à la première page", $("#" + this.getId() + " .titre .numPage"), euphorik.Util.positionBulleType.haut);\r
    if (this.num !== 0) {\r
       this.util.infoBulle("Créer un lien vers la conversation", $("#" + this.getId() + " .titre .creerLien"));\r
-      this.util.infoBulle("Fermer la conversation", $("#" + this.getId() + " .titre .fermer"));\r
+      this.util.infoBulle("Close the conversation", $("#" + this.getId() + " .titre .close"));\r
    }\r
    \r
     // les différents événements liés à la conversation\r
@@ -82,7 +82,7 @@ euphorik.Conversation = function(conversations, num) {
            "{" + thisConversation.client.conversations[thisConversation.num - 1].root.toString(36) + "}"\r
         );\r
    });   \r
-   $("#" + this.getId() + " .titre .fermer").click(function() {\r
+   $("#" + this.getId() + " .titre .close").click(function() {\r
       thisConversation.conversations.supprimerConversation(thisConversation.num);\r
    });\r
    /*\r
@@ -96,7 +96,7 @@ euphorik.Conversation = function(conversations, num) {
 euphorik.Conversation.prototype.getMessageReduit = function() {\r
    return '' +\r
       '<svg:svg version="1.1" baseProfile="full" width="100px" height="200px">' +\r
-         '<svg:image x="10" y="10" height="10" width="10" class="fermer" />' +\r
+         '<svg:image x="10" y="10" height="10" width="10" class="close" />' +\r
          '<svg:text transform="rotate(-90)" y="15" x="-200" >' +\r
             'Blabla blablablabla bla blabla ..' +\r
          '</svg:text>' +\r
@@ -319,7 +319,7 @@ euphorik.Conversation.prototype.attacherEventsSurMessage = function(element) {
    }\r
    \r
    var thisConversation = this;\r
-   $(".lienConv", element).click(\r
+   $(".conversationLink", element).click(\r
       function(event) {\r
          // FIXME : ya pas mieux ?\r
          var racine = $(event.target).text();\r
@@ -385,14 +385,14 @@ euphorik.Conversation.prototype.attacherEventsSurMessage = function(element) {
 \r
    // les outils de bannissement (uniquement pour les ekMaster)\r
    if (thisConversation.client.ekMaster) {\r
-      $(".pseudo", element).hover(\r
+      $(".nick", element).hover(\r
          function(e) {     \r
             var userId = parseInt($(".id", this).text(), 10);\r
-            var pseudo = $(this);\r
-            var h = pseudo.outerHeight();\r
-            var offset = pseudo.offset();\r
+            var nick = $(this);\r
+            var h = nick.outerHeight();\r
+            var offset = nick.offset();\r
             // TODO : calculer automatiquement la largeur plutôt que d'inscrire des valeurs en brut'\r
-            thisConversation.util.outilsBan.css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(pseudo.outerWidth() + 16 * 3 + 12 + 64).prependTo(this).show();\r
+            thisConversation.util.outilsBan.css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(nick.outerWidth() + 16 * 3 + 12 + 64).prependTo(this).show();\r
             $("img", thisConversation.util.outilsBan).unbind("click");\r
             $("#slap", thisConversation.util.outilsBan).click(\r
                function() {\r