Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

add hecto to constants (#1245)

DonWillems331fcba2bcf6
diff --git a/manager/src/web/shared/locales/en/or.json b/manager/src/web/shared/locales/en/or.json
index 3aa7405e6..82022cb17 100644
--- a/manager/src/web/shared/locales/en/or.json
+++ b/manager/src/web/shared/locales/en/or.json
@@ -395,6 +395,7 @@
"mega": "M",
"kilo": "k",
"centi": "c",
+ "hecto": "h",
"milli": "m",
"micro": "µ",
"percentage": "%",
diff --git a/manager/src/web/shared/locales/nl/or.json b/manager/src/web/shared/locales/nl/or.json
index 195526ecd..fad167f29 100644
--- a/manager/src/web/shared/locales/nl/or.json
+++ b/manager/src/web/shared/locales/nl/or.json
@@ -395,6 +395,7 @@
"mega": "M",
"kilo": "k",
"centi": "c",
+ "hecto": "h",
"milli": "m",
"micro": "µ",
"percentage": "%",
diff --git a/model/src/main/java/org/openremote/model/Constants.java b/model/src/main/java/org/openremote/model/Constants.java
index 9b7231207..eeedc638d 100644
--- a/model/src/main/java/org/openremote/model/Constants.java
+++ b/model/src/main/java/org/openremote/model/Constants.java
@@ -98,6 +98,7 @@ public interface Constants {
String UNITS_MEGA = "mega";
String UNITS_KILO = "kilo";
String UNITS_CENTI = "centi";
+ String UNITS_HECTO = "hecto";
String UNITS_MICRO = "micro";
String UNITS_MILLI = "milli";
String UNITS_PERCENTAGE = "percentage";