From f7c9fe6abc51fe2accdfc84d1dbc57cc38e063ab Mon Sep 17 00:00:00 2001 From: Henry Jenkins Date: Thu, 17 May 2018 16:39:30 +0100 Subject: [PATCH] Adds constant description for units Makes `km/h` constant with distances --- public/app/core/utils/kbn.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/app/core/utils/kbn.ts b/public/app/core/utils/kbn.ts index f1c782846fc..ff92bb5c77a 100644 --- a/public/app/core/utils/kbn.ts +++ b/public/app/core/utils/kbn.ts @@ -989,17 +989,17 @@ kbn.getUnitFormats = function() { { text: 'velocity', submenu: [ - { text: 'm/s', value: 'velocityms' }, - { text: 'km/h', value: 'velocitykmh' }, - { text: 'mph', value: 'velocitymph' }, + { text: 'metres/second (m/s)', value: 'velocityms' }, + { text: 'kilometers/hour (km/h)', value: 'velocitykmh' }, + { text: 'miles/hour (mph)', value: 'velocitymph' }, { text: 'knot (kn)', value: 'velocityknot' }, ], }, { text: 'volume', submenu: [ - { text: 'millilitre', value: 'mlitre' }, - { text: 'litre', value: 'litre' }, + { text: 'millilitre (mL)', value: 'mlitre' }, + { text: 'litre (L)', value: 'litre' }, { text: 'cubic metre', value: 'm3' }, { text: 'Normal cubic metre', value: 'Nm3' }, { text: 'cubic decimetre', value: 'dm3' },