Improve app navigation and settings by adding new translations

Update i18n files for English and German, and refactor BottomNavigation and Settings components to use translated strings for navigation and settings options.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ceced2fc-aa46-458d-ba87-ddd4b7bb1518
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/659922a9-0087-461c-90dd-6d9a58b81d4d/ceced2fc-aa46-458d-ba87-ddd4b7bb1518/un1X8jl
This commit is contained in:
paul-nothaft
2025-10-23 21:07:40 +00:00
parent 3c16c1385a
commit dcf8606c4c
4 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export default function BottomNavigation({ onTabChange, onCreateTask, activeTab
const tabs = [
{ id: 'tasks', label: t('navigation.tasks'), icon: Home },
{ id: 'calendar', label: t('navigation.calendar'), icon: Calendar },
{ id: 'create', label: 'Create', icon: Plus, isCreate: true },
{ id: 'create', label: t('navigation.create'), icon: Plus, isCreate: true },
{ id: 'kanban', label: t('navigation.kanban'), icon: LayoutGrid },
{ id: 'settings', label: t('navigation.settings'), icon: Settings }
];
+5 -2
View File
@@ -6,6 +6,7 @@
"navigation": {
"tasks": "Aufgaben",
"calendar": "Kalender",
"create": "Erstellen",
"kanban": "Kanban",
"settings": "Einstellungen"
},
@@ -88,11 +89,13 @@
},
"appearance": {
"title": "Erscheinungsbild",
"description": "Passe das Aussehen an"
"description": "Passe das Aussehen an",
"themeToggle": "Thema-Umschalter ist in der Kopfzeile verfügbar"
},
"templates": {
"title": "Projektvorlagen",
"description": "Verwende Vorlagen zum schnellen Erstellen von Projekten"
"description": "Verwende Vorlagen zum schnellen Erstellen von Projekten",
"accessInfo": "Zugriff auf Vorlagen über das Navigationsmenü"
}
},
"projectTemplate": {
+5 -2
View File
@@ -6,6 +6,7 @@
"navigation": {
"tasks": "Tasks",
"calendar": "Calendar",
"create": "Create",
"kanban": "Kanban",
"settings": "Settings"
},
@@ -88,11 +89,13 @@
},
"appearance": {
"title": "Appearance",
"description": "Customize the look and feel"
"description": "Customize the look and feel",
"themeToggle": "Theme toggle available in the header"
},
"templates": {
"title": "Project Templates",
"description": "Use templates to quickly create projects"
"description": "Use templates to quickly create projects",
"accessInfo": "Access templates from the navigation menu"
}
},
"projectTemplate": {
+2 -2
View File
@@ -58,7 +58,7 @@ export default function Settings() {
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
Theme toggle available in the header
{t('settings.appearance.themeToggle')}
</p>
</CardContent>
</Card>
@@ -73,7 +73,7 @@ export default function Settings() {
</CardHeader>
<CardContent>
<p className="text-sm text-muted-foreground">
Access templates from the navigation menu
{t('settings.templates.accessInfo')}
</p>
</CardContent>
</Card>