🌐 i18n(translation): add archive-related translations

- add new translation keys for archive feature in both German and English

 feat(server): implement archived servers feature

- create endpoints for listing and restoring archived servers
- add HTML template for displaying archived servers
- update navigation to include archived servers link
This commit is contained in:
nocci 2025-12-06 14:32:23 +00:00
parent c6a2ed928b
commit d0622ae361
4 changed files with 138 additions and 0 deletions

View file

@ -12,6 +12,7 @@ translations: Dict[str, Dict[str, str]] = {
"nav.users": "User",
"nav.overview": "Übersicht",
"nav.map": "Karte",
"nav.archive": "Archiv",
"nav.new_server": "Server anlegen",
"nav.logout": "Logout",
"nav.login": "Login",
@ -45,6 +46,10 @@ translations: Dict[str, Dict[str, str]] = {
"server_list.empty": "Noch keine Server erfasst. Leg den ersten mit „Server anlegen“ oben rechts an.",
"price.month": "Monat",
"price.year": "Jahr",
"archive.title": "Archivierte Server",
"archive.subtitle": "Ausgeblendete (archivierte) Server. Hier kannst du sie wiederherstellen.",
"archive.restore": "Wiederherstellen",
"archive.empty": "Keine archivierten Server vorhanden.",
"server_detail.server": "Server",
"server_detail.contract_end": "Vertragsende",
"server_detail.days_ago": "vor {days} Tagen",
@ -169,6 +174,7 @@ translations: Dict[str, Dict[str, str]] = {
"nav.users": "Users",
"nav.overview": "Overview",
"nav.map": "Map",
"nav.archive": "Archive",
"nav.new_server": "Add server",
"nav.logout": "Logout",
"nav.login": "Login",
@ -202,6 +208,10 @@ translations: Dict[str, Dict[str, str]] = {
"server_list.empty": "No servers yet. Create the first one via “Add server” in the top right.",
"price.month": "Month",
"price.year": "Year",
"archive.title": "Archived servers",
"archive.subtitle": "Hidden (archived) servers. Restore them here.",
"archive.restore": "Restore",
"archive.empty": "No archived servers found.",
"server_detail.server": "Server",
"server_detail.contract_end": "Contract end",
"server_detail.days_ago": "{days} days ago",