Rename season UI language to years

This commit is contained in:
AzuTear
2026-06-17 13:45:06 +02:00
parent 33975a633c
commit 567f0e2ebf
9 changed files with 29 additions and 25 deletions
@@ -84,9 +84,9 @@ async function saveSeason() {
currentPhase: seasonForm.currentPhase,
isCurrent: seasonForm.isCurrent,
})
adminMessage.value = 'Season-Einstellungen gespeichert.'
adminMessage.value = 'Jahres-Einstellungen gespeichert.'
} catch (error) {
adminError.value = error instanceof Error ? error.message : 'Season konnte nicht gespeichert werden.'
adminError.value = error instanceof Error ? error.message : 'Jahr konnte nicht gespeichert werden.'
} finally {
seasonSaving.value = false
}
@@ -136,8 +136,8 @@ async function createCategory() {
<template>
<div class="space-y-6">
<AdminPageHeader
eyebrow="Seasons"
title="Season und Kategorien verwalten"
eyebrow="Jahre"
title="Jahr und Kategorien verwalten"
description="Hier steuerst du die aktive Phase, legst neue Kategorien an und pflegst bestehende Gruppen, Limits und Beschreibungen."
/>
@@ -147,8 +147,8 @@ async function createCategory() {
<Card class="p-7">
<div class="flex flex-col gap-6">
<div>
<h2 class="font-[Cormorant_Garamond] text-4xl text-violet-800">Season Setup</h2>
<p class="mt-2 text-sm text-slate-500">Phase, Current-Status und Basiskontext fuer die aktive Awards-Season.</p>
<h2 class="font-[Cormorant_Garamond] text-4xl text-violet-800">Jahres-Setup</h2>
<p class="mt-2 text-sm text-slate-500">Phase, Current-Status und Basiskontext fuer das aktive Award-Jahr.</p>
</div>
<div class="space-y-3">
@@ -162,12 +162,12 @@ async function createCategory() {
<label class="flex items-center gap-3 rounded-2xl border border-violet-100 bg-violet-50/60 px-4 py-4 text-sm text-slate-700">
<input v-model="seasonForm.isCurrent" type="checkbox" class="h-4 w-4 accent-violet-600" />
Diese Season ist die aktuelle Public Season
Dieses Jahr ist das aktuelle Public-Jahr
</label>
<div class="flex flex-wrap items-center gap-4">
<Button :disabled="seasonSaving || !selectedSeasonId" @click="saveSeason">
{{ seasonSaving ? 'Speichert ...' : 'Season speichern' }}
{{ seasonSaving ? 'Speichert ...' : 'Jahr speichern' }}
</Button>
<span class="text-sm text-slate-500">
{{ seasonDetail.year }} · {{ seasonDetail.name }}
@@ -204,7 +204,7 @@ async function createCategory() {
<Card class="p-7">
<div class="flex items-center justify-between gap-4">
<div>
<h2 class="font-[Cormorant_Garamond] text-4xl text-violet-800">Kategorien der Season</h2>
<h2 class="font-[Cormorant_Garamond] text-4xl text-violet-800">Kategorien des Jahres</h2>
<p class="mt-2 text-sm text-slate-500">Sortierung, Slugs und Limits werden hier pro Jahr gepflegt.</p>
</div>
<span class="text-sm uppercase tracking-[0.2em] text-slate-500">