From f5b305c9808ad85f196a124e34da818f965874a6 Mon Sep 17 00:00:00 2001 From: cgtobi Date: Tue, 17 Oct 2017 21:32:01 +0200 Subject: [PATCH] Fix the resource naming in the UI (#9927) Use proper English for the UI representation without breaking the component. --- homeassistant/components/sensor/glances.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/homeassistant/components/sensor/glances.py b/homeassistant/components/sensor/glances.py index 58ac363b98e..2d1edbd1bb1 100644 --- a/homeassistant/components/sensor/glances.py +++ b/homeassistant/components/sensor/glances.py @@ -28,16 +28,16 @@ DEFAULT_PORT = '61208' MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1) SENSOR_TYPES = { - 'disk_use_percent': ['Disk Use', '%'], - 'disk_use': ['Disk Use', 'GiB'], - 'disk_free': ['Disk Free', 'GiB'], - 'memory_use_percent': ['RAM Use', '%'], - 'memory_use': ['RAM Use', 'MiB'], - 'memory_free': ['RAM Free', 'MiB'], - 'swap_use_percent': ['Swap Use', '%'], - 'swap_use': ['Swap Use', 'GiB'], - 'swap_free': ['Swap Free', 'GiB'], - 'processor_load': ['CPU Load', '15 min'], + 'disk_use_percent': ['Disk used', '%'], + 'disk_use': ['Disk used', 'GiB'], + 'disk_free': ['Disk free', 'GiB'], + 'memory_use_percent': ['RAM used', '%'], + 'memory_use': ['RAM used', 'MiB'], + 'memory_free': ['RAM free', 'MiB'], + 'swap_use_percent': ['Swap used', '%'], + 'swap_use': ['Swap used', 'GiB'], + 'swap_free': ['Swap free', 'GiB'], + 'processor_load': ['CPU load', '15 min'], 'process_running': ['Running', 'Count'], 'process_total': ['Total', 'Count'], 'process_thread': ['Thread', 'Count'],