Défis de visionnage : objectifs, progression automatique et carte sur l'accueil

- Défis (films / séries / animes / K-dramas / C-dramas / autres / tout ; titres
  terminés ou épisodes vus ; semaine, mois, année ou dates libres), modèles en un tap.
- Progression calculée depuis la bibliothèque : dates de fin + revisionnages ;
  épisodes via un journal privé par jour (episodeLog) rempli à chaque coche,
  avec estimation (répartition début→fin) pour les épisodes sans date.
- Carte « Défis » sur l'accueil (anneau, rythme « 3 films d'avance »),
  feuille de gestion (créer, modifier, archiver, recommencer, supprimer,
  titres comptés → fiche), date de réussite, petite célébration sobre.
- Stockage dans les réglages synchronisés (15 max), inclus dans l'export/import
  (fusion des défis en mode « fusionner »). 18 langues.
- Migration 20261009140000_challenges.sql : réglages jusqu'à 16 000 octets et
  episodeLog retiré des fiches publiques.

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:19:58 +00:00
1 parent c246b16e7e
commit 308c0f2327
30 files changed
+2472 -6

No files matched your search

+71
View File
@@ -897,6 +897,77 @@ const dict: Translations = {
'sync.pending_one': "รอซิงค์ {count} รายการ",
'sync.pending_other': "รอซิงค์ {count} รายการ",
'sync.now': "ซิงค์ตอนนี้",
// — Défis —
'challenges.title': "ชาเลนจ์",
'challenges.manage': "จัดการ",
'challenges.emptyTitle': "ตั้งเป้าหมายให้ตัวเอง",
'challenges.emptyText': "ปีนี้ 52 เรื่อง อนิเมะสัปดาห์ละเรื่อง… ความคืบหน้าคำนวณให้อัตโนมัติ",
'challenges.create': "สร้างชาเลนจ์",
'challenges.new': "ชาเลนจ์ใหม่",
'challenges.edit': "แก้ไขชาเลนจ์",
'challenges.templates': "ไอเดียชาเลนจ์",
'challenges.target': "เป้าหมาย",
'challenges.media': "ประเภท",
'challenges.unit': "นับ",
'challenges.unit.titles': "เรื่องที่ดูจบ",
'challenges.unit.episodes': "ตอนที่ดูแล้ว",
'challenges.period': "ช่วงเวลา",
'challenges.period.week': "สัปดาห์นี้",
'challenges.period.month': "เดือนนี้",
'challenges.period.year': "ปีนี้",
'challenges.period.custom': "กำหนดวันเอง",
'challenges.from': "จาก",
'challenges.to': "ถึง",
'challenges.name': "ชื่อ (ไม่บังคับ)",
'challenges.preview': "ช่วงนี้ได้แล้ว {what}",
'challenges.ahead': "นำหน้า {what}",
'challenges.behind': "ตามหลัง {what}",
'challenges.onPace': "ตามจังหวะ",
'challenges.lastDay': "วันสุดท้าย",
'challenges.doneOn': "สำเร็จเมื่อ {date}",
'challenges.done': "สำเร็จ",
'challenges.missed': "ไม่สำเร็จ",
'challenges.weekOf': "สัปดาห์ของ {date}",
'challenges.progress': "{count} จาก {target}",
'challenges.active': "กำลังทำ",
'challenges.finished': "จบแล้ว",
'challenges.archived': "เก็บถาวร",
'challenges.archive': "เก็บถาวร",
'challenges.unarchive': "เลิกเก็บถาวร",
'challenges.renew': "เริ่มใหม่",
'challenges.deleteTitle': "ลบชาเลนจ์นี้?",
'challenges.deleteText': "คลังของคุณจะไม่เปลี่ยนแปลง",
'challenges.counted': "นับในชาเลนจ์นี้",
'challenges.countedEmpty': "ยังไม่มีในช่วงนี้",
'challenges.rewatch': "ดูซ้ำ",
'challenges.estimated': "บางตอนไม่มีวันที่แน่นอน: จะกระจายระหว่างวันเริ่มและวันจบการดู (ประมาณการ)",
'challenges.celebrate': "ชาเลนจ์สำเร็จ!",
'challenges.celebrateText': "{name} — เยี่ยมมาก!",
'challenges.limit': "สูงสุด {n} ชาเลนจ์: เก็บถาวรหรือลบสักอัน",
'challenges.back': "กลับ",
'challenges.qty.title_one': "{count} เรื่อง",
'challenges.qty.title_other': "{count} เรื่อง",
'challenges.qty.film_one': "ภาพยนตร์ {count} เรื่อง",
'challenges.qty.film_other': "ภาพยนตร์ {count} เรื่อง",
'challenges.qty.serie_one': "ซีรีส์ {count} เรื่อง",
'challenges.qty.serie_other': "ซีรีส์ {count} เรื่อง",
'challenges.qty.anime_one': "อนิเมะ {count} เรื่อง",
'challenges.qty.anime_other': "อนิเมะ {count} เรื่อง",
'challenges.qty.kdrama_one': "ซีรีส์เกาหลี {count} เรื่อง",
'challenges.qty.kdrama_other': "ซีรีส์เกาหลี {count} เรื่อง",
'challenges.qty.cdrama_one': "ซีรีส์จีน {count} เรื่อง",
'challenges.qty.cdrama_other': "ซีรีส์จีน {count} เรื่อง",
'challenges.qty.autre_one': "เรื่องอื่น {count} เรื่อง",
'challenges.qty.autre_other': "เรื่องอื่น {count} เรื่อง",
'challenges.qty.episode_one': "{count} ตอน",
'challenges.qty.episode_other': "{count} ตอน",
'challenges.daysLeft_one': "เหลืออีก {count} วัน",
'challenges.daysLeft_other': "เหลืออีก {count} วัน",
'challenges.startsIn_one': "เริ่มในอีก {count} วัน",
'challenges.startsIn_other': "เริ่มในอีก {count} วัน",
'challenges.more_one': "+ อีก {count} ชาเลนจ์",
'challenges.more_other': "+ อีก {count} ชาเลนจ์",
}
export default dict