Skip to content

armgit / core

Public Imported from GitHub
0

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

UI updates: nl translations and or-select minor fix

Rich Turner221c182217d9
diff --git a/deployment/manager/shared/locales/nl/or.json b/deployment/manager/shared/locales/nl/or.json
index 5a8ecb1aa..13afb0410 100644
--- a/deployment/manager/shared/locales/nl/or.json
+++ b/deployment/manager/shared/locales/nl/or.json
@@ -1,64 +1,64 @@
{
- "asset": "Aanwinst",
- "asset_plural": "Actief",
+ "asset": "Asset",
+ "asset_plural": "Assets",
"scenes": "Scenes",
"settings": "Instellingen",
"selectLanguage": "Taal kiezen",
"logOut": "Uitloggen",
"logIn": "Log in",
- "monday": "Maandag",
- "tuesday": "Dinsdag",
- "wednesday": "Woensdag",
- "thursday": "Donderdag",
- "friday": "Vrijdag",
- "saturday": "Zaterdag",
- "sunday": "Zondag",
- "sceneStartTime": "Scene start time",
- "sceneConfiguration": "Scene Configuratie",
+ "monday": "maandag",
+ "tuesday": "dinsdag",
+ "wednesday": "woensdag",
+ "thursday": "donderdag",
+ "friday": "vrijdag",
+ "saturday": "zaterdag",
+ "sunday": "zondag",
+ "sceneStartTime": "Scene start tijd",
+ "sceneConfiguration": "Scene configuratie",
"temperature": "Temperatuur",
"enabled": "Geactiveerd",
- "disabled": "Invalide",
+ "disabled": "Inactief",
"scene": "Scene",
"user": "Gebruiker",
- "empty": "Has no value",
- "notEmpty": "Has a value",
- "equals": "Equals",
- "notEquals": "Not equals",
- "greaterThan": "Greater than",
- "greaterEquals": "Greater than or equal to",
- "lessThan": "Less than",
- "lessEquals": "Less than or equal to",
- "between": "Between",
- "notBetween": "Is not between",
- "contains": "Contains",
- "notContains": "Does not contain",
- "startsWith": "Starts with",
- "notStartsWith": "Does not start with",
- "endsWith": "Ends with",
- "notEndsWith": "Does not end with",
- "containsKey": "Contains key",
- "notContainsKey": "Does not contain keys",
- "true": "Is true",
- "false": "Is false",
- "withinRadius": "Inside circle",
- "outsideRadius": "Outside circle",
- "withinRectangle": "Inside rectangle",
- "outsideRectangle": "Outside rectangle",
- "indexContains": "Array index contains",
- "notIndexContains": "Array index does not contain",
- "lengthEquals": "Array length equals",
- "notLengthEquals": "Array length does not equal",
- "lengthGreaterThan": "Array length greater than",
- "lengthLessThan": "Array length less than",
+ "empty": "Niet ingevuld",
+ "notEmpty": "Ingevuld",
+ "equals": "Gelijk aan",
+ "notEquals": "Niet gelijk aan",
+ "greaterThan": "Groter dan",
+ "greaterEquals": "Groter of gelijk aan",
+ "lessThan": "Minder dan",
+ "lessEquals": "Minder of gelijk aan",
+ "between": "Tussen",
+ "notBetween": "Niet tussen",
+ "contains": "Bevat",
+ "notContains": "Bevat geen",
+ "startsWith": "Begint met",
+ "notStartsWith": "Begint niet met",
+ "endsWith": "Eindigt met",
+ "notEndsWith": "Eindigt niet met",
+ "containsKey": "Bevat key",
+ "notContainsKey": "Bevat geen keys",
+ "true": "Waar",
+ "false": "Niet waar",
+ "withinRadius": "Binnen cirkel",
+ "outsideRadius": "Buiten cirkel",
+ "withinRectangle": "Binnen rechthoek",
+ "outsideRectangle": "Buiten rechthoek",
+ "indexContains": "Index bevat",
+ "notIndexContains": "Index bevat geen",
+ "lengthEquals": "Aantal elementen gelijk aan",
+ "notLengthEquals": "Aantal elementen ongelijk aan",
+ "lengthGreaterThan": "Aantal elementen groter dan",
+ "lengthLessThan": "Aantal elementen kleiner dan",
"save": "Opslaan",
"active": "Actief",
"continueWithoutSaving": "Als je doorgaat worden je veranderingen niet opgeslagen. Doorgaan zonder opslaan?",
- "confirmDelete": "Are you sure you want to delete?",
+ "confirmDelete": "Weet je zeker dat je dit wil verwijderen?",
"when": "als",
"then": "dan",
- "datetime": "Datetime",
+ "datetime": "Datum en tijd",
"timer": "Timer",
- "rulesEditorAddCondition": "Add condition",
- "rulesEditorAddGroup": "Add group",
- "rulesEditorAddAction": "Add action"
+ "rulesEditorAddCondition": "Voorwaarde",
+ "rulesEditorAddGroup": "Groep",
+ "rulesEditorAddAction": "Actie"
}
\ No newline at end of file
diff --git a/ui/component/or-select/src/index.ts b/ui/component/or-select/src/index.ts
index b65a47b90..3f5e57d03 100644
--- a/ui/component/or-select/src/index.ts
+++ b/ui/component/or-select/src/index.ts
@@ -1,7 +1,5 @@
import {html, LitElement, property, customElement, PropertyValues, query} from "lit-element";
-import i18next from "i18next";
import {selectStyle} from "./style";
-import {translate} from "@openremote/or-translate/dist/translate-mixin";
export class OrSelectChangedEvent extends CustomEvent<OrSelectChangedEventDetail> {
@@ -31,7 +29,7 @@ declare global {
}
@customElement("or-select")
-export class OrSelect extends translate(i18next)(LitElement) {
+export class OrSelect extends LitElement {
static get styles() {
return [