Merge pull request #11976 from steakunderscore/master

Adds constant description for units
This commit is contained in:
Daniel Lee 2018-05-18 13:29:10 +02:00 committed by GitHub
commit 5de2c99c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' },