From 472733589f15258ab3d4fbdd54197c1a496397cb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 6 Feb 2005 17:52:43 +0000 Subject: [PATCH] fixed translation of groupbox caption --- etemplate/inc/class.uietemplate.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 7db8dfe664..488cbc24bc 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -933,6 +933,10 @@ } if ($cell['type'] == 'groupbox') { + if (strlen($label) > 1 && !($cell['no_lang'] && $cell['label'] != $label || (int)$cell['no_lang'] == 2)) + { + $label = lang($label); + } $html = $this->html->fieldset($html,$label); } if ($box_anz > 1) // a single cell is NOT placed into a table