From b2d8b845de6682092cd8ea9af8f5a9c9c7fe6421 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 14 Apr 2008 02:58:25 -0400
Subject: [PATCH] Don't use inexisting class name

---
 program/include/rcube_json_output.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php
index 6bf4f8a..04d16bf 100644
--- a/program/include/rcube_json_output.php
+++ b/program/include/rcube_json_output.php
@@ -130,7 +130,7 @@
     {
         $arg_list = func_get_args();
         foreach ($arg_list as $i => $name) {
-            $this->texts[$name] = rcube::gettext($name);
+            $this->texts[$name] = rcube_label($name);
         }
     }
     
@@ -147,7 +147,7 @@
     {
         $this->command(
             'display_message',
-            rcube::gettext(array('name' => $message, 'vars' => $vars)),
+            rcube_label(array('name' => $message, 'vars' => $vars)),
             $type
         );
     }

--
Gitblit v1.9.1