Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion ui/deployment/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,28 @@
"Allow anonymous access through public link": "Anonymen Zugang über einen öffentlichen Link ermöglichen",
"URL": "URL",
"(no log messages available)": "(keine Protokollmeldungen verfügbar)",
"You are about to": "Sie sind im dabei",
"the following adapters:": "auf folgenden Adaptern auszuführen:",
"Press 'Next' to start the process.": "Auf \"Weiter\" drücken, um den Vorgang zu starten.",
"Starting adapter": "Start Adapter",
"Stopping adapter": "Stop Adapter",
"Sorry, there are no adapters that are currently ": "Leider gibt es derzeit keine Adapter, die",
"idle": "untätig",
"running": "läuft",
"The adapter is currently used by these pipelines:": "Der Adapter wird derzeit von diesen Pipelines verwendet:",
"(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)",
"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.",
"Do you want to delete all associated pipelines and the adapter?": "Möchten Sie alle zugehörigen Pipelines und den Adapter löschen?",
"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:",
"Do you really want to delete adapter ": "Wollen Sie den Adapter wirklich löschen",
"Delete adapter": "Adapter löschen",
"This adapter is used by": "Dieser Adapter wird verwendet von",
"pipeline": "Pipeline",
"pipelines": "Pipelines",
"will be automatically migrated": "wird automatisch migriert",
"will be stopped and needs manual review": "wird gestoppt und muss manuell überprüft werden",
"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.",
"Update adapter and migrate pipelines": "Adapter aktualisieren und Pipelines migrieren",
"Adapters": "Adapter",
"New adapter": "Neuer Adapter",
"Start all adapters": "Alle Adapter starten",
Expand All @@ -372,6 +394,11 @@
"Adapter stopped": "Adapter gestoppt",
"Configure fields": "Felder konfigurieren",
"Start adapter": "Adapter starten",
"Adapter settings": "Adapter-Einstellungen",
"Adapter Name": "Name des Adapters",
"Adapter Description": "Adapter Beschreibung",
"Run adapter": "Adapter ausführen",
"Start adapter now": "Adapter jetzt starten",
"Add Adapter to an existing Asset": "Adapter zu einem bestehenden Asset hinzufügen",
"Remove Duplicates": "Duplikate entfernen",
"Avoid duplicated events within a certain time interval": "Vermeidung von doppelten Datenpunkte innerhalb eines bestimmten Zeitintervalls",
Expand All @@ -387,6 +414,11 @@
"Show code to programmatically deploy this adapter over the API": "Code anzeigen, um diesen Adapter programmatisch über die API einzusetzen",
"Start Adapter": "Start Adapter",
"Update Adapter": "Adapter aktualisieren",
"Add static value": "Statischen Wert hinzufügen",
"Add timestamp": "Zeitstempel hinzufügen",
"Original (Parsed)": "Original (geparst)",
"Result": "Ergebnis",
"Update result preview": "Ergebnisvorschau aktualisieren",
"Measurement": "Messwert",
"Dimension": "Dimension",
"Header": "Header",
Expand Down Expand Up @@ -612,7 +644,6 @@
"You are about to {{ action }} the following elements:": "Folgende Elemente {{ action }}:",
"install": "installieren",
"uninstall": "deinstallieren",
"Press 'Next' to start the process.": "Auf \"Weiter\" drücken, um den Vorgang zu starten.",
"{{action}} {{ current }} of {{ total }} ({{ name }})...{{ status }}": "{{action}} {{ current }} von {{ total }} ({{name}})...{{ status }}",
"Installing": "Installation von",
"Uninstalling": "Deinstallation von",
Expand Down Expand Up @@ -737,13 +768,24 @@
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.": "Fehler in Zeile {{rowNumber}}. Wert für \"{{property}}\" wird nicht unterstützt.",
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.": "Fehler in Zeile {{rowNumber}}. Wert für \"{{property}}\" ist nicht gesetzt.",
"Resources": "Ressourcen",
"Checking migrations for adapter {{adapterName}}": "Migrationen für Adapter {{adapterName}} prüfen",
"Updating adapter {{adapterName}}": "Aktualisieren des Adapters {{adapterName}}",
"Creating adapter {{adapterName}}": "Adapter erstellen {{adapterName}}",
"Your new data stream is now available in the pipeline editor.": "Ihr neuer Datenstrom ist nun im Pipeline-Editor verfügbar.",
"Starting adapter {{adapterName}}": "Adapter starten {{adapterName}}",
"Your Assets were successfully added.": "Assets erfolgreich hinzugefügt.",
"Your Assets were successfully deleted.": "Assets erfolgreich gelöscht.",
"Creating pipeline to persist data stream": "Erstellen einer Pipeline zur Aufrechterhaltung des Datenstroms",
"Stop": "Stopp",
" all adapters": " alle Adapter",
"Adapter Status": "Adapter-Status",
"Reset adapter state": "Adapterstatus zurücksetzen",
"Manage permissions for adapter ": "Berechtigungen für Adapter verwalten",
"Delete Adapter": "Adapter löschen",
"Edit adapter: ": "Adapter bearbeiten:",
"New adapter: ": "Neuer Adapter:",
"Adapter edit": "Adapter bearbeiten",
"Adapter generation": "Adaptererzeugung",
"General": "Allgemein",
"Data Lake": "Data Lake",
"Export/Import": "Export/Import",
Expand Down
44 changes: 43 additions & 1 deletion ui/deployment/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,28 @@
"Allow anonymous access through public link": null,
"URL": null,
"(no log messages available)": null,
"You are about to": null,
"the following adapters:": null,
"Press 'Next' to start the process.": null,
"Starting adapter": null,
"Stopping adapter": null,
"Sorry, there are no adapters that are currently ": null,
"idle": null,
"running": null,
"The adapter is currently used by these pipelines:": null,
"(if you don't see those pipelines, they are created by other users)": null,
"You need to delete those pipelines first before deleting the adapter.": null,
"Do you want to delete all associated pipelines and the adapter?": null,
"Unable to delete all associated pipelines because you are not the owner of the following pipelines: ": null,
"Do you really want to delete adapter ": null,
"Delete adapter": null,
"This adapter is used by": null,
"pipeline": null,
"pipelines": null,
"will be automatically migrated": null,
"will be stopped and needs manual review": null,
"Please check and possibly modify existing dashboards and data views afterwards.": null,
"Update adapter and migrate pipelines": null,
"Adapters": null,
"New adapter": null,
"Start all adapters": null,
Expand All @@ -372,6 +394,11 @@
"Adapter stopped": null,
"Configure fields": null,
"Start adapter": null,
"Adapter settings": null,
"Adapter Name": null,
"Adapter Description": null,
"Run adapter": null,
"Start adapter now": null,
"Add Adapter to an existing Asset": null,
"Remove Duplicates": null,
"Avoid duplicated events within a certain time interval": null,
Expand All @@ -387,6 +414,11 @@
"Show code to programmatically deploy this adapter over the API": null,
"Start Adapter": null,
"Update Adapter": null,
"Add static value": null,
"Add timestamp": null,
"Original (Parsed)": null,
"Result": null,
"Update result preview": null,
"Measurement": null,
"Dimension": null,
"Header": null,
Expand Down Expand Up @@ -612,7 +644,6 @@
"You are about to {{ action }} the following elements:": "You are about to {{ action }} the following elements:",
"install": null,
"uninstall": null,
"Press 'Next' to start the process.": null,
"{{action}} {{ current }} of {{ total }} ({{ name }})...{{ status }}": "{{action}} {{ current }} of {{ total }} ({{name}})...{{ status }}",
"Installing": null,
"Uninstalling": null,
Expand Down Expand Up @@ -737,13 +768,24 @@
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.": "Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.",
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.": "Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.",
"Resources": null,
"Checking migrations for adapter {{adapterName}}": "Checking migrations for adapter {{adapterName}}",
"Updating adapter {{adapterName}}": "Updating adapter {{adapterName}}",
"Creating adapter {{adapterName}}": "Creating adapter {{adapterName}}",
"Your new data stream is now available in the pipeline editor.": null,
"Starting adapter {{adapterName}}": "Starting adapter {{adapterName}}",
"Your Assets were successfully added.": null,
"Your Assets were successfully deleted.": null,
"Creating pipeline to persist data stream": null,
"Stop": null,
" all adapters": null,
"Adapter Status": null,
"Reset adapter state": null,
"Manage permissions for adapter ": null,
"Delete Adapter": null,
"Edit adapter: ": null,
"New adapter: ": null,
"Adapter edit": null,
"Adapter generation": null,
"General": null,
"Data Lake": null,
"Export/Import": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

