Rename PEK tabs to generic names: Projects and Data Management
This commit is contained in:
parent
78889bf963
commit
c80ad963d5
5 changed files with 62 additions and 14 deletions
|
|
@ -47,16 +47,16 @@ const createPekTablesHook = () => {
|
||||||
export const pekTablesPageData: GenericPageData = {
|
export const pekTablesPageData: GenericPageData = {
|
||||||
id: 'pek-tables',
|
id: 'pek-tables',
|
||||||
path: 'start/pek-tables',
|
path: 'start/pek-tables',
|
||||||
name: 'PEK Tabellen',
|
name: 'data-management.title',
|
||||||
description: 'PEK Datenverwaltung mit Tabellen',
|
description: 'data-management.description',
|
||||||
|
|
||||||
// Parent page
|
// Parent page
|
||||||
parentPath: 'start',
|
parentPath: 'start',
|
||||||
|
|
||||||
// Visual
|
// Visual
|
||||||
icon: FaTable,
|
icon: FaTable,
|
||||||
title: 'PEK Tabellen',
|
title: 'data-management.title',
|
||||||
subtitle: 'Datenverwaltung',
|
subtitle: 'data-management.subtitle',
|
||||||
|
|
||||||
// Header buttons
|
// Header buttons
|
||||||
headerButtons: [],
|
headerButtons: [],
|
||||||
|
|
@ -66,7 +66,7 @@ export const pekTablesPageData: GenericPageData = {
|
||||||
{
|
{
|
||||||
id: 'pek-tables-description',
|
id: 'pek-tables-description',
|
||||||
type: 'paragraph',
|
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',
|
id: 'pek-tables-dropdown',
|
||||||
|
|
@ -78,7 +78,7 @@ export const pekTablesPageData: GenericPageData = {
|
||||||
type: 'inputForm',
|
type: 'inputForm',
|
||||||
inputFormConfig: {
|
inputFormConfig: {
|
||||||
hookFactory: createPekTablesHook,
|
hookFactory: createPekTablesHook,
|
||||||
placeholder: 'Befehl eingeben (z.B., "Erstelle ein neues Projekt namens \'Hauptstrasse 42\'")',
|
placeholder: 'data-management.command.placeholder',
|
||||||
buttonLabel: 'Senden',
|
buttonLabel: 'Senden',
|
||||||
buttonIcon: IoMdSend,
|
buttonIcon: IoMdSend,
|
||||||
buttonVariant: 'primary',
|
buttonVariant: 'primary',
|
||||||
|
|
@ -94,7 +94,7 @@ export const pekTablesPageData: GenericPageData = {
|
||||||
showDocuments: false,
|
showDocuments: false,
|
||||||
showMetadata: false,
|
showMetadata: false,
|
||||||
showProgress: false,
|
showProgress: false,
|
||||||
emptyMessage: 'Noch keine Befehle ausgeführt. Senden Sie einen Befehl, um Ergebnisse hier zu sehen.'
|
emptyMessage: 'data-management.command.empty'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -36,16 +36,16 @@ const createPekHook = () => {
|
||||||
export const pekPageData: GenericPageData = {
|
export const pekPageData: GenericPageData = {
|
||||||
id: 'pek',
|
id: 'pek',
|
||||||
path: 'start/pek',
|
path: 'start/pek',
|
||||||
name: 'PEK',
|
name: 'projects.title',
|
||||||
description: 'Real Estate Data Management (PEK)',
|
description: 'projects.description',
|
||||||
|
|
||||||
// Parent page
|
// Parent page
|
||||||
parentPath: 'start',
|
parentPath: 'start',
|
||||||
|
|
||||||
// Visual
|
// Visual
|
||||||
icon: FaBuilding,
|
icon: FaBuilding,
|
||||||
title: 'PEK',
|
title: 'projects.title',
|
||||||
subtitle: 'Real Estate Data Management',
|
subtitle: 'projects.subtitle',
|
||||||
|
|
||||||
// Header buttons
|
// Header buttons
|
||||||
headerButtons: [],
|
headerButtons: [],
|
||||||
|
|
@ -55,7 +55,7 @@ export const pekPageData: GenericPageData = {
|
||||||
{
|
{
|
||||||
id: 'pek-description',
|
id: 'pek-description',
|
||||||
type: 'paragraph',
|
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',
|
id: 'pek-location-input',
|
||||||
|
|
@ -72,7 +72,7 @@ export const pekPageData: GenericPageData = {
|
||||||
type: 'inputForm',
|
type: 'inputForm',
|
||||||
inputFormConfig: {
|
inputFormConfig: {
|
||||||
hookFactory: createPekHook,
|
hookFactory: createPekHook,
|
||||||
placeholder: 'Enter a command (e.g., "Erstelle ein neues Projekt namens \'Hauptstrasse 42\'")',
|
placeholder: 'projects.command.placeholder',
|
||||||
buttonLabel: 'Senden',
|
buttonLabel: 'Senden',
|
||||||
buttonIcon: IoMdSend,
|
buttonIcon: IoMdSend,
|
||||||
buttonVariant: 'primary',
|
buttonVariant: 'primary',
|
||||||
|
|
@ -88,7 +88,7 @@ export const pekPageData: GenericPageData = {
|
||||||
showDocuments: false,
|
showDocuments: false,
|
||||||
showMetadata: false,
|
showMetadata: false,
|
||||||
showProgress: false,
|
showProgress: false,
|
||||||
emptyMessage: 'Noch keine Befehle ausgeführt. Senden Sie einen Befehl, um Ergebnisse hier zu sehen.'
|
emptyMessage: 'projects.command.empty'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -739,6 +739,22 @@ export default {
|
||||||
'start.features.overview': 'Übersicht - Sehen Sie den Arbeitsbereich-Status und Updates',
|
'start.features.overview': 'Übersicht - Sehen Sie den Arbeitsbereich-Status und Updates',
|
||||||
'start.features.navigation': 'Navigation - Erkunden Sie alle verfügbaren Tools',
|
'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
|
// Drag and Drop
|
||||||
'dragdrop.overlay.default_text': 'Dateien hier ablegen',
|
'dragdrop.overlay.default_text': 'Dateien hier ablegen',
|
||||||
'dragdrop.overlay.default_subtext': 'Sie können auch auf den Upload-Button klicken',
|
'dragdrop.overlay.default_subtext': 'Sie können auch auf den Upload-Button klicken',
|
||||||
|
|
|
||||||
|
|
@ -739,6 +739,22 @@ export default {
|
||||||
'start.features.overview': 'Overview - See workspace status and updates',
|
'start.features.overview': 'Overview - See workspace status and updates',
|
||||||
'start.features.navigation': 'Navigation - Explore all available tools',
|
'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
|
// Drag and Drop
|
||||||
'dragdrop.overlay.default_text': 'Drop files here',
|
'dragdrop.overlay.default_text': 'Drop files here',
|
||||||
'dragdrop.overlay.default_subtext': 'You can also click the upload button',
|
'dragdrop.overlay.default_subtext': 'You can also click the upload button',
|
||||||
|
|
|
||||||
|
|
@ -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.overview': 'Aperçu - Consultez le statut et les mises à jour de l\'espace de travail',
|
||||||
'start.features.navigation': 'Navigation - Explorez tous les outils disponibles',
|
'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
|
// Drag and Drop
|
||||||
'dragdrop.overlay.default_text': 'Déposer les fichiers ici',
|
'dragdrop.overlay.default_text': 'Déposer les fichiers ici',
|
||||||
'dragdrop.overlay.default_subtext': 'Vous pouvez aussi cliquer sur le bouton de téléchargement',
|
'dragdrop.overlay.default_subtext': 'Vous pouvez aussi cliquer sur le bouton de téléchargement',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue