Bibliothèque : tags perso, actions groupées et « Annuler »

- Tags personnels libres sur chaque titre (fiche → Mon suivi), affichés discrètement
  dans la fiche, filtre par tag dans le catalogue, suggestions = tags déjà utilisés.
  Synchronisés avec la fiche (JSON), inclus dans l'export/import (et repris des tags
  de l'ancienne appli). Privés : retirés par public_item (migration) et côté client.
- Actions groupées dans le catalogue : appui long (mobile), case au survol (ordinateur)
  ou bouton « Sélectionner » ; tout sélectionner, compteur ; statut, listes (ajout /
  retrait), tag (ajout / retrait), suppression avec confirmation. Échap / retour quittent.
- Toast global accessible (role=status) avec « Annuler » (~6 s) après suppression,
  changement de statut, retrait d'une liste, actions groupées. La restauration remet la
  fiche à l'identique avec un updatedAt plus récent que la suppression : la synchro LWW
  recrée bien la fiche côté serveur.
- Store : updateMany, removeMany, restore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-10-09 15:16:32 +00:00
1 parent c246b16e7e
commit 94c27739b2
35 files changed
+1795 -22

No files matched your search

+70
View File
@@ -989,6 +989,76 @@ const dict: Translations = {
'sync.now': "Synchronizuj",
'sync.pending_few': "{count} zmiany oczekują",
'sync.pending_many': "{count} zmian oczekuje",
// — Bibliothèque : tags perso, actions groupées, « Annuler » —
"tags.label": "Własne tagi",
"tags.placeholder": "comfort, halloween, obejrzeć znów z Leą…",
"tags.private": "Widoczne tylko dla ciebie, nigdy na profilu.",
"tags.filter": "Własne tagi",
"select.start": "Zaznacz",
"select.exit": "Zakończ zaznaczanie",
"select.all": "Zaznacz wszystko",
"select.none": "Odznacz wszystko",
"select.toggle": "Zaznacz „{title}”",
"select.actions": "Działania na zaznaczonych",
"select.status": "Status",
"select.list": "Lista",
"select.tag": "Tag",
"select.noLists": "Brak list — utwórz ją poniżej.",
"select.inList": "Już na liście: {n}/{total}",
"select.addTo": "Dodaj do „{list}”",
"select.removeFrom": "Usuń z „{list}”",
"select.removeTag": "Usuń tag",
"toast.undo": "Cofnij",
"toast.undone": "Cofnięto",
"toast.undoFailed": "Nie udało się cofnąć",
"toast.deleted": "Usunięto „{title}”",
"toast.status": "„{title}” → {status}",
"toast.removedFromList": "Usunięto „{title}” z „{list}”",
"select.count_zero": "Nic nie zaznaczono",
"select.count_one": "Zaznaczono: {count}",
"select.count_few": "Zaznaczono: {count}",
"select.count_many": "Zaznaczono: {count}",
"select.count_other": "Zaznaczono: {count}",
"select.statusTitle_one": "Status: {count} tytuł",
"select.statusTitle_few": "Status: {count} tytuły",
"select.statusTitle_many": "Status: {count} tytułów",
"select.statusTitle_other": "Status: {count} tytułu",
"select.listTitle_one": "Listy · {count} tytuł",
"select.listTitle_few": "Listy · {count} tytuły",
"select.listTitle_many": "Listy · {count} tytułów",
"select.listTitle_other": "Listy · {count} tytułu",
"select.tagTitle_one": "Tag · {count} tytuł",
"select.tagTitle_few": "Tag · {count} tytuły",
"select.tagTitle_many": "Tag · {count} tytułów",
"select.tagTitle_other": "Tag · {count} tytułu",
"select.deleteConfirm_one": "Usunąć z biblioteki: {count} tytuł?",
"select.deleteConfirm_few": "Usunąć z biblioteki: {count} tytuły?",
"select.deleteConfirm_many": "Usunąć z biblioteki: {count} tytułów?",
"select.deleteConfirm_other": "Usunąć z biblioteki: {count} tytułu?",
"toast.deletedMany_one": "Usunięto: {count} tytuł",
"toast.deletedMany_few": "Usunięto: {count} tytuły",
"toast.deletedMany_many": "Usunięto: {count} tytułów",
"toast.deletedMany_other": "Usunięto: {count} tytułu",
"toast.statusMany_one": "{count} tytuł → {status}",
"toast.statusMany_few": "{count} tytuły → {status}",
"toast.statusMany_many": "{count} tytułów → {status}",
"toast.statusMany_other": "{count} tytułu → {status}",
"toast.addedToList_one": "Dodano do „{list}”: {count} tytuł",
"toast.addedToList_few": "Dodano do „{list}”: {count} tytuły",
"toast.addedToList_many": "Dodano do „{list}”: {count} tytułów",
"toast.addedToList_other": "Dodano do „{list}”: {count} tytułu",
"toast.removedFromListMany_one": "Usunięto z „{list}”: {count} tytuł",
"toast.removedFromListMany_few": "Usunięto z „{list}”: {count} tytuły",
"toast.removedFromListMany_many": "Usunięto z „{list}”: {count} tytułów",
"toast.removedFromListMany_other": "Usunięto z „{list}”: {count} tytułu",
"toast.tagged_one": "Dodano #{tag}: {count} tytuł",
"toast.tagged_few": "Dodano #{tag}: {count} tytuły",
"toast.tagged_many": "Dodano #{tag}: {count} tytułów",
"toast.tagged_other": "Dodano #{tag}: {count} tytułu",
"toast.untagged_one": "Usunięto #{tag}: {count} tytuł",
"toast.untagged_few": "Usunięto #{tag}: {count} tytuły",
"toast.untagged_many": "Usunięto #{tag}: {count} tytułów",
"toast.untagged_other": "Usunięto #{tag}: {count} tytułu",
}
export default dict