<div fxFlex="100" fxLayout="row" fxLayoutGap="15px">
<div fxFlex="50" fxLayout="column">
<sp-basic-inner-panel [showTitle]="true" panelTitle="Original (Parsed)">
<sp-basic-inner-panel
[showTitle]="true"
[panelTitle]="'Original (Parsed)' | translate"
>
<pre
[innerHTML]="originalField | jsonpretty"
class="preview-text"
Expand All @@ -30,7 +33,7 @@
<div fxFlex="50" fxLayout="column">
<sp-basic-inner-panel
[showTitle]="true"
panelTitle="Result"
[panelTitle]="'Result' | translate"
fxFlex="100"
data-cy="connect-schema-update-preview"
>
Expand All @@ -43,7 +46,7 @@
(click)="updateEventPreview()"
>
<mat-icon>refresh</mat-icon>
<span>&nbsp;Update result preview</span>
<span>&nbsp;{{ 'Update result preview' | translate }}</span>
</button>
</div>
<pre
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@

<div fxLayoutAlign="end" class="mt-10">
<button class="mat-basic" mat-flat-button (click)="removeSelection()">
Cancel
{{ 'Cancel' | translate }}
</button>
<button class="mat-basic stepper-button" mat-flat-button (click)="goBack()">
Back
{{ 'Back' | translate }}
</button>
<button
class="stepper-button"
Expand All @@ -142,6 +142,6 @@
(click)="clickNext()"
[disabled]="!validEventSchema"
>
Next
{{ 'Next' | translate }}
</button>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
[matMenuTriggerFor]="staticValueMenu"
>
<mat-icon>add</mat-icon>
<span>&nbsp;Add static value</span>
<span>&nbsp;{{ 'Add static value' | translate }}</span>
</button>
<mat-menu #staticValueMenu="matMenu">
<div
Expand Down Expand Up @@ -71,7 +71,7 @@ <h5>Field name</h5>
(click)="addTimestampProperty()"
>
<mat-icon>access_time</mat-icon>
<span>&nbsp;Add timestamp</span>
<span>&nbsp;{{ 'Add timestamp' | translate }}</span>
</button>
</div>
<div fxLayout="row" fxLayoutAlign="end center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<div [formGroup]="startAdapterForm" fxLayout="column" fxFlex="100">
<sp-basic-inner-panel
panelTitle="Adapter settings"
[panelTitle]="'Adapter settings' | translate"
outerMargin="20px 0px 10px 0px"
>
<div fxFlex="100">
Expand All @@ -28,7 +28,7 @@
formControlName="adapterName"
matInput
id="input-AdapterName"
placeholder="Adapter Name"
[placeholder]="'Adapter Name' | translate"
data-cy="sp-adapter-name"
required
(blur)="triggerTutorialAdapterNameAssigned()"
Expand Down Expand Up @@ -83,7 +83,7 @@
matInput
id="input-AdapterDescription"
[ngModelOptions]="{ standalone: true }"
placeholder="Adapter Description"
[placeholder]="'Adapter Description' | translate"
[(ngModel)]="adapterDescription.description"
/>
</mat-form-field>
Expand All @@ -93,8 +93,8 @@

