From 5bb1444e90dcb675cd82521478c9439d30b8e7c6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 26 Oct 2006 12:11:11 +0000 Subject: [PATCH] Need to load etemplate translation for the error-message --- etemplate/inc/class.link_widget.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.link_widget.inc.php b/etemplate/inc/class.link_widget.inc.php index 5ca4531b73..0473b1ad0a 100644 --- a/etemplate/inc/class.link_widget.inc.php +++ b/etemplate/inc/class.link_widget.inc.php @@ -543,6 +543,7 @@ if (!($found = $this->link->query($app,$pattern == lang('Search') ? '' : $pattern))) // ignore the blur-text { + $GLOBALS['egw']->translation->add_app('etemplate'); $response->addAlert(lang('Nothing found - try again !!!')); $response->addScript("document.getElementById('$id_input').select();"); }