fix(i18n): replace hardcoded strings with Paraglide message keys
Some checks failed
CI / Unit & Component Tests (push) Failing after 2m34s
CI / OCR Service Tests (push) Successful in 35s
CI / Backend Unit Tests (push) Failing after 2m49s
CI / Unit & Component Tests (pull_request) Failing after 2m40s
CI / OCR Service Tests (pull_request) Successful in 38s
CI / Backend Unit Tests (pull_request) Failing after 2m46s
Some checks failed
CI / Unit & Component Tests (push) Failing after 2m34s
CI / OCR Service Tests (push) Successful in 35s
CI / Backend Unit Tests (push) Failing after 2m49s
CI / Unit & Component Tests (pull_request) Failing after 2m40s
CI / OCR Service Tests (pull_request) Successful in 38s
CI / Backend Unit Tests (pull_request) Failing after 2m46s
- error_file_upload_failed key used in enrich upload handler - label_optional key added (de/en/es) and used in DescriptionSection divider Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -52,6 +52,7 @@
|
|||||||
"form_label_archive_location": "Aufbewahrungsort",
|
"form_label_archive_location": "Aufbewahrungsort",
|
||||||
"form_placeholder_archive_location": "z.B. Schrank 3, Mappe B",
|
"form_placeholder_archive_location": "z.B. Schrank 3, Mappe B",
|
||||||
"form_helper_archive_location": "Wo befindet sich das Originaldokument?",
|
"form_helper_archive_location": "Wo befindet sich das Originaldokument?",
|
||||||
|
"label_optional": "Optional",
|
||||||
"login_heading": "Anmelden",
|
"login_heading": "Anmelden",
|
||||||
"login_label_username": "Benutzername",
|
"login_label_username": "Benutzername",
|
||||||
"login_label_password": "Passwort",
|
"login_label_password": "Passwort",
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
"form_label_archive_location": "Storage location",
|
"form_label_archive_location": "Storage location",
|
||||||
"form_placeholder_archive_location": "e.g. Cabinet 3, Folder B",
|
"form_placeholder_archive_location": "e.g. Cabinet 3, Folder B",
|
||||||
"form_helper_archive_location": "Where is the original document stored?",
|
"form_helper_archive_location": "Where is the original document stored?",
|
||||||
|
"label_optional": "Optional",
|
||||||
"login_heading": "Sign in",
|
"login_heading": "Sign in",
|
||||||
"login_label_username": "Username",
|
"login_label_username": "Username",
|
||||||
"login_label_password": "Password",
|
"login_label_password": "Password",
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
"form_label_archive_location": "Ubicación de almacenamiento",
|
"form_label_archive_location": "Ubicación de almacenamiento",
|
||||||
"form_placeholder_archive_location": "p.ej. Armario 3, Carpeta B",
|
"form_placeholder_archive_location": "p.ej. Armario 3, Carpeta B",
|
||||||
"form_helper_archive_location": "¿Dónde se encuentra el documento original?",
|
"form_helper_archive_location": "¿Dónde se encuentra el documento original?",
|
||||||
|
"label_optional": "Opcional",
|
||||||
"login_heading": "Iniciar sesión",
|
"login_heading": "Iniciar sesión",
|
||||||
"login_label_username": "Usuario",
|
"login_label_username": "Usuario",
|
||||||
"login_label_password": "Contraseña",
|
"login_label_password": "Contraseña",
|
||||||
|
|||||||
@@ -81,7 +81,9 @@ const titleValue = $derived(titleDirty ? currentTitle : suggestedTitle || curren
|
|||||||
<!-- Optional divider -->
|
<!-- Optional divider -->
|
||||||
<div class="my-3 flex items-center gap-2">
|
<div class="my-3 flex items-center gap-2">
|
||||||
<div class="flex-1 border-t border-line"></div>
|
<div class="flex-1 border-t border-line"></div>
|
||||||
<span class="text-xs font-bold tracking-widest text-ink-3 uppercase">Optional</span>
|
<span class="text-xs font-bold tracking-widest text-ink-3 uppercase"
|
||||||
|
>{m.label_optional()}</span
|
||||||
|
>
|
||||||
<div class="flex-1 border-t border-line"></div>
|
<div class="flex-1 border-t border-line"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ async function handleFile(file: File) {
|
|||||||
await invalidate('app:document');
|
await invalidate('app:document');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if ((e as Error).name === 'AbortError') return;
|
if ((e as Error).name === 'AbortError') return;
|
||||||
uploadError = 'Upload fehlgeschlagen. Bitte erneut versuchen.';
|
uploadError = m.error_file_upload_failed();
|
||||||
} finally {
|
} finally {
|
||||||
isUploading = false;
|
isUploading = false;
|
||||||
abortController = null;
|
abortController = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user