This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4b842a4501 Some translations (#4070)
4b842a4501 is described below

commit 4b842a4501add529630d3e68558b9d15f43ab62d
Author: Jacqueline Höllig <[email protected]>
AuthorDate: Thu Dec 18 10:45:44 2025 +0100

    Some translations (#4070)
---
 ui/deployment/i18n/de.json                         | 16 ++++++++++--
 ui/deployment/i18n/en.json                         | 14 +++++++++-
 .../pipeline-assembly.component.ts                 |  4 ++-
 .../save-pipeline-settings.component.html          | 30 ++++++++++++++--------
 .../save-pipeline/save-pipeline.component.html     |  4 +--
 .../save-pipeline/save-pipeline.component.ts       | 19 +++++++++++---
 6 files changed, 66 insertions(+), 21 deletions(-)

diff --git a/ui/deployment/i18n/de.json b/ui/deployment/i18n/de.json
index de55ffb5bd..2072cb3c40 100644
--- a/ui/deployment/i18n/de.json
+++ b/ui/deployment/i18n/de.json
@@ -127,11 +127,21 @@
   "No linked resources": "Keine verknüpften Ressourcen",
   "Show asset": "Asset anzeigen",
   "Preparing pipeline editor...": "Pipeline-Editor vorbereiten...",
-  "Pipeline Name": "Name der Rohrleitung",
+  "Apply": "Anwenden",
+  "Pipeline Name": "Name der Pipeline",
+  "Pipeline name is required.": "Der Name der Pipeline ist erforderlich.",
+  "Pipeline name cannot start or end with a space.": "Der Name der Pipeline 
darf nicht mit einem Leerzeichen beginnen oder enden.",
+  "Pipeline name must have between 3 and 50 characters.": "Der Name der 
Pipeline muss zwischen 3 und 50 Zeichen haben.",
   "Pipeline name can only contain letters, numbers, dashes (-), and 
underscores (_).": "Pipeline-Namen dürfen nur Buchstaben, Zahlen, Bindestriche 
(-) und Unterstriche (_) enthalten.",
   "Description": "Beschreibung",
   "Pipeline description must not have more than 80 characters.": "Die 
Pipeline-Beschreibung darf nicht mehr als 80 Zeichen umfassen.",
+  "Update pipeline": "Pipeline aktualisieren",
+  "Create new pipeline": "Neue Pipeline erstellen",
   "Options": "Optionen",
+  "Start pipeline immediately": "Pipeline sofort starten",
+  "Navigate to pipeline overview afterwards": "Navigieren Sie anschließend zur 
Pipeline-Übersicht",
+  "Add Pipeline to Assets": "Pipeline zu Assets hinzufügen",
+  "Show pipeline configuration as code": "Pipeline-Konfiguration als Code 
anzeigen",
   "The tutorial requires pipeline elements that are not yet installed.": "Für 
das Lernprogramm werden Pipeline-Elemente benötigt, die noch nicht installiert 
sind.",
   "Install the following pipeline elements and start the tutorial again:": 
"Installieren Sie die folgenden Pipeline-Elemente und starten Sie das 
Lernprogramm erneut:",
   "The input data stream does not satisfy the requirements specified by the 
data processor.": "Der Eingabedatenstrom erfüllt nicht die vom Datenprozessor 
festgelegten Anforderungen.",
@@ -802,6 +812,9 @@
   "Good morning": "Guten Morgen",
   "Good afternoon": "Guten Tag",
   "Good evening": "Guten Abend",
+  "Saving pipeline": "Speichern der Pipeline",
+  "Saving metadata": "Speichern von Metadaten",
+  "Starting pipeline": "Start der Pipeline",
   "Testing the connection.": "Testen der Verbindung.",
   "Connection was established and test file was successfully saved:": "Die 
Verbindung wurde hergestellt und die Testdatei wurde erfolgreich gespeichert:",
   "Connection could not be established.": "Die Verbindung konnte nicht 
hergestellt werden.",
@@ -973,7 +986,6 @@
   "Ignore lines with missing value": "Zeilen ohne Daten ignorieren",
   "Leave entry empty": "Leer lassen",
   "Download successful": "Download erfolgreich",
-  "Apply": "Anwenden",
   "Refresh interval": "Aktualisierungsintervall",
   "Preview": "Vorschau",
   "No entries available.": "Keine Einträge vorhanden.",
diff --git a/ui/deployment/i18n/en.json b/ui/deployment/i18n/en.json
index da4d67205d..c892654e20 100644
--- a/ui/deployment/i18n/en.json
+++ b/ui/deployment/i18n/en.json
@@ -127,11 +127,21 @@
   "No linked resources": null,
   "Show asset": null,
   "Preparing pipeline editor...": null,
+  "Apply": null,
   "Pipeline Name": null,
+  "Pipeline name is required.": null,
+  "Pipeline name cannot start or end with a space.": null,
+  "Pipeline name must have between 3 and 50 characters.": null,
   "Pipeline name can only contain letters, numbers, dashes (-), and 
underscores (_).": null,
   "Description": null,
   "Pipeline description must not have more than 80 characters.": null,
+  "Update pipeline": null,
+  "Create new pipeline": null,
   "Options": null,
+  "Start pipeline immediately": null,
+  "Navigate to pipeline overview afterwards": null,
+  "Add Pipeline to Assets": null,
+  "Show pipeline configuration as code": null,
   "The tutorial requires pipeline elements that are not yet installed.": null,
   "Install the following pipeline elements and start the tutorial again:": 
null,
   "The input data stream does not satisfy the requirements specified by the 
data processor.": null,
@@ -802,6 +812,9 @@
   "Good morning": null,
   "Good afternoon": null,
   "Good evening": null,
+  "Saving pipeline": null,
+  "Saving metadata": null,
+  "Starting pipeline": null,
   "Testing the connection.": null,
   "Connection was established and test file was successfully saved:": null,
   "Connection could not be established.": null,
@@ -973,7 +986,6 @@
   "Ignore lines with missing value": null,
   "Leave entry empty": null,
   "Download successful": null,
-  "Apply": null,
   "Refresh interval": null,
   "Preview": null,
   "No entries available.": null,
diff --git 
a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.ts 
b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.ts
index 7d3882275d..c894c3154c 100644
--- 
a/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.ts
+++ 
b/ui/src/app/editor/components/pipeline-assembly/pipeline-assembly.component.ts
@@ -38,6 +38,7 @@ import { Router } from '@angular/router';
 import { PipelineAssemblyDrawingAreaComponent } from 
'./pipeline-assembly-drawing-area/pipeline-assembly-drawing-area.component';
 import { PipelineAssemblyOptionsComponent } from 
'./pipeline-assembly-options/pipeline-assembly-options.component';
 import { JsplumbService } from '../../services/jsplumb.service';
+import { TranslateService } from '@ngx-translate/core';
 
 @Component({
     selector: 'sp-pipeline-assembly',
@@ -80,6 +81,7 @@ export class PipelineAssemblyComponent implements 
AfterViewInit {
         private dialogService: DialogService,
         private router: Router,
         private jsplumbService: JsplumbService,
+        private translateService: TranslateService,
     ) {}
 
     ngAfterViewInit() {
@@ -126,7 +128,7 @@ export class PipelineAssemblyComponent implements 
AfterViewInit {
         const dialogRef = this.dialogService.open(SavePipelineComponent, {
             panelType: PanelType.SLIDE_IN_PANEL,
             disableClose: true,
-            title: 'Save pipeline',
+            title: this.translateService.instant('Save pipeline'),
             width: '40vw',
             data: {
                 pipeline: pipeline,
diff --git 
a/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
 
b/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
index fa62dd1305..2fa9e2902a 100644
--- 
a/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
+++ 
b/ui/src/app/editor/dialog/save-pipeline/save-pipeline-settings/save-pipeline-settings.component.html
@@ -36,7 +36,9 @@
                             .get('pipelineName')
                             .hasError('whiteSpaceOnly')
                     ) {
-                        <mat-error> Pipeline name is required. </mat-error>
+                        <mat-error>
+                            {{ 'Pipeline name is required.' | translate }}
+                        </mat-error>
                     }
                     @if (
                         submitPipelineForm
@@ -44,7 +46,10 @@
                             .hasError('leadingOrTrailingWhitespace')
                     ) {
                         <mat-error>
-                            Pipeline name cannot start or end with a space.
+                            {{
+                                'Pipeline name cannot start or end with a 
space.'
+                                    | translate
+                            }}
                         </mat-error>
                     }
                     @if (
@@ -56,7 +61,10 @@
                             .hasError('maxlength')
                     ) {
                         <mat-error>
-                            Pipeline name must have between 3 and 50 
characters.
+                            {{
+                                'Pipeline name must have between 3 and 50 
characters.'
+                                    | translate
+                            }}
                         </mat-error>
                     }
                     @if (
@@ -99,14 +107,14 @@
                     style="padding-left: 0"
                     data-cy="pipeline-update-mode-update"
                 >
-                    Update pipeline
+                    {{ 'Update pipeline' | translate }}
                 </mat-radio-button>
                 <mat-radio-button
                     [value]="'clone'"
                     class="mb-10"
                     data-cy="pipeline-update-mode-clone"
                 >
-                    Create new pipeline
+                    {{ 'Create new pipeline' | translate }}
                 </mat-radio-button>
             </mat-radio-group>
         </div>
@@ -117,14 +125,14 @@
             color="accent"
             data-cy="sp-editor-checkbox-start-immediately"
         >
-            Start pipeline immediately
+            {{ 'Start pipeline immediately' | translate }}
         </mat-checkbox>
         <mat-checkbox
             [(ngModel)]="storageOptions.navigateToPipelineOverview"
             color="accent"
             data-cy="sp-editor-checkbox-navigate-to-overview"
         >
-            Navigate to pipeline overview afterwards
+            {{ 'Navigate to pipeline overview afterwards' | translate }}
         </mat-checkbox>
         @if (isAssetAdmin) {
             <mat-checkbox
@@ -132,7 +140,7 @@
                 color="accent"
                 data-cy="sp-show-pipeline-asset-checkbox"
             >
-                Add Pipeline to Assets
+                {{ 'Add Pipeline to Assets' | translate }}
             </mat-checkbox>
             @if (addToAssets) {
                 <div class="mt-10">
@@ -154,9 +162,9 @@
     </sp-split-section>
     <div class="mt-10">
         <mat-expansion-panel class="mat-elevation-z0 border-1">
-            <mat-expansion-panel-header
-                >Show pipeline configuration as 
code</mat-expansion-panel-header
-            >
+            <mat-expansion-panel-header>{{
+                'Show pipeline configuration as code' | translate
+            }}</mat-expansion-panel-header>
             @if (compactPipeline) {
                 <sp-configuration-code-panel
                     [configuration]="compactPipeline"
diff --git 
a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html 
b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
index 8a970d0e0e..1edb1ee34b 100644
--- a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
+++ b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
@@ -82,7 +82,7 @@
                 (click)="savePipeline()"
                 data-cy="sp-editor-apply"
             >
-                Apply
+                {{ 'Apply' | translate }}
             </button>
         }
         @if (!operationProgress && (!operationCompleted || !operationSuccess)) 
{
@@ -92,7 +92,7 @@
                 (click)="hide(true)"
                 data-cy="sp-editor-cancel"
             >
-                {{ 'Cancel' }}
+                {{ 'Cancel' | translate }}
             </button>
         }
     </div>
diff --git a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.ts 
b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.ts
index efe116e521..111e8514a7 100644
--- a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.ts
+++ b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.ts
@@ -46,6 +46,7 @@ import {
     StatusIndicator,
 } from 
'../../../core-ui/multi-step-status-indicator/multi-step-status-indicator.model';
 import { PipelineAction } from '../../../pipelines/model/pipeline-model';
+import { TranslateService } from '@ngx-translate/core';
 
 @Component({
     selector: 'sp-save-pipeline',
@@ -63,6 +64,7 @@ export class SavePipelineComponent implements OnInit {
     private pipelineCanvasService = inject(PipelineCanvasMetadataService);
     private assetSaveService = inject(AssetSaveService);
     private dataLakeService = inject(DatalakeRestService);
+    private translateService = inject(TranslateService);
 
     @Input()
     pipeline: Pipeline;
@@ -124,7 +126,10 @@ export class SavePipelineComponent implements OnInit {
         stopPipeline$
             .pipe(
                 tap(() =>
-                    this.addStatusIndicator('Saving pipeline', 
Status.PROGRESS),
+                    this.addStatusIndicator(
+                        this.translateService.instant('Saving pipeline'),
+                        Status.PROGRESS,
+                    ),
                 ),
                 switchMap(() => savePipeline$),
                 tap(message => {
@@ -138,7 +143,10 @@ export class SavePipelineComponent implements OnInit {
                 // only continue if pipeline was saved
                 filter(message => message.success),
                 tap(() =>
-                    this.addStatusIndicator('Saving metadata', 
Status.PROGRESS),
+                    this.addStatusIndicator(
+                        this.translateService.instant('Saving metadata'),
+                        Status.PROGRESS,
+                    ),
                 ),
                 switchMap(() =>
                     this.getPipelineCanvasMetadata$(this.pipelineId),
@@ -200,7 +208,10 @@ export class SavePipelineComponent implements OnInit {
     getStopPipeline$(): Observable<PipelineOperationStatus> {
         return of(null).pipe(
             tap(() =>
-                this.addStatusIndicator('Stopping pipeline', Status.PROGRESS),
+                this.addStatusIndicator(
+                    this.translateService.instant('Stopping pipeline'),
+                    Status.PROGRESS,
+                ),
             ),
             switchMap(() =>
                 this.pipelineService.stopPipeline(this.originalPipeline._id),
@@ -222,7 +233,7 @@ export class SavePipelineComponent implements OnInit {
             return of(null).pipe(
                 tap(() =>
                     this.addStatusIndicator(
-                        'Starting pipeline',
+                        this.translateService.instant('Starting pipeline'),
                         Status.PROGRESS,
                     ),
                 ),

Reply via email to