Skip to content

armgit / core

Public Imported from GitHub
0

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

Add translations and update styling of asset viewer panels

Doncbd3c58dce54
diff --git a/deployment/manager/shared/locales/nl/or.json b/deployment/manager/shared/locales/nl/or.json
index 7c2f5cd65..60b6fc63d 100644
--- a/deployment/manager/shared/locales/nl/or.json
+++ b/deployment/manager/shared/locales/nl/or.json
@@ -189,8 +189,8 @@
"tenant": "Tenant",
"tenant_plural": "Tenants",
"user_plural": "Gebruikers",
- "realmRules": "realm rules",
- "globalRules": "global rules",
+ "realmRules": "Realm regels",
+ "globalRules": "Globale regels",
"recipients": "Ontvangers",
"JSON": "Als-Dan",
"attributeValueType": {
@@ -212,5 +212,14 @@
"realm": "Realm",
"port": "Poort",
"host": "Hostname",
+ "errorOccurred": "Er is een fout opgetreden",
+ "managerError": {
+ "MANAGER_FAILED_TO_LOAD": "Manager kan niet geladen worden (bekijk de console logs)",
+ "KEYCLOAK_FAILED_TO_LOAD": "Keycloak kan niet geladen worden (bekijk de console logs)",
+ "AUTH_TYPE_UNSUPPORTED": "Opgevraagde auth type wordt niet ondersteund",
+ "CONSOLE_ERROR": "Console foutmelding (bekijk de console logs)",
+ "EVENTS_CONNECTION_ERROR": "Event bus connectie fout (bekijk de console logs)",
+ "TRANSLATION_ERROR": "Vertalingen fout (bekijk de console logs)"
+ },
"couldNotRetrieveAttribute": "Kan de gegevens voor dit attribuut niet ophalen"
}
diff --git a/ui/component/or-asset-viewer/src/style.ts b/ui/component/or-asset-viewer/src/style.ts
index 0e7df0ff9..af3574115 100644
--- a/ui/component/or-asset-viewer/src/style.ts
+++ b/ui/component/or-asset-viewer/src/style.ts
@@ -138,8 +138,9 @@ export const style = css`
font-weight: bolder;
line-height: 1em;
color: var(--internal-or-asset-viewer-title-text-color);
- margin-bottom: 25px;
+ margin-bottom: 20px;
flex: 0 0 auto;
+ letter-spacing: 0.025em;
}
.field {
@@ -153,6 +154,14 @@ export const style = css`
width: 100%;
box-sizing: border-box;
}
+
+ #attributes-panel .panel-content > :first-child, #info-panel .panel-content > :first-child {
+ margin-top: 0;
+ }
+
+ #attributes-panel .panel-content > :last-child, #info-panel .panel-content > :last-child {
+ margin-bottom: 0;
+ }
.msg {
display: flex;
diff --git a/ui/component/or-rules/src/or-rule-list.ts b/ui/component/or-rules/src/or-rule-list.ts
index 0ad86b487..0dea32de2 100644
--- a/ui/component/or-rules/src/or-rule-list.ts
+++ b/ui/component/or-rules/src/or-rule-list.ts
@@ -55,8 +55,9 @@ const style = css`
line-height: var(--internal-or-asset-tree-header-height);
color: var(--internal-or-asset-tree-header-text-color);
}
+
.header-ruleset-type p {
- margin: 0 20px;
+ margin: 0 15px;
}
.node-status {