Fix the resource naming in the UI (#9927)

Use proper English for the UI representation without breaking the component.
This commit is contained in:
cgtobi 2017-10-17 21:32:01 +02:00 committed by Fabian Affolter
parent 382f9a8f49
commit f5b305c980

View File

@ -28,16 +28,16 @@ DEFAULT_PORT = '61208'
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1) MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1)
SENSOR_TYPES = { SENSOR_TYPES = {
'disk_use_percent': ['Disk Use', '%'], 'disk_use_percent': ['Disk used', '%'],
'disk_use': ['Disk Use', 'GiB'], 'disk_use': ['Disk used', 'GiB'],
'disk_free': ['Disk Free', 'GiB'], 'disk_free': ['Disk free', 'GiB'],
'memory_use_percent': ['RAM Use', '%'], 'memory_use_percent': ['RAM used', '%'],
'memory_use': ['RAM Use', 'MiB'], 'memory_use': ['RAM used', 'MiB'],
'memory_free': ['RAM Free', 'MiB'], 'memory_free': ['RAM free', 'MiB'],
'swap_use_percent': ['Swap Use', '%'], 'swap_use_percent': ['Swap used', '%'],
'swap_use': ['Swap Use', 'GiB'], 'swap_use': ['Swap used', 'GiB'],
'swap_free': ['Swap Free', 'GiB'], 'swap_free': ['Swap free', 'GiB'],
'processor_load': ['CPU Load', '15 min'], 'processor_load': ['CPU load', '15 min'],
'process_running': ['Running', 'Count'], 'process_running': ['Running', 'Count'],
'process_total': ['Total', 'Count'], 'process_total': ['Total', 'Count'],
'process_thread': ['Thread', 'Count'], 'process_thread': ['Thread', 'Count'],