Commit 705d2746 authored by fantu's avatar fantu
Browse files

- Add other string to multilanguage system in monitor module

- Update italian language
parent 9864144e
...@@ -88,3 +88,8 @@ General tasks ...@@ -88,3 +88,8 @@ General tasks
- Add, extend or modify comments in PEAR syntax so that they can be read with phpdocumentor. - Add, extend or modify comments in PEAR syntax so that they can be read with phpdocumentor.
Language editor
--------------------------------------
- Merge: remove the line how exists in language to merge but not in main (removed in main because not use or change for fix)
...@@ -28,5 +28,8 @@ $wb['Monitoring'] = 'Monitoring'; ...@@ -28,5 +28,8 @@ $wb['Monitoring'] = 'Monitoring';
$wb['Server to Monitor'] = 'Server to Monitor'; $wb['Server to Monitor'] = 'Server to Monitor';
$wb['System-Information'] = 'System-Information'; $wb['System-Information'] = 'System-Information';
$wb['Logfiles'] = 'Logfiles'; $wb['Logfiles'] = 'Logfiles';
$wb['CPU info'] = 'CPU info';
$wb['Status of services'] = 'Status of services';
$wb['System Monitor'] = 'System Monitor';
?> ?>
\ No newline at end of file
...@@ -27,4 +27,7 @@ $wb['Monitoring'] = 'Monitoraggio'; ...@@ -27,4 +27,7 @@ $wb['Monitoring'] = 'Monitoraggio';
$wb['Server to Monitor'] = 'Server da monitorare'; $wb['Server to Monitor'] = 'Server da monitorare';
$wb['System-Information'] = 'Informazioni di sistema'; $wb['System-Information'] = 'Informazioni di sistema';
$wb['Logfiles'] = 'File dei log'; $wb['Logfiles'] = 'File dei log';
$wb['CPU info'] = 'Informazioni CPU';
$wb['Status of services'] = 'Stato dei servizi';
$wb['System Monitor'] = 'Monitoraggio del sistema';
?> ?>
...@@ -52,31 +52,31 @@ switch($dataType) { ...@@ -52,31 +52,31 @@ switch($dataType) {
case 'server_load': case 'server_load':
$template = 'templates/show_data.htm'; $template = 'templates/show_data.htm';
$output .= showServerLoad(); $output .= showServerLoad();
$title = 'Server Load (Server: ' . $_SESSION['monitor']['server_name'] . ')'; $title = $app->lng("Server Load").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
$description = ''; $description = '';
break; break;
case 'disk_usage': case 'disk_usage':
$template = 'templates/show_data.htm'; $template = 'templates/show_data.htm';
$output .= showDiskUsage(); $output .= showDiskUsage();
$title = 'Disk usage (Server: ' . $_SESSION['monitor']['server_name'] . ')'; $title = $app->lng("Disk usage").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
$description = ''; $description = '';
break; break;
case 'mem_usage': case 'mem_usage':
$template = 'templates/show_data.htm'; $template = 'templates/show_data.htm';
$output .= showMemUsage(); $output .= showMemUsage();
$title = 'Memory usage (Server: ' . $_SESSION['monitor']['server_name'] . ')'; $title = $app->lng("Memory usage").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
$description = ''; $description = '';
break; break;
case 'cpu_info': case 'cpu_info':
$template = 'templates/show_data.htm'; $template = 'templates/show_data.htm';
$output .= showCpuInfo(); $output .= showCpuInfo();
$title = 'CPU info (Server: ' . $_SESSION['monitor']['server_name'] . ')'; $title = $app->lng("CPU info").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
$description = ''; $description = '';
break; break;
case 'services': case 'services':
$template = 'templates/show_data.htm'; $template = 'templates/show_data.htm';
$output .= showServices(); $output .= showServices();
$title = 'Status of services (Server: ' . $_SESSION['monitor']['server_name'] . ')'; $title = $app->lng("Status of services").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
$description = ''; $description = '';
break; break;
case 'overview': case 'overview':
...@@ -84,7 +84,7 @@ switch($dataType) { ...@@ -84,7 +84,7 @@ switch($dataType) {
$output .= showServerLoad(); $output .= showServerLoad();
$output .= ' '. showDiskUsage(); $output .= ' '. showDiskUsage();
$output .= ' '.showServices(); $output .= ' '.showServices();
$title = 'System Monitor (Server: ' . $_SESSION['monitor']['server_name'] . ')'; $title = $app->lng("System Monitor").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
$description = ''; $description = '';
break; break;
default: default:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment