From 705d2746fd894021f384e500a28b18922d254e4b Mon Sep 17 00:00:00 2001
From: fantu <fantu@ispconfig3>
Date: Sun, 16 Nov 2008 08:17:28 -0500
Subject: [PATCH] - Add other string to multilanguage system in monitor module - Update italian language

---
 interface/web/monitor/show_data.php |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/interface/web/monitor/show_data.php b/interface/web/monitor/show_data.php
index 845b0df..bee721b 100644
--- a/interface/web/monitor/show_data.php
+++ b/interface/web/monitor/show_data.php
@@ -52,31 +52,31 @@
 	case 'server_load':
 		$template = 'templates/show_data.htm';
 		$output .= showServerLoad();
-		$title = 'Server Load (Server: ' . $_SESSION['monitor']['server_name'] . ')';
+		$title = $app->lng("Server Load").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
 		$description = '';
 		break;
 	case 'disk_usage':
 		$template = 'templates/show_data.htm';
 		$output .= showDiskUsage();
-		$title = 'Disk usage (Server: ' . $_SESSION['monitor']['server_name'] . ')';
+		$title = $app->lng("Disk usage").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
 		$description = '';
 		break;
 	case 'mem_usage':
 		$template = 'templates/show_data.htm';
 		$output .= showMemUsage();
-		$title = 'Memory usage (Server: ' . $_SESSION['monitor']['server_name'] . ')';
+		$title = $app->lng("Memory usage").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
 		$description = '';
 		break;
 	case 'cpu_info':
 		$template = 'templates/show_data.htm';
 		$output .= showCpuInfo();
-		$title = 'CPU info (Server: ' . $_SESSION['monitor']['server_name'] . ')';
+		$title = $app->lng("CPU info").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
 		$description = '';
 		break;
 	case 'services':
 		$template = 'templates/show_data.htm';
 		$output .= showServices();
-		$title = 'Status of services (Server: ' . $_SESSION['monitor']['server_name'] . ')';
+		$title = $app->lng("Status of services").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
 		$description = '';
 		break;
 	case 'overview':
@@ -84,7 +84,7 @@
 		$output .= showServerLoad();
 		$output .= '&nbsp;'. showDiskUsage();
 		$output .= '&nbsp;'.showServices();
-		$title = 'System Monitor (Server: ' . $_SESSION['monitor']['server_name'] . ')';
+		$title = $app->lng("System Monitor").' (Server: ' . $_SESSION['monitor']['server_name'] . ')';
 		$description = '';
 		break;
 	default:

--
Gitblit v1.9.1