diff options
author | raul | 2014-07-03 14:32:00 +0200 |
---|---|---|
committer | raul | 2014-07-03 14:32:00 +0200 |
commit | 62510ac1b0110e18880ad6da51af687cb74e03db (patch) | |
tree | fd40208cff98e06c4badbc61c6971a1645b78362 /modules/systemstatus.inc.php | |
parent | [i18n] changed the hardcoded texts in the sysconfig modules to the i18n system (diff) | |
download | slx-admin-62510ac1b0110e18880ad6da51af687cb74e03db.tar.gz slx-admin-62510ac1b0110e18880ad6da51af687cb74e03db.tar.xz slx-admin-62510ac1b0110e18880ad6da51af687cb74e03db.zip |
[i18n]finished translation with sql, queries and translated hardcoded message
Diffstat (limited to 'modules/systemstatus.inc.php')
-rw-r--r-- | modules/systemstatus.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |