MOD french -> english (4)
[euphorik.git] / js / chat / conversations.js
index 063220c..5ba27d8 100644 (file)
@@ -181,7 +181,7 @@ euphorik.Conversations.prototype.afficherMessagesRepondConversations = function(
 euphorik.Conversations.prototype.getJSONrafraichirMessages = function() {\r
    var mess =  {\r
       "message_count" : euphorik.conf.nbMessageAffiche,\r
-      "main_page" : this.client.pagePrincipale,\r
+      "main_page" : this.client.mainConversationPage,\r
       "conversations" : this.getJSONConversations(),\r
       "troll_id" : this.trollIdCourant\r
    };\r
@@ -232,7 +232,7 @@ euphorik.Conversations.prototype.ajouterMessages = function(elements, numConvers
    \r
    // renseigne la conversation sur la page courante et si c'est la dernière\r
    this.conversations[numConversation].setPage(\r
-      numConversation === 0 ? this.client.pagePrincipale : this.client.conversations[numConversation - 1].page,\r
+      numConversation === 0 ? this.client.mainConversationPage : this.client.conversations[numConversation - 1].page,\r
       elements.last_page\r
    );\r
    \r
@@ -272,15 +272,15 @@ euphorik.Conversations.prototype.nouvelleConversation = function(num) {
       \r
    this.conversations[num].setFunPage(\r
       function(num) { // page suivante\r
-         thisConversations.client.pageSuivante(num - 1);\r
+         thisConversations.client.nextPage(num - 1);\r
          thisConversations.rafraichirMessages(true);\r
       },\r
       function(num) { // page précédente\r
-         thisConversations.client.pagePrecedente(num - 1);\r
+         thisConversations.client.previousPage(num - 1);\r
          thisConversations.rafraichirMessages(true);\r
       },\r
       function(num) { // retour à la page une\r
-         if (thisConversations.client.goPremierePage(num - 1)) {\r
+         if (thisConversations.client.goFirstPage(num - 1)) {\r
             thisConversations.rafraichirMessages(true);\r
          }\r
       }\r