From 525a3e4413fd580edd5c65e11155f1df9eba0d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henry=20T=C3=A4schner?= <129834483+HenryT-CG@users.noreply.github.com> Date: Thu, 16 May 2024 08:32:11 +0200 Subject: [PATCH] fix: translations (#71) --- package-lock.json | 54 ++++++++++++++++++++--------------------- package.json | 10 ++++---- src/_mixins.scss | 6 +++++ src/assets/i18n/de.json | 5 ++-- src/assets/i18n/en.json | 5 ++-- 5 files changed, 42 insertions(+), 38 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6254635..4f9ae23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,11 +23,11 @@ "@ngneat/falso": "^6.4.0", "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", - "@onecx/accelerator": "^4.14.3", - "@onecx/integration-interface": "^4.14.3", - "@onecx/keycloak-auth": "^4.14.3", - "@onecx/portal-integration-angular": "^4.14.3", - "@onecx/portal-layout-styles": "^4.14.3", + "@onecx/accelerator": "^4.23.0", + "@onecx/integration-interface": "^4.23.0", + "@onecx/keycloak-auth": "^4.23.0", + "@onecx/portal-integration-angular": "^4.23.0", + "@onecx/portal-layout-styles": "^4.23.0", "file-saver": "^2.0.5", "i18n-iso-countries": "^7.6.0", "ngx-color": "^8.0.3", @@ -7131,9 +7131,9 @@ } }, "node_modules/@onecx/accelerator": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@onecx/accelerator/-/accelerator-4.14.3.tgz", - "integrity": "sha512-b1liw9i7B7NAG0W/8j+xXnuYZF4J3ZqYkTiY7Klorr99QVGXVw4I2KalANP2NlU0U+TYa00XOKhZ3to2/jIB4w==", + "version": "4.23.1", + "resolved": "https://registry.npmjs.org/@onecx/accelerator/-/accelerator-4.23.1.tgz", + "integrity": "sha512-rNODfoKGbqGAvZUNeA5cibGwOCN7fnhmIz2l30JoOrHeaEtvsVGKEWHBlYGpk/kGXrbVXugGGi6MQMrAYa55iA==", "peerDependencies": { "rxjs": "7.8.1", "tslib": "^2.3.0" @@ -7191,36 +7191,36 @@ } }, "node_modules/@onecx/integration-interface": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@onecx/integration-interface/-/integration-interface-4.14.3.tgz", - "integrity": "sha512-C10rwpkm7bf47PEeQq7SsdP3iWFHDFG3t6s9wZBMuz3rVC5tbsAwlm1xrWIwpX1yTMhNyZBP5wQyyWaioMGkrQ==", + "version": "4.23.1", + "resolved": "https://registry.npmjs.org/@onecx/integration-interface/-/integration-interface-4.23.1.tgz", + "integrity": "sha512-bvyGy3YgTtZC6fCPis2DHyAFVwdLkDzwqj2ofeeiJiG03NHysrk8v/I/sKc/Hwg2U8pjwoPS/tEcipjyk5njlQ==", "peerDependencies": { - "@onecx/accelerator": "~4", + "@onecx/accelerator": "^4", "rxjs": "7.8.1", "tslib": "^2.3.0" } }, "node_modules/@onecx/keycloak-auth": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@onecx/keycloak-auth/-/keycloak-auth-4.14.3.tgz", - "integrity": "sha512-hl35hy+rF4H3PWcwTzPo+1KLP4Y5lxVK81+kdlh/+Nsyb1jT4i1PF3h1YQ/y6+6yfyicL0ZD7YHBjX3K7wLrhA==", + "version": "4.23.1", + "resolved": "https://registry.npmjs.org/@onecx/keycloak-auth/-/keycloak-auth-4.23.1.tgz", + "integrity": "sha512-wg+xRCcCPMU1oANgf86aH/R8O7HjZAAcUjIg2qPTxwMrnPeEKSGodGXqxWGvdRfb0fy14pHc/P96G7ynZ2NwNg==", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { "@angular/common": ">=15.2.7", "@angular/core": ">=15.2.7", - "@onecx/angular-integration-interface": "~4", - "@onecx/integration-interface": "~4", + "@onecx/angular-integration-interface": "^4", + "@onecx/integration-interface": "^4", "keycloak-angular": "^13.0.0", "keycloak-js": "^18.0.0", "rxjs": "~7.8.0" } }, "node_modules/@onecx/portal-integration-angular": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@onecx/portal-integration-angular/-/portal-integration-angular-4.14.3.tgz", - "integrity": "sha512-MwJ7Z2mIFJsJg5NhrEWa0H+CM3P9GsSMoqw1BuaAGlUKWXGQ6YdoWAcVzAv/3PrDvoXnA60xkYA3sBBd+7bY3w==", + "version": "4.23.1", + "resolved": "https://registry.npmjs.org/@onecx/portal-integration-angular/-/portal-integration-angular-4.23.1.tgz", + "integrity": "sha512-khqEWHWkUobhTWvflU6rI5KLV6j7rjckpoX9jKFStW0w+ucpNSuMZhUwgZ2cGE3y2/0LlCbuT7FNBgAhtTBhVg==", "dependencies": { "tslib": "^2.3.0" }, @@ -7239,10 +7239,10 @@ "@ngrx/store": "^15.4.0", "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", - "@onecx/angular-accelerator": "~4", - "@onecx/angular-integration-interface": "~4", - "@onecx/angular-testing": "~4", - "@onecx/integration-interface": "~4", + "@onecx/angular-accelerator": "^4", + "@onecx/angular-integration-interface": "^4", + "@onecx/angular-testing": "^4", + "@onecx/integration-interface": "^4", "fast-deep-equal": "^3.1.3", "msw": "^1.3.2", "primeng": "^15.2.1", @@ -7251,9 +7251,9 @@ } }, "node_modules/@onecx/portal-layout-styles": { - "version": "4.14.3", - "resolved": "https://registry.npmjs.org/@onecx/portal-layout-styles/-/portal-layout-styles-4.14.3.tgz", - "integrity": "sha512-GrEa5FygHBByZSDtjozjxhD83AlZ5Yd+rbpgSq2YIWORF+0aj7vkQihtaFaWIbseizgIge5sukMWEPDh1Nn5fQ==", + "version": "4.23.1", + "resolved": "https://registry.npmjs.org/@onecx/portal-layout-styles/-/portal-layout-styles-4.23.1.tgz", + "integrity": "sha512-L57sgPx3tUr50PKLp2Vlg51BHNnsbKEQ6L8ceqoL+tDWrGqWKgZrpO6gk5F+AgOGHBwvVTky3kyI7ZYCQI+WsA==", "peerDependencies": { "tslib": "^2.5.0" } diff --git a/package.json b/package.json index 73a9b34..598fbd3 100644 --- a/package.json +++ b/package.json @@ -49,11 +49,11 @@ "@ngneat/falso": "^6.4.0", "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", - "@onecx/accelerator": "^4.14.3", - "@onecx/integration-interface": "^4.14.3", - "@onecx/keycloak-auth": "^4.14.3", - "@onecx/portal-integration-angular": "^4.14.3", - "@onecx/portal-layout-styles": "^4.14.3", + "@onecx/accelerator": "^4.23.0", + "@onecx/integration-interface": "^4.23.0", + "@onecx/keycloak-auth": "^4.23.0", + "@onecx/portal-integration-angular": "^4.23.0", + "@onecx/portal-layout-styles": "^4.23.0", "file-saver": "^2.0.5", "i18n-iso-countries": "^7.6.0", "ngx-color": "^8.0.3", diff --git a/src/_mixins.scss b/src/_mixins.scss index 145376c..e69f53d 100644 --- a/src/_mixins.scss +++ b/src/_mixins.scss @@ -36,6 +36,10 @@ .danger-action-text { color: var(--danger-button-bg); } + .danger-action-bg { + color: white; + background-color: var(--danger-button-bg); + } } } @@ -63,6 +67,7 @@ @mixin card-badges { :host ::ng-deep { .card-badge-right { + border-radius: var(--border-radius); display: inline-block; position: absolute; right: 3px; @@ -74,6 +79,7 @@ } } .card-badge-left { + border-radius: var(--border-radius); display: inline-block; position: absolute; left: 3px; diff --git a/src/assets/i18n/de.json b/src/assets/i18n/de.json index f6b28ba..39f193f 100644 --- a/src/assets/i18n/de.json +++ b/src/assets/i18n/de.json @@ -260,7 +260,7 @@ "ROLES": "Es konnten keine Rollen gefunden werden.", "PERMISSIONS": "Es konnten keine Berechtigungen gefunden werden.", "ASSIGNMENTS": "Es konnten keine Berechtigungen gefunden werden.", - "WORKSPACE": "Der Workspace konnte nicht gefunden werden." + "WORKSPACE": "Workspace Daten konnten nicht gefunden werden." }, "HTTP_STATUS_500": { "APP": "Unbekanntes Problem beim Abrufen von Apps - Bitte versuchen sie es erneut.", @@ -268,8 +268,7 @@ "ROLES": "Unbekanntes Problem beim Abrufen von Rollen - Bitte versuchen sie es erneut.", "PERMISSIONS": "Unbekanntes Problem beim Abrufen von Berechtigungen - Bitte versuchen sie es erneut.", "ASSIGNMENTS": "Unbekanntes Problem beim Abrufen von Berechtigungen - Bitte versuchen sie es erneut.", - "WORKSPACE": "Unbekanntes Problem beim Abrufen der Workspace Daten - Bitte versuchen sie es erneut.", - "WORKSPACES": "Unbekanntes Problem beim Abrufen von Workspaces - Bitte versuchen sie es erneut." + "WORKSPACE": "Unbekanntes Problem beim Abrufen der Workspace Daten - Bitte versuchen sie es erneut." } } } diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index d9b6df4..c3b8f40 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -260,7 +260,7 @@ "ROLES": "No Roles could be found.", "PERMISSIONS": "No Permissions could be found.", "ASSIGNMENTS": "No Permissions could be found.", - "WORKSPACE": "Workspace could not be found." + "WORKSPACE": "Workspace data could not be found." }, "HTTP_STATUS_500": { "APP": "Unknown problem retrieving App/Product data - please try again.", @@ -268,8 +268,7 @@ "ROLES": "Unknown problem retrieving Role data - please try again.", "PERMISSIONS": "Unknown problem retrieving Permission data - please try again.", "ASSIGNMENTS": "Unknown problem retrieving Assignment data - please try again.", - "WORKSPACE": "Unknown problem retrieving Workspace data - please try again.", - "WORKSPACES": "Unknown problem retrieving Workspaces - please try again." + "WORKSPACE": "Unknown problem retrieving Workspace data - please try again." } } }