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:
35 files changed
+1795
-22
No files matched your search
@@ -897,6 +897,54 @@ const dict: Translations = {
|
||||
'sync.pending_one': "{count} thay đổi đang chờ",
|
||||
'sync.pending_other': "{count} thay đổi đang chờ",
|
||||
'sync.now': "Đồng bộ ngay",
|
||||
// — Bibliothèque : tags perso, actions groupées, « Annuler » —
|
||||
"tags.label": "Thẻ cá nhân",
|
||||
"tags.placeholder": "comfort, halloween, xem lại với Lea…",
|
||||
"tags.private": "Chỉ mình bạn thấy, không bao giờ hiện trên hồ sơ.",
|
||||
"tags.filter": "Thẻ cá nhân",
|
||||
"select.start": "Chọn",
|
||||
"select.exit": "Thoát chế độ chọn",
|
||||
"select.all": "Chọn tất cả",
|
||||
"select.none": "Bỏ chọn tất cả",
|
||||
"select.toggle": "Chọn “{title}”",
|
||||
"select.actions": "Thao tác với mục đã chọn",
|
||||
"select.status": "Trạng thái",
|
||||
"select.list": "Danh sách",
|
||||
"select.tag": "Thẻ",
|
||||
"select.noLists": "Chưa có danh sách — tạo ở bên dưới.",
|
||||
"select.inList": "Đã có: {n}/{total}",
|
||||
"select.addTo": "Thêm vào “{list}”",
|
||||
"select.removeFrom": "Gỡ khỏi “{list}”",
|
||||
"select.removeTag": "Gỡ thẻ",
|
||||
"toast.undo": "Hoàn tác",
|
||||
"toast.undone": "Đã hoàn tác",
|
||||
"toast.undoFailed": "Không thể hoàn tác",
|
||||
"toast.deleted": "Đã xóa “{title}”",
|
||||
"toast.status": "“{title}” → {status}",
|
||||
"toast.removedFromList": "Đã gỡ “{title}” khỏi “{list}”",
|
||||
"select.count_zero": "Chưa chọn phim nào",
|
||||
"select.count_one": "Đã chọn {count}",
|
||||
"select.count_other": "Đã chọn {count}",
|
||||
"select.statusTitle_one": "Trạng thái của {count} phim",
|
||||
"select.statusTitle_other": "Trạng thái của {count} phim",
|
||||
"select.listTitle_one": "Danh sách · {count} phim",
|
||||
"select.listTitle_other": "Danh sách · {count} phim",
|
||||
"select.tagTitle_one": "Thẻ · {count} phim",
|
||||
"select.tagTitle_other": "Thẻ · {count} phim",
|
||||
"select.deleteConfirm_one": "Xóa {count} phim khỏi thư viện?",
|
||||
"select.deleteConfirm_other": "Xóa {count} phim khỏi thư viện?",
|
||||
"toast.deletedMany_one": "Đã xóa {count} phim",
|
||||
"toast.deletedMany_other": "Đã xóa {count} phim",
|
||||
"toast.statusMany_one": "{count} phim → {status}",
|
||||
"toast.statusMany_other": "{count} phim → {status}",
|
||||
"toast.addedToList_one": "Đã thêm {count} phim vào “{list}”",
|
||||
"toast.addedToList_other": "Đã thêm {count} phim vào “{list}”",
|
||||
"toast.removedFromListMany_one": "Đã gỡ {count} phim khỏi “{list}”",
|
||||
"toast.removedFromListMany_other": "Đã gỡ {count} phim khỏi “{list}”",
|
||||
"toast.tagged_one": "Đã thêm #{tag} cho {count} phim",
|
||||
"toast.tagged_other": "Đã thêm #{tag} cho {count} phim",
|
||||
"toast.untagged_one": "Đã gỡ #{tag} khỏi {count} phim",
|
||||
"toast.untagged_other": "Đã gỡ #{tag} khỏi {count} phim",
|
||||
}
|
||||
|
||||
export default dict
|
||||
Reference in new issue
Block a user