From: PhiTux Date: Wed, 27 Aug 2025 11:51:36 +0000 (+0200) Subject: translated login-page X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1ccefeb8d366976fbf19dafffd21c9bedd97a0de;p=DailyTxT.git translated login-page --- diff --git a/frontend/src/routes/login/+page.svelte b/frontend/src/routes/login/+page.svelte index c8285df..411fc4d 100644 --- a/frontend/src/routes/login/+page.svelte +++ b/frontend/src/routes/login/+page.svelte @@ -246,7 +246,7 @@ aria-expanded="true" aria-controls="collapseOne" > - Login + {$t('login.login')}
{#if is_migrating || migration_phase == 'completed'}
@@ -319,7 +319,7 @@ ✅ {/if}
- Einträge migrieren + {$t('login.migration.migrate_logs')} {#if active_phase === 2} @@ -349,7 +349,7 @@ ✅ {/if} - Dateien migrieren + {$t('login.migration.migrate_files')} {#if active_phase === 3}
- Migration wurde ohne erkannte Fehler abgeschlossen! Bitte Login erneut - starten.
- Prüfe anschließend, ob alle Daten korrekt migriert wurden. + {@html $t('login.migration.success_message')}
{:else}
- Migration wurde mit {migration_error_count} erkannten Fehlern abgeschlossen! - Prüfe die Server-Logs für Details!
- Falls der Login nicht funktioniert, oder die Daten fehlerhaft sind, so müssen - die migrierten Daten händisch entfernt werden. + {@html ($t('login.migration.completed_with_errors'), + { + error_count: migration_error_count + })}
{/if} {/if} @@ -389,13 +387,12 @@ {/if} {#if show_login_failed} {/if} {#if show_login_warning_empty_fields} {/if}
@@ -434,7 +431,7 @@ type="text" class="form-control" id="registerUsername" - placeholder="Username" + placeholder={$t('login.username')} />
@@ -444,7 +441,7 @@ type="password" class="form-control" id="registerPassword" - placeholder="Password" + placeholder={$t('login.password')} /> @@ -454,38 +451,42 @@ type="password" class="form-control" id="registerPassword2" - placeholder="Password bestätigen" + placeholder={$t('login.confirm_password')} /> {#if !registration_allowed} {/if} {#if show_registration_failed_with_message} {/if} {#if show_registration_failed} {/if} {#if show_registration_success} {/if} {#if show_registration_warning_empty_fields} {/if} {#if show_warning_passwords_do_not_match} - + {/if}
{/if} - Registrieren + {$t('login.create_account')} @@ -534,7 +535,9 @@ aria-atomic="true" >
-
Der Login ist abgelaufen. Bitte neu anmelden.
+
+ {$t('login.toast.login_expired')} +
@@ -546,7 +549,9 @@ aria-atomic="true" >
-
Authentifizierung fehlgeschlagen. Bitte neu anmelden.
+
+ {$t('login.toast.login_invalid')} +
@@ -558,7 +563,9 @@ aria-atomic="true" >
-
Account erfolgreich gelöscht.
+
+ {$t('login.toast.account_deleted')} +
@@ -579,6 +586,10 @@ opacity: 1; } + .emoji { + margin-right: 0.25em; + } + .progress-item .emoji { visibility: hidden; }