Skip to content

Commit cea3d09

Browse files
author
fantu
committed
- Add other string to multilanguage system in monitor module
- Update italian language
1 parent d76ee96 commit cea3d09

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

interface/web/monitor/lib/lang/en.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ $wb['Logfiles'] = 'Logfiles';
3131
$wb['CPU info'] = 'CPU info';
3232
$wb['Status of services'] = 'Status of services';
3333
$wb['System Monitor'] = 'System Monitor';
34+
$wb['No Refresh'] = 'No Refresh';
35+
$wb["minutes"] = "minutes";
3436

3537
?>

interface/web/monitor/lib/lang/it.lng

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ $wb['Logfiles'] = 'File dei log';
3030
$wb['CPU info'] = 'Informazioni CPU';
3131
$wb['Status of services'] = 'Stato dei servizi';
3232
$wb['System Monitor'] = 'Monitoraggio del sistema';
33+
$wb['No Refresh'] = 'No Aggiornamento';
34+
$wb['minutes'] = 'minuti';
3335
?>

interface/web/monitor/show_log.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
Attention: the core-moule ist triggered every 5 minutes,
8989
so reload every 2 minutes is impossible!
9090
*/
91-
$refresh_values = array('0' => '- No Refresh -','5' => '5','10' => '10','15' => '15','30' => '30','60' => '60');
91+
$refresh_values = array('0' => '- '.$app->lng("No Refresh").' -','5' => '5 '.$app->lng("minutes"),'10' => '10 '.$app->lng("minutes"),'15' => '15 '.$app->lng("minutes"),'30' => '30 '.$app->lng("minutes"),'60 ' => '60'.$app->lng("minutes"));
9292
$tmp = '';
9393
foreach($refresh_values as $key => $val) {
9494
if($key == $refresh) {

0 commit comments

Comments
 (0)