From: robert Date: Fri, 27 May 2005 23:45:00 +0000 (+0000) Subject: some small styling and L10n improvements X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=e2da2e9f8bce4baa181806b84aaa023dc9a23660;p=php-utility-classes.git some small styling and L10n improvements --- 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.'

';