summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-04-14 06:58:25 +0000
committerthomascube <thomas@roundcube.net>2008-04-14 06:58:25 +0000
commitb2d8b845de6682092cd8ea9af8f5a9c9c7fe6421 (patch)
tree967abc4f3b16946fd77f6a37796a1f35b4d1056d /program/include
parent3f5cef86665d068478fe7298f8b811e4de47b605 (diff)
Don't use inexisting class name
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_json_output.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_json_output.php b/program/include/rcube_json_output.php
index 6bf4f8a2a..04d16bf92 100644
--- a/program/include/rcube_json_output.php
+++ b/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
);
}