<div fxFlex="100" fxLayout="column">
<sp-adapter-options-panel
optionTitle="Run adapter"
optionDescription="Start adapter now"
[optionTitle]="'Run adapter' | translate"
[optionDescription]="'Start adapter now' | translate"
optionIcon="play_arrow"
dataCy="start-adapter-now-checkbox"
*ngIf="!isEditMode"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { ShepherdService } from '../../../../services/tour/shepherd.service';
import { TimestampPipe } from '../../../filter/timestamp.pipe';
import { TransformationRuleService } from '../../../services/transformation-rule.service';
import { ValidateName } from '../../../../core-ui/static-properties/input.validator';
import { TranslateService } from '@ngx-translate/core';

@Component({
selector: 'sp-start-adapter-configuration',
Expand Down Expand Up @@ -108,6 +109,7 @@ export class StartAdapterConfigurationComponent implements OnInit {
private _formBuilder: UntypedFormBuilder,
private timestampPipe: TimestampPipe,
private transformationRuleService: TransformationRuleService,
private translateService: TranslateService,
) {}

ngOnInit(): void {
Expand Down Expand Up @@ -176,7 +178,7 @@ export class StartAdapterConfigurationComponent implements OnInit {
this.checkAndApplyStreamRules();
const dialogRef = this.dialogService.open(AdapterStartedDialog, {
panelType: PanelType.STANDARD_PANEL,
title: 'Adapter edit',
title: this.translateService.instant('Adapter edit'),
width: '70vw',
data: {
adapter: this.adapterDescription,
Expand All @@ -197,7 +199,7 @@ export class StartAdapterConfigurationComponent implements OnInit {

const dialogRef = this.dialogService.open(AdapterStartedDialog, {
panelType: PanelType.STANDARD_PANEL,
title: 'Adapter generation',
title: this.translateService.instant('Adapter generation'),
width: '70vw',
data: {
adapter: this.adapterDescription,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { AdapterFilterPipe } from '../../filter/adapter-filter.pipe';
import { SpConnectRoutes } from '../../connect.routes';
import { Subscription, zip } from 'rxjs';
import { ShepherdService } from '../../../services/tour/shepherd.service';
import { TranslateService } from '@ngx-translate/core';

@Component({
selector: 'sp-existing-adapters',
Expand Down Expand Up @@ -97,6 +98,7 @@ export class ExistingAdaptersComponent implements OnInit, OnDestroy {
private breadcrumbService: SpBreadcrumbService,
private adapterMonitoringService: AdapterMonitoringService,
private shepherdService: ShepherdService,
private translate: TranslateService,
) {}

ngOnInit(): void {
Expand Down Expand Up @@ -155,7 +157,11 @@ export class ExistingAdaptersComponent implements OnInit, OnDestroy {
const dialogRef: DialogRef<AllAdapterActionsComponent> =
this.dialogService.open(AllAdapterActionsComponent, {
panelType: PanelType.STANDARD_PANEL,
title: (action ? 'Start' : 'Stop') + ' all adapters',
title:
(action
? this.translate.instant('Start')
: this.translate.instant('Stop')) +
this.translate.instant(' all adapters'),
width: '70vw',
data: {
adapters: this.existingAdapters,
Expand All @@ -182,13 +188,15 @@ export class ExistingAdaptersComponent implements OnInit, OnDestroy {
SpExceptionDetailsDialogComponent,
{
panelType: PanelType.STANDARD_PANEL,
title: 'Adapter Status',
title: this.translate.instant('Adapter Status'),
width: '70vw',
data: {
message: message,
title: title,
additionalButton: !startAction,
additionalButtonText: 'Reset adapter state',
additionalButtonText: this.translate.instant(
'Reset adapter state',
),
},
},
);
Expand Down Expand Up @@ -223,12 +231,14 @@ export class ExistingAdaptersComponent implements OnInit, OnDestroy {
ObjectPermissionDialogComponent,
{
panelType: PanelType.SLIDE_IN_PANEL,
title: 'Manage permissions',
title: this.translate.instant('Manage permissions'),
width: '50vw',
data: {
objectInstanceId: adapter.correspondingDataStreamElementId,
headerTitle:
'Manage permissions for adapter ' + adapter.name,
this.translate.instant(
'Manage permissions for adapter ',
) + adapter.name,
},
},
);
Expand All @@ -252,7 +262,7 @@ export class ExistingAdaptersComponent implements OnInit, OnDestroy {
const dialogRef: DialogRef<DeleteAdapterDialogComponent> =
this.dialogService.open(DeleteAdapterDialogComponent, {
panelType: PanelType.STANDARD_PANEL,
title: 'Delete Adapter',
title: this.translate.instant('Delete Adapter'),
width: '70vw',
data: {
adapter: adapter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
mat-flat-button
(click)="onCloseConfirm()"
>
Close
{{ 'Close' | translate }}
</button>
</div>
</div>
Loading
Loading