mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix core vs cores
This commit is contained in:
@@ -19,7 +19,8 @@ if (defined(&get_cpu_info)) {
|
||||
$cpu .= "($c[3] MHz)\n";
|
||||
}
|
||||
if ($c[7]) {
|
||||
$cpu .= ", $c[7] cores\n";
|
||||
$cpu .= ", ".&text($c[7] > 1 ? 'index_cores' :
|
||||
'index_core', $c[7]);
|
||||
}
|
||||
print &ui_table_row($text{'index_cpuname'}, $cpu);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,8 @@ index_loadname=CPU load averages:
|
||||
index_loadnums=$1 (1 mins) , $2 (5 mins) , $3 (15 mins)
|
||||
index_cpuname=CPU type:
|
||||
index_inzone=In zone $1
|
||||
index_core=$1 core
|
||||
index_cores=$1 cores
|
||||
|
||||
pid=ID
|
||||
owner=Owner
|
||||
|
||||
Reference in New Issue
Block a user