feat(bulk-upload): add UploadSaveBar component + fix bulk_save_cta message

Save bar with sticky positioning, a determinate progress bar while
uploading chunks, plural save CTA, and a destructive discard link.
Replaces broken ICU plural in bulk_save_cta with two-key approach
(bulk_save_cta_one / bulk_save_cta) since Paraglide 2.5 does not support
ICU plural syntax.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-24 17:49:23 +02:00
parent c9078bf8f2
commit dc28ebb9d1
5 changed files with 93 additions and 3 deletions

View File

@@ -815,7 +815,8 @@
"bulk_drop_hint": "Suelta uno o varios archivos aquí",
"bulk_drop_sub": "PDF, JPEG, PNG o TIFF · hasta 50 MB por archivo",
"bulk_count_pill": "Se crearán {count}",
"bulk_save_cta": "{count, plural, one {Guardar →} other {Guardar {count} →}}",
"bulk_save_cta_one": "Guardar →",
"bulk_save_cta": "Guardar {count} →",
"bulk_discard_all": "Descartar todo",
"bulk_add_more": "Añadir más",
"bulk_scope_per_file_label": "Solo este archivo",