From 6ba1367d9b4d22dea43741f8c38a7c0c1f29b224 Mon Sep 17 00:00:00 2001 From: thomasb Date: Mon, 14 Apr 2008 06:58:25 +0000 Subject: Don't use inexisting class name git-svn-id: https://svn.roundcube.net/trunk@1297 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_json_output.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/rcube_json_output.php b/roundcubemail/program/include/rcube_json_output.php index 6bf4f8a2a..04d16bf92 100644 --- a/roundcubemail/program/include/rcube_json_output.php +++ b/roundcubemail/program/include/rcube_json_output.php @@ -130,7 +130,7 @@ class rcube_json_output { $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 @@ class rcube_json_output { $this->command( 'display_message', - rcube::gettext(array('name' => $message, 'vars' => $vars)), + rcube_label(array('name' => $message, 'vars' => $vars)), $type ); } -- cgit v1.2.3