Skip to content

Commit 6d13945

Browse files
3860 translation in connect (#3873)
Co-authored-by: Dominik Riemer <dominik.riemer@gmail.com>
1 parent f624cdb commit 6d13945

File tree

14 files changed

+229
-75
lines changed

14 files changed

+229
-75
lines changed

ui/deployment/i18n/de.json

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
"Edit chart": "Diagramm bearbeiten",
246246
"Clone chart": "Diagramm kopieren",
247247
"Delete chart": "Diagramm löschen",
248-
"The desired chart was not found!": null,
248+
"The desired chart was not found!": "Die gewünschte Karte wurde nicht gefunden!",
249249
"Chart Name": "Diagrammname",
250250
"Add to Asset": "Zu Asset hinzufügen",
251251
"Add To Asset": "Zu Asset hinzufügen",
@@ -315,7 +315,7 @@
315315
"Deep clone (also clone widgets)": "Tiefes Klonen (auch Widgets klonen)",
316316
"Modify chart configurations": "Ändern von Diagrammkonfigurationen",
317317
"Clone": "Klonen",
318-
"The desired dashboard was not found!": null,
318+
"The desired dashboard was not found!": "Das gewünschte Dashboard wurde nicht gefunden!",
319319
"This dashboard is empty and doesn't contain any charts.": "Dieses Dashboard ist leer und hat keine Diagramm zum Anzeigen.",
320320
"View mode": "Ansicht",
321321
"Slides": "Folien",
@@ -381,6 +381,27 @@
381381
"Allow anonymous access through public link": "Anonymen Zugang über einen öffentlichen Link ermöglichen",
382382
"URL": "URL",
383383
"(no log messages available)": "(keine Protokollmeldungen verfügbar)",
384+
"You are about to start the following adapters:": "Sie sind dabei, die folgenden Adapter zu starten:",
385+
"You are about to stop the following adapters:": "Sie sind dabei, die folgenden Adapter zu stoppen:",
386+
"Press 'Next' to start the process.": "Auf \"Weiter\" drücken, um den Vorgang zu starten.",
387+
"Starting adapter": "Start Adapter",
388+
"Stopping adapter": "Stop Adapter",
389+
"Sorry, there are no adapters that are currently idle": "Es gibt leider keine Adapter, die derzeit im Leerlauf sind.",
390+
"Sorry, there are no adapters that are currently running": "Leider gibt es keine Adapter, die derzeit laufen",
391+
"The adapter is currently used by these pipelines:": "Der Adapter wird derzeit von diesen Pipelines verwendet:",
392+
"(if you don't see those pipelines, they are created by other users)": "(wenn Sie diese Pipelines nicht sehen, werden sie von anderen Benutzern erstellt)",
393+
"You need to delete those pipelines first before deleting the adapter.": "Sie müssen diese Pipelines zuerst löschen, bevor Sie den Adapter löschen können.",
394+
"Do you want to delete all associated pipelines and the adapter?": "Möchten Sie alle zugehörigen Pipelines und den Adapter löschen?",
395+
"Unable to delete all associated pipelines because you are not the owner of the following pipelines: ": "Sie können nicht alle zugehörigen Pipelines löschen, da Sie nicht der Eigentümer der folgenden Pipelines sind:",
396+
"Do you really want to delete adapter ": "Wollen Sie den Adapter wirklich löschen",
397+
"Delete adapter": "Adapter löschen",
398+
"This adapter is used by": "Dieser Adapter wird verwendet von",
399+
"pipeline": "Pipeline",
400+
"pipelines": "Pipelines",
401+
"will be automatically migrated": "wird automatisch migriert",
402+
"will be stopped and needs manual review": "wird gestoppt und muss manuell überprüft werden",
403+
"Please check and possibly modify existing dashboards and data views afterwards.": "Bitte überprüfen Sie die bestehenden Dashboards und Datenansichten und ändern Sie diese gegebenenfalls.",
404+
"Update adapter and migrate pipelines": "Adapter aktualisieren und Pipelines migrieren",
384405
"Adapters": "Adapter",
385406
"New adapter": "Neuer Adapter",
386407
"Start all adapters": "Alle Adapter starten",
@@ -392,13 +413,18 @@
392413
"Create adapter": "Adapter erstellen",
393414
"Docs": "Doku",
394415
"Refresh": "Neu laden",
395-
"The desired adapter was not found!": null,
416+
"The desired adapter was not found!": "Der gewünschte Adapter wurde nicht gefunden!",
396417
"Last published message": "Zuletzt veröffentlichte Nachricht",
397418
"Published messages": "Nachrichten",
398419
"Adapter running": "Adapter läuft",
399420
"Adapter stopped": "Adapter gestoppt",
400421
"Configure fields": "Felder konfigurieren",
401422
"Start adapter": "Adapter starten",
423+
"Adapter settings": "Adapter-Einstellungen",
424+
"Adapter Name": "Name des Adapters",
425+
"Adapter Description": "Adapter Beschreibung",
426+
"Run adapter": "Adapter ausführen",
427+
"Start adapter now": "Adapter jetzt starten",
402428
"Add Adapter to an existing Asset": "Adapter zu einem bestehenden Asset hinzufügen",
403429
"Remove Duplicates": "Duplikate entfernen",
404430
"Avoid duplicated events within a certain time interval": "Vermeidung von doppelten Datenpunkte innerhalb eines bestimmten Zeitintervalls",
@@ -414,6 +440,11 @@
414440
"Show code to programmatically deploy this adapter over the API": "Code anzeigen, um diesen Adapter programmatisch über die API einzusetzen",
415441
"Start Adapter": "Start Adapter",
416442
"Update Adapter": "Adapter aktualisieren",
443+
"Add static value": "Statischen Wert hinzufügen",
444+
"Add timestamp": "Zeitstempel hinzufügen",
445+
"Original (Parsed)": "Original (geparst)",
446+
"Result": "Ergebnis",
447+
"Update result preview": "Ergebnisvorschau aktualisieren",
417448
"Measurement": "Messwert",
418449
"Dimension": "Dimension",
419450
"Header": "Header",
@@ -639,7 +670,6 @@
639670
"You are about to {{ action }} the following elements:": "Folgende Elemente {{ action }}:",
640671
"install": "installieren",
641672
"uninstall": "deinstallieren",
642-
"Press 'Next' to start the process.": "Auf \"Weiter\" drücken, um den Vorgang zu starten.",
643673
"{{action}} {{ current }} of {{ total }} ({{ name }})...{{ status }}": "{{action}} {{ current }} von {{ total }} ({{name}})...{{ status }}",
644674
"Installing": "Installation von",
645675
"Uninstalling": "Deinstallation von",
@@ -764,13 +794,22 @@
764794
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.": "Fehler in Zeile {{rowNumber}}. Wert für \"{{property}}\" wird nicht unterstützt.",
765795
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.": "Fehler in Zeile {{rowNumber}}. Wert für \"{{property}}\" ist nicht gesetzt.",
766796
"Resources": "Ressourcen",
797+
"Checking migrations for adapter {{adapterName}}": "Migrationen für Adapter {{adapterName}} prüfen",
767798
"Updating adapter {{adapterName}}": "Aktualisieren des Adapters {{adapterName}}",
768799
"Creating adapter {{adapterName}}": "Adapter erstellen {{adapterName}}",
800+
"Your new data stream is now available in the pipeline editor.": "Ihr neuer Datenstrom ist nun im Pipeline-Editor verfügbar.",
769801
"Starting adapter {{adapterName}}": "Adapter starten {{adapterName}}",
770802
"Your Assets were successfully added.": "Assets erfolgreich hinzugefügt.",
771803
"Your Assets were successfully deleted.": "Assets erfolgreich gelöscht.",
804+
"Creating pipeline to persist data stream": "Erstellen einer Pipeline zum Speichern der Daten",
805+
"Adapter status": "Status des Adapters",
806+
"Reset adapter state": "Adapterstatus zurücksetzen",
807+
"Manage permissions for adapter ": "Berechtigungen für Adapter verwalten",
808+
"Delete Adapter": "Adapter löschen",
772809
"Edit adapter: ": "Adapter bearbeiten:",
773810
"New adapter: ": "Neuer Adapter:",
811+
"Edit adapter": "Adapter bearbeiten",
812+
"Adapter generation": "Adaptererzeugung",
774813
"General": "Allgemein",
775814
"Data Lake": "Data Lake",
776815
"Export/Import": "Export/Import",

ui/deployment/i18n/en.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,27 @@
381381
"Allow anonymous access through public link": null,
382382
"URL": null,
383383
"(no log messages available)": null,
384+
"You are about to start the following adapters:": null,
385+
"You are about to stop the following adapters:": null,
386+
"Press 'Next' to start the process.": null,
387+
"Starting adapter": null,
388+
"Stopping adapter": null,
389+
"Sorry, there are no adapters that are currently idle": null,
390+
"Sorry, there are no adapters that are currently running": null,
391+
"The adapter is currently used by these pipelines:": null,
392+
"(if you don't see those pipelines, they are created by other users)": null,
393+
"You need to delete those pipelines first before deleting the adapter.": null,
394+
"Do you want to delete all associated pipelines and the adapter?": null,
395+
"Unable to delete all associated pipelines because you are not the owner of the following pipelines: ": null,
396+
"Do you really want to delete adapter ": null,
397+
"Delete adapter": null,
398+
"This adapter is used by": null,
399+
"pipeline": null,
400+
"pipelines": null,
401+
"will be automatically migrated": null,
402+
"will be stopped and needs manual review": null,
403+
"Please check and possibly modify existing dashboards and data views afterwards.": null,
404+
"Update adapter and migrate pipelines": null,
384405
"Adapters": null,
385406
"New adapter": null,
386407
"Start all adapters": null,
@@ -399,6 +420,11 @@
399420
"Adapter stopped": null,
400421
"Configure fields": null,
401422
"Start adapter": null,
423+
"Adapter settings": null,
424+
"Adapter Name": null,
425+
"Adapter Description": null,
426+
"Run adapter": null,
427+
"Start adapter now": null,
402428
"Add Adapter to an existing Asset": null,
403429
"Remove Duplicates": null,
404430
"Avoid duplicated events within a certain time interval": null,
@@ -414,6 +440,11 @@
414440
"Show code to programmatically deploy this adapter over the API": null,
415441
"Start Adapter": null,
416442
"Update Adapter": null,
443+
"Add static value": null,
444+
"Add timestamp": null,
445+
"Original (Parsed)": null,
446+
"Result": null,
447+
"Update result preview": null,
417448
"Measurement": null,
418449
"Dimension": null,
419450
"Header": null,
@@ -639,7 +670,6 @@
639670
"You are about to {{ action }} the following elements:": "You are about to {{ action }} the following elements:",
640671
"install": null,
641672
"uninstall": null,
642-
"Press 'Next' to start the process.": null,
643673
"{{action}} {{ current }} of {{ total }} ({{ name }})...{{ status }}": "{{action}} {{ current }} of {{ total }} ({{name}})...{{ status }}",
644674
"Installing": null,
645675
"Uninstalling": null,
@@ -764,13 +794,22 @@
764794
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.": "Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.",
765795
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.": "Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.",
766796
"Resources": null,
797+
"Checking migrations for adapter {{adapterName}}": "Checking migrations for adapter {{adapterName}}",
767798
"Updating adapter {{adapterName}}": "Updating adapter {{adapterName}}",
768799
"Creating adapter {{adapterName}}": "Creating adapter {{adapterName}}",
800+
"Your new data stream is now available in the pipeline editor.": null,
769801
"Starting adapter {{adapterName}}": "Starting adapter {{adapterName}}",
770802
"Your Assets were successfully added.": null,
771803
"Your Assets were successfully deleted.": null,
804+
"Creating pipeline to persist data stream": null,
805+
"Adapter status": null,
806+
"Reset adapter state": null,
807+
"Manage permissions for adapter ": null,
808+
"Delete Adapter": null,
772809
"Edit adapter: ": null,
773810
"New adapter: ": null,
811+
"Edit adapter": null,
812+
"Adapter generation": null,
774813
"General": null,
775814
"Data Lake": null,
776815
"Export/Import": null,

ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema-preview/event-schema-preview.component.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818

1919
<div fxFlex="100" fxLayout="row" fxLayoutGap="15px">
2020
<div fxFlex="50" fxLayout="column">
21-
<sp-basic-inner-panel [showTitle]="true" panelTitle="Original (Parsed)">
21+
<sp-basic-inner-panel
22+
[showTitle]="true"
23+
[panelTitle]="'Original (Parsed)' | translate"
24+
>
2225
<pre
2326
[innerHTML]="originalField | jsonpretty"
2427
class="preview-text"
@@ -30,7 +33,7 @@
3033
<div fxFlex="50" fxLayout="column">
3134
<sp-basic-inner-panel
3235
[showTitle]="true"
33-
panelTitle="Result"
36+
[panelTitle]="'Result' | translate"
3437
fxFlex="100"
3538
data-cy="connect-schema-update-preview"
3639
>
@@ -43,7 +46,7 @@
4346
(click)="updateEventPreview()"
4447
>
4548
<mat-icon>refresh</mat-icon>
46-
<span>&nbsp;Update result preview</span>
49+
<span>&nbsp;{{ 'Update result preview' | translate }}</span>
4750
</button>
4851
</div>
4952
<pre

ui/src/app/connect/components/adapter-configuration/schema-editor/event-schema/event-schema.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@
128128

129129
<div fxLayoutAlign="end" class="mt-10">
130130
<button class="mat-basic" mat-flat-button (click)="removeSelection()">
131-
Cancel
131+
{{ 'Cancel' | translate }}
132132
</button>
133133
<button class="mat-basic stepper-button" mat-flat-button (click)="goBack()">
134-
Back
134+
{{ 'Back' | translate }}
135135
</button>
136136
<button
137137
class="stepper-button"
@@ -142,6 +142,6 @@
142142
(click)="clickNext()"
143143
[disabled]="!validEventSchema"
144144
>
145-
Next
145+
{{ 'Next' | translate }}
146146
</button>
147147
</div>

ui/src/app/connect/components/adapter-configuration/schema-editor/schema-editor-header/schema-editor-header.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
[matMenuTriggerFor]="staticValueMenu"
2727
>
2828
<mat-icon>add</mat-icon>
29-
<span>&nbsp;Add static value</span>
29+
<span>&nbsp;{{ 'Add static value' | translate }}</span>
3030
</button>
3131
<mat-menu #staticValueMenu="matMenu">
3232
<div
@@ -71,7 +71,7 @@ <h5>Field name</h5>
7171
(click)="addTimestampProperty()"
7272
>
7373
<mat-icon>access_time</mat-icon>
74-
<span>&nbsp;Add timestamp</span>
74+
<span>&nbsp;{{ 'Add timestamp' | translate }}</span>
7575
</button>
7676
</div>
7777
<div fxLayout="row" fxLayoutAlign="end center">

ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<div [formGroup]="startAdapterForm" fxLayout="column" fxFlex="100">
2020
<sp-basic-inner-panel
21-
panelTitle="Adapter settings"
21+
[panelTitle]="'Adapter settings' | translate"
2222
outerMargin="20px 0px 10px 0px"
2323
>
2424
<div fxFlex="100">
@@ -28,7 +28,7 @@
2828
formControlName="adapterName"
2929
matInput
3030
id="input-AdapterName"
31-
placeholder="Adapter Name"
31+
[placeholder]="'Adapter Name' | translate"
3232
data-cy="sp-adapter-name"
3333
required
3434
(blur)="triggerTutorialAdapterNameAssigned()"
@@ -83,7 +83,7 @@
8383
matInput
8484
id="input-AdapterDescription"
8585
[ngModelOptions]="{ standalone: true }"
86-
placeholder="Adapter Description"
86+
[placeholder]="'Adapter Description' | translate"
8787
[(ngModel)]="adapterDescription.description"
8888
/>
8989
</mat-form-field>
@@ -93,8 +93,8 @@
9393

9494
<div fxFlex="100" fxLayout="column">
9595
<sp-adapter-options-panel
96-
optionTitle="Run adapter"
97-
optionDescription="Start adapter now"
96+
[optionTitle]="'Run adapter' | translate"
97+
[optionDescription]="'Start adapter now' | translate"
9898
optionIcon="play_arrow"
9999
dataCy="start-adapter-now-checkbox"
100100
*ngIf="!isEditMode"

ui/src/app/connect/components/adapter-configuration/start-adapter-configuration/start-adapter-configuration.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import { ShepherdService } from '../../../../services/tour/shepherd.service';
3636
import { TimestampPipe } from '../../../filter/timestamp.pipe';
3737
import { TransformationRuleService } from '../../../services/transformation-rule.service';
3838
import { ValidateName } from '../../../../core-ui/static-properties/input.validator';
39+
import { TranslateService } from '@ngx-translate/core';
3940

4041
@Component({
4142
selector: 'sp-start-adapter-configuration',
@@ -108,6 +109,7 @@ export class StartAdapterConfigurationComponent implements OnInit {
108109
private _formBuilder: UntypedFormBuilder,
109110
private timestampPipe: TimestampPipe,
110111
private transformationRuleService: TransformationRuleService,
112+
private translateService: TranslateService,
111113
) {}
112114

113115
ngOnInit(): void {
@@ -176,7 +178,7 @@ export class StartAdapterConfigurationComponent implements OnInit {
176178
this.checkAndApplyStreamRules();
177179
const dialogRef = this.dialogService.open(AdapterStartedDialog, {
178180
panelType: PanelType.STANDARD_PANEL,
179-
title: 'Adapter edit',
181+
title: this.translateService.instant('Edit adapter'),
180182
width: '70vw',
181183
data: {
182184
adapter: this.adapterDescription,
@@ -197,7 +199,7 @@ export class StartAdapterConfigurationComponent implements OnInit {
197199

198200
const dialogRef = this.dialogService.open(AdapterStartedDialog, {
199201
panelType: PanelType.STANDARD_PANEL,
200-
title: 'Adapter generation',
202+
title: this.translateService.instant('Adapter generation'),
201203
width: '70vw',
202204
data: {
203205
adapter: this.adapterDescription,

0 commit comments

Comments
 (0)