From 62510ac1b0110e18880ad6da51af687cb74e03db Mon Sep 17 00:00:00 2001 From: raul Date: Thu, 3 Jul 2014 09:32:00 -0300 Subject: [i18n]finished translation with sql, queries and translated hardcoded message --- modules/systemstatus.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/systemstatus.inc.php') diff --git a/modules/systemstatus.inc.php b/modules/systemstatus.inc.php index 8f3d8322..8bc68d66 100644 --- a/modules/systemstatus.inc.php +++ b/modules/systemstatus.inc.php @@ -148,7 +148,7 @@ class Page_SystemStatus extends Page 'uptime' => '???' ); if (preg_match('/^(\d+)\D/', $uptime, $out)) { - $data['uptime'] = floor($out[1] / 86400) . ' Tag(e), ' . floor(($out[1] % 86400) / 3600) . ' Stunde(n)'; // TODO: i18n + $data['uptime'] = floor($out[1] / 86400) . ' ' . Dictionary::translate('lang_days') . ', ' . floor(($out[1] % 86400) / 3600) . ' ' . Dictionary::translate('lang_hours'); // TODO: i18n } if (preg_match('/\bMemTotal:\s+(\d+)\s.*\bMemFree:\s+(\d+)\s.*\bBuffers:\s+(\d+)\s.*\bCached:\s+(\d+)\s.*\bSwapTotal:\s+(\d+)\s.*\bSwapFree:\s+(\d+)\s/s', $memInfo, $out)) { $data['memTotal'] = Util::readableFileSize($out[1] * 1024); -- cgit v1.2.3-55-g7522