Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add german translation to dashboard, core-ui and shared-ui #3521

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
152 changes: 151 additions & 1 deletion ui/deployment/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
"Minimum value": "Minimaler Wert",
"Maximum value": "Maximaler Wert",
"Show values as labels": "Werte als Beschriftung anzeigen",
"Visual Map Min": "Visuelle Heatmap Maximum",
"Visual Map Max": "Visuelle Heatmap Minimum",
"Min": "Min",
"Max": "Max",
"X": "X",
Expand Down Expand Up @@ -201,6 +203,86 @@
"Unit": "Einheit",
"Background": "Hintergrund",
"Text": "Text",
"Dashboard title": "Dashboardtitel",
"Title must not be empty": "Titel darf nicht leer sein!",
"Description": "Beschreibung",
"Default view mode": "Standard-Ansicht",
"Grid view": "Rasteransicht",
"Slide view": "Folienansicht",
"Time settings": "Zeiteinstellungen",
"Use global time settings instead of chart time settings": "Einheitliche Zeiteinstellungen anstelle von Diagramm-Zeiteinstellungen verwenden",
"This dashboard is empty and doesn't contain any charts.": "Dieses Dashboard ist leer und hat keine Diagramm zum Anzeigen.",
"View mode": "Ansicht",
"Grid": "Raster",
"Slides": "Folien",
"Edit dashboard": "Dashboard bearbeiten",
"Show time range selector": "Zeiteinstellungen anzeigen",
"Hide time range selector": "Zeiteinstellungen ausblenden",
"Delete dashboard": "Dashboard löschen",
"Configure dashboard": "Dashboard konfigurieren",
"No charts found - create a new chart first to add it to this dashboard.": "Keine Diagramme gefunden - erstellen Sie zuerst ein neues Diagramm, um es zu diesem Dashboard hinzuzufügen.",
"Create chart": "Diagramm erstellen",
"New dashboard": "Neues Dashboard",
"Dashboards": "Dashboards",
"Show dashboard": "Dashboard anzeigen",
"Dashboard settings": "Dashboard-Einstellungen",
"ID": "ID",
"Output Topics": "Output-Topics",
"Copy": "Kopieren",
"Input Topics": "Input-Topics",
"Selected Nodes": "Ausgewählte Knoten",
"Node Details": "Details zum Knoten",
"Clear selection & reload": "Auswahl löschen & neu laden",
"Reload": "Neu laden",
"Reloading nodes": "Knoten neu laden",
"Font Style": "Schriftstil",
"Tree": "Baum",
"Browse": "Durchsuchen",
"Add node": "Knoten hinzufügen",
"Remove node": "Knoten entfernen",
"Show details": "Details anzeigen",
"Add all direct children": "Alle direkten Unterknoten hinzufügen",
"(waiting for input)": "(warten auf Input)",
"Select none": "Keine auswählen",
"Possible placeholders:": "Mögliche Platzhalter:",
"Choose existing file": "Vorhandene Datei auswählen",
"Upload new file": "Neue Datei hochladen",
"Select file": "Datei auswählen",
"Clear": "Zurücksetzen",
"Upload": "Hochladen",
"Add": "Hinzufügen",
"Import from file": "Aus Datei importieren",
"File": "Datei",
"Reset code template": "Codevorlage zurücksetzen",
"Clean code": "Code aufräumen",
"Basics": "Allgemein",
"Template name": "Name der Vorlage",
"Template description": "Beschreibung der Vorlage",
"Configuration": "Konfiguration",
"(dynamic options cannot be saved and are hidden)": "(dynamische Optionen können nicht gespeichert werden und sind ausgeblendet)",
"Existing templates": "Vorhandene Vorlagen",
"(no templates available)": "(keine Vorlagen verfügbar)",
"Store as template": "Als Vorlage speichern",
"Here is a preview of your data:": "Vorschau Ihrer Daten:",
"Runtime Name": "Laufzeitname",
"Field Name": "Feldname",
"no data": "keine Daten",
"Gathering data for live preview...": "Sammeln von Daten für die Live-Vorschau...",
"Preview is currently unavailable.": "Die Vorschau ist derzeit nicht verfügbar.",
"(no documentation available)": "(keine Dokumentation verfügbar)",
"You can perform a forced stop, which will stop and reset the pipeline status.": "Sie können einen erzwungenen Stopp durchführen, der die Pipeline anhält und zurücksetzt.",
"Show Details": "Details anzeigen",
"Hide Details": "Details ausblenden",
"Force stop": "Stopp erzwingen",
"Owner": "Eigentümer",
"Public Element": "Öffentliches Element",
"Users": "Nutzer",
"Authorized Users": "Autorisierte Nutzer",
"User selection": "Auswahl der Nutzer",
"Groups": "Gruppen",
"Authorized Groups": "Autorisierte Gruppen",
"Group selection": "Auswahl der Gruppe",
"(no log messages available)": "(keine Protokollmeldungen verfügbar)",
"success": "Erfolg",
"error": "Fehler",
"waiting": "Warten",
Expand Down Expand Up @@ -234,6 +316,28 @@
"Hour": "Stunde",
"Day": "Tag",
"Week": "Woche",
"Update all changes to dashboard charts or discard current changes.": "Aktualisieren Sie alle Änderungen der Diagramme oder verwerfen Sie aktuelle Änderungen.",
"Off": "Aus",
"Are you sure you want to delete this dashboard?": "Sind Sie sicher, dass Sie dieses Dashboard löschen möchten?",
"This action cannot be undone!": "Diese Aktion kann nicht rückgängig gemacht werden!",
"Topics": "Themen",
"Code": "Code",
"Loading": "Laden",
"# Provide OPC UA Node IDs below, one per line.\n# Format: ns=<namespace>;s=<node_id> (e.g., ns=3;s=SampleNodeId)\n": "# Geben Sie unten OPC UA Node-IDs ein, eine pro Zeile.\n# Format: ns=<namespace>;s=<node_id> (z. B. ns=3;s=SampleNodeId)\n",
"The value should be a number": "Der Wert sollte eine Zahl sein",
"Please enter a valid URL": "Bitte geben Sie eine gültige URL ein",
"Please enter a valid String": "Bitte geben Sie einen gültigen String ein",
"Please enter a value": "Bitte geben Sie einen Wert ein",
"This is a test": "Dies ist ein Test",
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not supported.": "Fehler in Zeile {{Zeilennummer}}. Wert für \"{{Eigenschaft}}\" wird nicht unterstützt.",
"Error in line {{rowNumber}}. Value for \"{{property}}\" is not set.": "Fehler in Zeile {{Zeilennummer}}. Wert für \"{{Eigenschaft}}\" ist nicht gesetzt.",
"Timestamp": "Zeitstempel",
"Number": "Nummer",
"Boolean": "Boolean",
"List": "Liste",
"Nested": "Verschachtelt",
"TOPICS": "TOPICS",
"CODE": "CODE",
"Select Data": "Daten auswählen",
"Previous": "Zurück",
"Download": "Download",
Expand All @@ -256,5 +360,51 @@
"Behaviour in case of missing values": "Verhalten im Falle von fehlenden Daten",
"Ignore lines with missing value": "Zeilen ohne Daten ignorieren",
"Leave entry empty": "Leer lassen",
"Download successful": "Download erfolgreich"
"Download successful": "Download erfolgreich",
"Refresh": "Neu laden",
"Apply": "Anwenden",
"Refresh interval": "Aktualisierungsintervall",
"No entries available.": "Keine Einträge vorhanden.",
"Error": "Fehler",
"Details": "Einzelheiten",
"Probable cause": "Wahrscheinliche Ursache",
"No more information": "Keine weiteren Informationen",
"Full details": "Alle Einzelheiten",
"Full stack trace": "Vollständiger Stack-Trace",
"No assets found - use assets to better organize resources!": "Keine Assets gefunden - verwenden Sie Assets, um Ressourcen besser zu organisieren!",
"Manage assets": "Assets verwalten",
"Asset Browser": "Asset-Browser",
"Browse assets": "Assets durchsuchen",
"Filter assets": "Assets filtern",
"Reset filters": "Filter zurücksetzen",
"Sites": "Standorte",
"All": "Alle",
"None": "Keine",
"Labels": "Labels",
"Quick Selection": "Schnellauswahl",
"Custom": "Benutzerdefiniert",
"Maximum of ${this.maxDayRange} days can be displayed. Please select a smaller range.": "Es können maximal ${this.maxDayRange} Tage angezeigt werden. Bitte wählen Sie einen kleineren Bereich.",
"Modify time range": "Zeitspanne ändern",
"Last 15 min": "Letzten 15 Minuten",
"Last 1 hour": "Letzte Stunde",
"Last 1 day": "Letzter Tag",
"Last 1 week": "Letzte Woche",
"Last 1 month": "Letzter Monat",
"Last 1 year": "Letztes Jahr",
"Current day": "Aktueller Tag",
"Current hour": "Aktuelle Stunde",
"Current week": "Aktuelle Woche",
"Current month": "Aktueller Monat",
"Current year": "Aktuelles Jahr",
"1 sec": "1 Sekunde",
"2 sec": "2 Sekunden",
"5 sec": "5 Sekunden",
"10 sec": "10 Sekunden",
"30 sec": "30 Sekunden",
"1 min": "1 Minute",
"5 min": "5 Minuten",
"30 min": "30 Minuten",
"Error Details": "Fehler-Details",
"Resources": "Ressourcen",
"All {{allResourcesAlias}}": "Alle {{allResourcesAlias}}"
}
152 changes: 151 additions & 1 deletion ui/deployment/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
"Minimum value": null,
"Maximum value": null,
"Show values as labels": null,
"Visual Map Min": null,
"Visual Map Max": null,
"Min": null,
"Max": null,
"X": null,
Expand Down Expand Up @@ -201,6 +203,86 @@
"Unit": null,
"Background": null,
"Text": null,
"Dashboard title": null,
"Title must not be empty": null,
"Description": null,
"Default view mode": null,
"Grid view": null,
"Slide view": null,
"Time settings": null,
"Use global time settings instead of chart time settings": null,
"This dashboard is empty and doesn't contain any charts.": null,
"View mode": null,
"Grid": null,
"Slides": null,
"Edit dashboard": null,
"Show time range selector": null,
"Hide time range selector": null,
"Delete dashboard": null,
"Configure dashboard": null,
"No charts found - create a new chart first to add it to this dashboard.": null,
"Create chart": null,
"New dashboard": null,
"Dashboards": null,
"Show dashboard": null,
"Dashboard settings": null,
"ID": null,
"Output Topics": null,
"Copy": null,
"Input Topics": null,
"Selected Nodes": null,
"Node Details": null,
"Clear selection & reload": null,
"Reload": null,
"Reloading nodes": null,
"Font Style": null,
"Tree": null,
"Browse": null,
"Add node": null,
"Remove node": null,
"Show details": null,
"Add all direct children": null,
"(waiting for input)": null,
"Select none": null,
"Possible placeholders:": null,
"Choose existing file": null,
"Upload new file": null,
"Select file": null,
"Clear": null,
"Upload": null,
"Add": null,
"Import from file": null,
"File": null,
"Reset code template": null,
"Clean code": null,
"Basics": null,
"Template name": null,
"Template description": null,
"Configuration": null,
"(dynamic options cannot be saved and are hidden)": null,
"Existing templates": null,
"(no templates available)": null,
"Store as template": null,
"Here is a preview of your data:": null,
"Runtime Name": null,
"Field Name": null,
"no data": null,
"Gathering data for live preview...": null,
"Preview is currently unavailable.": null,
"(no documentation available)": null,
"You can perform a forced stop, which will stop and reset the pipeline status.": null,
"Show Details": null,
"Hide Details": null,
"Force stop": null,
"Owner": null,
"Public Element": null,
"Users": null,
"Authorized Users": null,
"User selection": null,
"Groups": null,
"Authorized Groups": null,
"Group selection": null,
"(no log messages available)": null,
"success": null,
"error": null,
"waiting": null,
Expand Down Expand Up @@ -234,6 +316,28 @@
"Hour": null,
"Day": null,
"Week": null,
"Update all changes to dashboard charts or discard current changes.": null,
"Off": null,
"Are you sure you want to delete this dashboard?": null,
"This action cannot be undone!": null,
"Topics": null,
"Code": null,
"Loading": null,
"# Provide OPC UA Node IDs below, one per line.\n# Format: ns=<namespace>;s=<node_id> (e.g., ns=3;s=SampleNodeId)\n": null,
"The value should be a number": null,
"Please enter a valid URL": null,
"Please enter a valid String": null,
"Please enter a value": null,
"This is a test": null,
"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.",
"Timestamp": null,
"Number": null,
"Boolean": null,
"List": null,
"Nested": null,
"TOPICS": null,
"CODE": null,
"Select Data": null,
"Previous": null,
"Download": null,
Expand All @@ -256,5 +360,51 @@
"Behaviour in case of missing values": null,
"Ignore lines with missing value": null,
"Leave entry empty": null,
"Download successful": null
"Download successful": null,
"Refresh": null,
"Apply": null,
"Refresh interval": null,
"No entries available.": null,
"Error": null,
"Details": null,
"Probable cause": null,
"No more information": null,
"Full details": null,
"Full stack trace": null,
"No assets found - use assets to better organize resources!": null,
"Manage assets": null,
"Asset Browser": null,
"Browse assets": null,
"Filter assets": null,
"Reset filters": null,
"Sites": null,
"All": null,
"None": null,
"Labels": null,
"Quick Selection": null,
"Custom": null,
"Maximum of ${this.maxDayRange} days can be displayed. Please select a smaller range.": "Maximum of ${this.maxDayRange} days can be displayed. Please select a smaller range.",
"Modify time range": null,
"Last 15 min": null,
"Last 1 hour": null,
"Last 1 day": null,
"Last 1 week": null,
"Last 1 month": null,
"Last 1 year": null,
"Current day": null,
"Current hour": null,
"Current week": null,
"Current month": null,
"Current year": null,
"1 sec": null,
"2 sec": null,
"5 sec": null,
"10 sec": null,
"30 sec": null,
"1 min": null,
"5 min": null,
"30 min": null,
"Error Details": null,
"Resources": null,
"All {{allResourcesAlias}}": "All {{allResourcesAlias}}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,27 @@ import {
Output,
SimpleChanges,
ViewChild,
inject,
} from '@angular/core';
import { AssetBrowserData } from '../asset-browser.model';
import { NestedTreeControl } from '@angular/cdk/tree';
import { SpAsset } from '@streampipes/platform-services';
import { MatTreeNestedDataSource } from '@angular/material/tree';
import { TranslateService } from '@ngx-translate/core';

@Component({
selector: 'sp-asset-browser-hierarchy',
templateUrl: 'asset-browser-hierarchy.component.html',
styleUrls: ['./asset-browser-hierarchy.component.scss'],
})
export class AssetBrowserHierarchyComponent implements OnChanges {
translateService = inject(TranslateService);

@Input()
assetBrowserData: AssetBrowserData;

@Input()
allResourcesAlias = 'Resources';
allResourcesAlias = this.translateService.instant('Resources');

@Input()
assetSelectionMode = false;
Expand Down Expand Up @@ -91,7 +95,10 @@ export class AssetBrowserHierarchyComponent implements OnChanges {
makeRootNode(): SpAsset {
return {
assetId: '_root',
assetName: `All ${this.allResourcesAlias}`,
assetName: this.translateService.instant(
'All {{allResourcesAlias}}',
{ allResourcesAlias: this.allResourcesAlias },
),
assetDescription: '',
assetLinks: [],
assets: this.assetBrowserData.assets,
Expand Down
Loading
Loading