fix: i18n for project section strings, unique SVG pattern IDs, remove hardcoded text

- Projects.tsx: use t() for title, subtitle, viewAll, noProjects
- ProjectsPageClient.tsx: use tList('title') instead of hardcoded 'Archive'
- ProjectThumbnail.tsx: useId() for unique SVG pattern IDs to avoid collisions
- Remove unused sizeClasses variable
- en.json: update project subtitle and add noProjects key
- de.json: update German translations for project section
This commit is contained in:
2026-04-16 14:39:17 +02:00
parent c442aa447b
commit dd46bcddc7
5 changed files with 37 additions and 40 deletions

View File

@@ -86,10 +86,11 @@
}
},
"projects": {
"title": "Ausgewählte Projekte",
"subtitle": "Eine Auswahl an Projekten, an denen ich gearbeitet habe von Web-Apps bis zu Experimenten.",
"title": "Ausgewählte Arbeiten",
"subtitle": "Projekte, die meine Grenzen erweitert haben.",
"featured": "Featured",
"viewAll": "Alle Projekte ansehen"
"viewAll": "Archiv ansehen",
"noProjects": "Noch keine Projekte."
},
"contact": {
"title": "Kontakt",