fix: replace ASCII-encoded umlauts with proper German characters in UI text
User-facing strings used ae/oe/ue/ss instead of ä/ö/ü/ß, carried over from ASCII-only planning docs convention.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<fieldset class="space-y-4">
|
||||
<legend class="text-lg font-semibold text-stone-800 dark:text-stone-100">Standort</legend>
|
||||
|
||||
<Input label="Strasse" name="street" type="text" value={market?.street ?? ''} />
|
||||
<Input label="Straße" name="street" type="text" value={market?.street ?? ''} />
|
||||
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<Input label="Stadt *" name="city" type="text" required value={market?.city ?? ''} />
|
||||
@@ -68,7 +68,7 @@
|
||||
dark:border-stone-600 dark:bg-stone-800"
|
||||
>
|
||||
<option value="DE" selected={(market?.country ?? 'DE') === 'DE'}>Deutschland</option>
|
||||
<option value="AT" selected={market?.country === 'AT'}>Oesterreich</option>
|
||||
<option value="AT" selected={market?.country === 'AT'}>Österreich</option>
|
||||
<option value="CH" selected={market?.country === 'CH'}>Schweiz</option>
|
||||
</select>
|
||||
</div>
|
||||
@@ -84,7 +84,7 @@
|
||||
value={String(market?.latitude ?? '')}
|
||||
/>
|
||||
<Input
|
||||
label="Laengengrad *"
|
||||
label="Längengrad *"
|
||||
name="longitude"
|
||||
type="number"
|
||||
required
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
let { children }: Props = $props();
|
||||
|
||||
const navItems = [{ href: '/admin/maerkte', label: 'Maerkte' }];
|
||||
const navItems = [{ href: '/admin/maerkte', label: 'Märkte' }];
|
||||
|
||||
function isActive(href: string): boolean {
|
||||
return $page.url.pathname.startsWith(href);
|
||||
|
||||
@@ -31,12 +31,12 @@
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Maerkte verwalten - Admin - Marktvogt</title>
|
||||
<title>Märkte verwalten - Admin - Marktvogt</title>
|
||||
</svelte:head>
|
||||
|
||||
<div class="space-y-6">
|
||||
<div class="flex flex-wrap items-center justify-between gap-4">
|
||||
<h1 class="text-2xl font-bold">Maerkte</h1>
|
||||
<h1 class="text-2xl font-bold">Märkte</h1>
|
||||
<a href="/admin/maerkte/neu">
|
||||
<Button size="sm">Neuer Markt</Button>
|
||||
</a>
|
||||
@@ -112,7 +112,7 @@
|
||||
{:else}
|
||||
<tr>
|
||||
<td colspan="6" class="px-4 py-8 text-center text-stone-500 dark:text-stone-400">
|
||||
Keine Maerkte gefunden.
|
||||
Keine Märkte gefunden.
|
||||
</td>
|
||||
</tr>
|
||||
{/each}
|
||||
@@ -124,7 +124,7 @@
|
||||
{#if data.meta && data.meta.total_pages > 1}
|
||||
<div class="flex items-center justify-between">
|
||||
<p class="text-sm text-stone-600 dark:text-stone-400">
|
||||
Seite {data.meta.page} von {data.meta.total_pages} ({data.meta.total} Eintraege)
|
||||
Seite {data.meta.page} von {data.meta.total_pages} ({data.meta.total} Einträge)
|
||||
</p>
|
||||
<div class="flex gap-2">
|
||||
{#if data.meta.page > 1}
|
||||
@@ -134,7 +134,7 @@
|
||||
? `&q=${data.filters.q}`
|
||||
: ''}"
|
||||
>
|
||||
<Button variant="secondary" size="sm">Zurueck</Button>
|
||||
<Button variant="secondary" size="sm">Zurück</Button>
|
||||
</a>
|
||||
{/if}
|
||||
{#if data.meta.page < data.meta.total_pages}
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
href="/admin/maerkte"
|
||||
class="text-primary-600 hover:text-primary-800 dark:text-primary-400 text-sm"
|
||||
>
|
||||
← Zurueck zur Liste
|
||||
← Zurück zur Liste
|
||||
</a>
|
||||
<h1 class="mt-1 text-2xl font-bold">{data.market.name}</h1>
|
||||
</div>
|
||||
@@ -57,7 +57,7 @@
|
||||
method="POST"
|
||||
action="?/delete"
|
||||
use:enhance={(e) => {
|
||||
if (!confirm('Markt wirklich loeschen?')) {
|
||||
if (!confirm('Markt wirklich löschen?')) {
|
||||
e.cancel();
|
||||
return;
|
||||
}
|
||||
@@ -68,7 +68,7 @@
|
||||
};
|
||||
}}
|
||||
>
|
||||
<Button variant="danger" size="sm" type="submit" {loading}>Loeschen</Button>
|
||||
<Button variant="danger" size="sm" type="submit" {loading}>Löschen</Button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
{#if form?.success}
|
||||
<Alert variant="success">
|
||||
Status erfolgreich auf "{form.action === 'approved' ? 'Genehmigt' : 'Abgelehnt'}" geaendert.
|
||||
Status erfolgreich auf "{form.action === 'approved' ? 'Genehmigt' : 'Abgelehnt'}" geändert.
|
||||
</Alert>
|
||||
{/if}
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
{/if}
|
||||
{#if data.market.reviewed_at}
|
||||
<p class="mt-1 text-sm text-stone-500 dark:text-stone-500">
|
||||
Geprueft am {formatDate(data.market.reviewed_at)}
|
||||
Geprüft am {formatDate(data.market.reviewed_at)}
|
||||
</p>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
href="/admin/maerkte/{data.market.id}"
|
||||
class="text-primary-600 hover:text-primary-800 dark:text-primary-400 text-sm"
|
||||
>
|
||||
← Zurueck zum Markt
|
||||
← Zurück zum Markt
|
||||
</a>
|
||||
<h1 class="mt-1 text-2xl font-bold">Markt bearbeiten</h1>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
href="/admin/maerkte"
|
||||
class="text-primary-600 hover:text-primary-800 dark:text-primary-400 text-sm"
|
||||
>
|
||||
← Zurueck zur Liste
|
||||
← Zurück zur Liste
|
||||
</a>
|
||||
<h1 class="mt-1 text-2xl font-bold">Neuer Markt</h1>
|
||||
</div>
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
<h1>Markt einreichen</h1>
|
||||
<p class="mt-2 text-stone-600 dark:text-stone-400">
|
||||
Kennst du einen Mittelaltermarkt, der noch nicht bei Marktvogt gelistet ist? Reiche ihn hier ein
|
||||
und wir pruefen die Angaben.
|
||||
und wir prüfen die Angaben.
|
||||
</p>
|
||||
|
||||
{#if form?.success}
|
||||
<div class="mt-6">
|
||||
<Alert variant="success">
|
||||
Vielen Dank! Dein Markt wurde eingereicht und wird nach Pruefung veroeffentlicht.
|
||||
Vielen Dank! Dein Markt wurde eingereicht und wird nach Prüfung veröffentlicht.
|
||||
</Alert>
|
||||
</div>
|
||||
{:else}
|
||||
@@ -56,7 +56,7 @@
|
||||
type="text"
|
||||
required
|
||||
value={form?.name ?? ''}
|
||||
placeholder="z.B. Ritterturnier zu Muenchen"
|
||||
placeholder="z.B. Ritterturnier zu München"
|
||||
/>
|
||||
|
||||
<div class="space-y-1">
|
||||
@@ -84,7 +84,7 @@
|
||||
type="text"
|
||||
required
|
||||
value={form?.city ?? ''}
|
||||
placeholder="z.B. Muenchen"
|
||||
placeholder="z.B. München"
|
||||
/>
|
||||
<Input
|
||||
label="Bundesland"
|
||||
@@ -121,7 +121,7 @@
|
||||
<option value="DE" selected={form?.country !== 'AT' && form?.country !== 'CH'}>
|
||||
Deutschland
|
||||
</option>
|
||||
<option value="AT" selected={form?.country === 'AT'}>Oesterreich</option>
|
||||
<option value="AT" selected={form?.country === 'AT'}>Österreich</option>
|
||||
<option value="CH" selected={form?.country === 'CH'}>Schweiz</option>
|
||||
</select>
|
||||
</div>
|
||||
@@ -137,7 +137,7 @@
|
||||
step="any"
|
||||
/>
|
||||
<Input
|
||||
label="Laengengrad"
|
||||
label="Längengrad"
|
||||
name="longitude"
|
||||
type="number"
|
||||
value={form?.longitude ?? ''}
|
||||
@@ -185,7 +185,7 @@
|
||||
Deine Kontaktdaten
|
||||
</legend>
|
||||
<p class="text-sm text-stone-500 dark:text-stone-400">
|
||||
Werden nicht veroeffentlicht. Nur fuer Rueckfragen.
|
||||
Werden nicht veröffentlicht. Nur für Rückfragen.
|
||||
</p>
|
||||
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user