diff --git a/src/core/PageManager/data/pages/pek-tables.ts b/src/core/PageManager/data/pages/pek-tables.ts index 2c37fe9..515677f 100644 --- a/src/core/PageManager/data/pages/pek-tables.ts +++ b/src/core/PageManager/data/pages/pek-tables.ts @@ -47,16 +47,16 @@ const createPekTablesHook = () => { export const pekTablesPageData: GenericPageData = { id: 'pek-tables', path: 'start/pek-tables', - name: 'PEK Tabellen', - description: 'PEK Datenverwaltung mit Tabellen', + name: 'data-management.title', + description: 'data-management.description', // Parent page parentPath: 'start', // Visual icon: FaTable, - title: 'PEK Tabellen', - subtitle: 'Datenverwaltung', + title: 'data-management.title', + subtitle: 'data-management.subtitle', // Header buttons headerButtons: [], @@ -66,7 +66,7 @@ export const pekTablesPageData: GenericPageData = { { id: 'pek-tables-description', type: 'paragraph', - content: 'Verwalten Sie PEK-Daten über Tabellen. Wählen Sie eine Tabelle aus oder verwenden Sie natürliche Sprache, um Befehle auszuführen.' + content: 'data-management.description_text' }, { id: 'pek-tables-dropdown', @@ -78,7 +78,7 @@ export const pekTablesPageData: GenericPageData = { type: 'inputForm', inputFormConfig: { hookFactory: createPekTablesHook, - placeholder: 'Befehl eingeben (z.B., "Erstelle ein neues Projekt namens \'Hauptstrasse 42\'")', + placeholder: 'data-management.command.placeholder', buttonLabel: 'Senden', buttonIcon: IoMdSend, buttonVariant: 'primary', @@ -94,7 +94,7 @@ export const pekTablesPageData: GenericPageData = { showDocuments: false, showMetadata: false, showProgress: false, - emptyMessage: 'Noch keine Befehle ausgeführt. Senden Sie einen Befehl, um Ergebnisse hier zu sehen.' + emptyMessage: 'data-management.command.empty' } }, { diff --git a/src/core/PageManager/data/pages/pek.ts b/src/core/PageManager/data/pages/pek.ts index ac7fdb2..1b33a81 100644 --- a/src/core/PageManager/data/pages/pek.ts +++ b/src/core/PageManager/data/pages/pek.ts @@ -36,16 +36,16 @@ const createPekHook = () => { export const pekPageData: GenericPageData = { id: 'pek', path: 'start/pek', - name: 'PEK', - description: 'Real Estate Data Management (PEK)', + name: 'projects.title', + description: 'projects.description', // Parent page parentPath: 'start', // Visual icon: FaBuilding, - title: 'PEK', - subtitle: 'Real Estate Data Management', + title: 'projects.title', + subtitle: 'projects.subtitle', // Header buttons headerButtons: [], @@ -55,7 +55,7 @@ export const pekPageData: GenericPageData = { { id: 'pek-description', type: 'paragraph', - content: 'Suchen Sie nach Parzellen über Adresse oder Koordinaten, oder verwenden Sie natürliche Sprache, um Projekte zu erstellen und zu verwalten.' + content: 'projects.description_text' }, { id: 'pek-location-input', @@ -72,7 +72,7 @@ export const pekPageData: GenericPageData = { type: 'inputForm', inputFormConfig: { hookFactory: createPekHook, - placeholder: 'Enter a command (e.g., "Erstelle ein neues Projekt namens \'Hauptstrasse 42\'")', + placeholder: 'projects.command.placeholder', buttonLabel: 'Senden', buttonIcon: IoMdSend, buttonVariant: 'primary', @@ -88,7 +88,7 @@ export const pekPageData: GenericPageData = { showDocuments: false, showMetadata: false, showProgress: false, - emptyMessage: 'Noch keine Befehle ausgeführt. Senden Sie einen Befehl, um Ergebnisse hier zu sehen.' + emptyMessage: 'projects.command.empty' } } ], diff --git a/src/locales/de.ts b/src/locales/de.ts index 53721c9..72139e3 100644 --- a/src/locales/de.ts +++ b/src/locales/de.ts @@ -739,6 +739,22 @@ export default { 'start.features.overview': 'Übersicht - Sehen Sie den Arbeitsbereich-Status und Updates', 'start.features.navigation': 'Navigation - Erkunden Sie alle verfügbaren Tools', + // Projects page + 'projects.title': 'Projekte', + 'projects.subtitle': 'Projektverwaltung', + 'projects.description': 'Projektverwaltung und -organisation', + 'projects.description_text': 'Suchen Sie nach Standorten über Adresse oder Koordinaten, oder verwenden Sie natürliche Sprache, um Projekte zu erstellen und zu verwalten.', + 'projects.command.placeholder': 'Befehl eingeben (z.B., "Erstelle ein neues Projekt namens \'Hauptstrasse 42\'")', + 'projects.command.empty': 'Noch keine Befehle ausgeführt. Senden Sie einen Befehl, um Ergebnisse hier zu sehen.', + + // Data Management page + 'data-management.title': 'Datenverwaltung', + 'data-management.subtitle': 'Datenverwaltung', + 'data-management.description': 'Datenverwaltung mit Tabellen', + 'data-management.description_text': 'Verwalten Sie Daten über Tabellen. Wählen Sie eine Tabelle aus oder verwenden Sie natürliche Sprache, um Befehle auszuführen.', + 'data-management.command.placeholder': 'Befehl eingeben (z.B., "Erstelle ein neues Projekt namens \'Hauptstrasse 42\'")', + 'data-management.command.empty': 'Noch keine Befehle ausgeführt. Senden Sie einen Befehl, um Ergebnisse hier zu sehen.', + // Drag and Drop 'dragdrop.overlay.default_text': 'Dateien hier ablegen', 'dragdrop.overlay.default_subtext': 'Sie können auch auf den Upload-Button klicken', diff --git a/src/locales/en.ts b/src/locales/en.ts index fe8ce75..62774d5 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -739,6 +739,22 @@ export default { 'start.features.overview': 'Overview - See workspace status and updates', 'start.features.navigation': 'Navigation - Explore all available tools', + // Projects page + 'projects.title': 'Projects', + 'projects.subtitle': 'Project Management', + 'projects.description': 'Project management and organization', + 'projects.description_text': 'Search for locations by address or coordinates, or use natural language to create and manage projects.', + 'projects.command.placeholder': 'Enter a command (e.g., "Create a new project named \'Main Street 42\'")', + 'projects.command.empty': 'No commands executed yet. Send a command to see results here.', + + // Data Management page + 'data-management.title': 'Data Management', + 'data-management.subtitle': 'Data Management', + 'data-management.description': 'Data management with tables', + 'data-management.description_text': 'Manage data through tables. Select a table or use natural language to execute commands.', + 'data-management.command.placeholder': 'Enter a command (e.g., "Create a new project named \'Main Street 42\'")', + 'data-management.command.empty': 'No commands executed yet. Send a command to see results here.', + // Drag and Drop 'dragdrop.overlay.default_text': 'Drop files here', 'dragdrop.overlay.default_subtext': 'You can also click the upload button', diff --git a/src/locales/fr.ts b/src/locales/fr.ts index 55917f1..b808dde 100644 --- a/src/locales/fr.ts +++ b/src/locales/fr.ts @@ -739,6 +739,22 @@ export default { 'start.features.overview': 'Aperçu - Consultez le statut et les mises à jour de l\'espace de travail', 'start.features.navigation': 'Navigation - Explorez tous les outils disponibles', + // Projects page + 'projects.title': 'Projets', + 'projects.subtitle': 'Gestion de projets', + 'projects.description': 'Gestion et organisation de projets', + 'projects.description_text': 'Recherchez des emplacements par adresse ou coordonnées, ou utilisez le langage naturel pour créer et gérer des projets.', + 'projects.command.placeholder': 'Entrez une commande (par exemple, "Créer un nouveau projet nommé \'Rue Principale 42\'")', + 'projects.command.empty': 'Aucune commande exécutée pour le moment. Envoyez une commande pour voir les résultats ici.', + + // Data Management page + 'data-management.title': 'Gestion des données', + 'data-management.subtitle': 'Gestion des données', + 'data-management.description': 'Gestion des données avec des tableaux', + 'data-management.description_text': 'Gérez les données via des tableaux. Sélectionnez un tableau ou utilisez le langage naturel pour exécuter des commandes.', + 'data-management.command.placeholder': 'Entrez une commande (par exemple, "Créer un nouveau projet nommé \'Rue Principale 42\'")', + 'data-management.command.empty': 'Aucune commande exécutée pour le moment. Envoyez une commande pour voir les résultats ici.', + // Drag and Drop 'dragdrop.overlay.default_text': 'Déposer les fichiers ici', 'dragdrop.overlay.default_subtext': 'Vous pouvez aussi cliquer sur le bouton de téléchargement',