|
52 | 52 | case 'server_load': |
53 | 53 | $template = 'templates/show_data.htm'; |
54 | 54 | $output .= showServerLoad(); |
55 | | - $title = 'Server Load (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
| 55 | + $title = $app->lng("Server Load").' (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
56 | 56 | $description = ''; |
57 | 57 | break; |
58 | 58 | case 'disk_usage': |
59 | 59 | $template = 'templates/show_data.htm'; |
60 | 60 | $output .= showDiskUsage(); |
61 | | - $title = 'Disk usage (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
| 61 | + $title = $app->lng("Disk usage").' (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
62 | 62 | $description = ''; |
63 | 63 | break; |
64 | 64 | case 'mem_usage': |
65 | 65 | $template = 'templates/show_data.htm'; |
66 | 66 | $output .= showMemUsage(); |
67 | | - $title = 'Memory usage (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
| 67 | + $title = $app->lng("Memory usage").' (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
68 | 68 | $description = ''; |
69 | 69 | break; |
70 | 70 | case 'cpu_info': |
71 | 71 | $template = 'templates/show_data.htm'; |
72 | 72 | $output .= showCpuInfo(); |
73 | | - $title = 'CPU info (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
| 73 | + $title = $app->lng("CPU info").' (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
74 | 74 | $description = ''; |
75 | 75 | break; |
76 | 76 | case 'services': |
77 | 77 | $template = 'templates/show_data.htm'; |
78 | 78 | $output .= showServices(); |
79 | | - $title = 'Status of services (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
| 79 | + $title = $app->lng("Status of services").' (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
80 | 80 | $description = ''; |
81 | 81 | break; |
82 | 82 | case 'overview': |
83 | 83 | $template = 'templates/show_data.htm'; |
84 | 84 | $output .= showServerLoad(); |
85 | 85 | $output .= ' '. showDiskUsage(); |
86 | 86 | $output .= ' '.showServices(); |
87 | | - $title = 'System Monitor (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
| 87 | + $title = $app->lng("System Monitor").' (Server: ' . $_SESSION['monitor']['server_name'] . ')'; |
88 | 88 | $description = ''; |
89 | 89 | break; |
90 | 90 | default: |
|
0 commit comments