From e2da2e9f8bce4baa181806b84aaa023dc9a23660 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 27 May 2005 23:45:00 +0000 Subject: [PATCH] some small styling and L10n improvements --- include/classes/rrdstat.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/classes/rrdstat.php-class b/include/classes/rrdstat.php-class index eff2255..4eae8b6 100644 --- a/include/classes/rrdstat.php-class +++ b/include/classes/rrdstat.php-class @@ -862,7 +862,7 @@ class rrdstat { $s_ptitle = $this->config_all[$sname]['page']['title_page']; } else { - $s_ptitle = $sname.(isset($s_psub)?' ('.$s_psub.')':'').' statistics'; + $s_ptitle = isset($s_psub)?sprintf(dgettext($td, '%s (%s) statistics'), $sname, $s_psub):sprintf(dgettext($td, '%s statistics'), $sname); } if (!isset($pconf['hide_titles']) || !$pconf['hide_titles']) { $out .= '

'.$s_ptitle.'

'; -- 2.35.3