mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Enable menu translation (#10298)
And better translation support for sensors, not complete
This commit is contained in:
@@ -58,7 +58,7 @@ function printEntPhysical($device, $ent, $level, $class)
|
||||
}
|
||||
|
||||
if ($ent['entPhysicalClass'] == 'sensor' && isset($sensor)) {
|
||||
echo ' ('.trim($sensor['sensor_current'] . ' ' . get_units_from_sensor($sensor)) . ')';
|
||||
echo ' (' . trim($sensor['sensor_current'] . ' ' . __('sensors.' . $sensor['sensor_class'] . '.unit')) . ')';
|
||||
}
|
||||
|
||||
if (isset($link)) {
|
||||
|
||||
Reference in New Issue
Block a user