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} perubahan menunggu",
'sync.pending_other': "{count} perubahan menunggu",
'sync.now': "Sinkronkan",
// — Défis —
'challenges.title': "Tantangan",
'challenges.manage': "Kelola",
'challenges.emptyTitle': "Tetapkan target",
'challenges.emptyText': "52 film tahun ini, satu anime per minggu… Progres dihitung otomatis.",
'challenges.create': "Buat tantangan",
'challenges.new': "Tantangan baru",
'challenges.edit': "Edit tantangan",
'challenges.templates': "Ide tantangan",
'challenges.target': "Target",
'challenges.media': "Jenis",
'challenges.unit': "Hitung",
'challenges.unit.titles': "Judul selesai",
'challenges.unit.episodes': "Episode ditonton",
'challenges.period': "Periode",
'challenges.period.week': "Minggu ini",
'challenges.period.month': "Bulan ini",
'challenges.period.year': "Tahun ini",
'challenges.period.custom': "Tanggal bebas",
'challenges.from': "Dari",
'challenges.to': "Sampai",
'challenges.name': "Nama (opsional)",
'challenges.preview': "Sudah {what} di periode ini",
'challenges.ahead': "Unggul {what}",
'challenges.behind': "Tertinggal {what}",
'challenges.onPace': "Sesuai ritme",
'challenges.lastDay': "Hari terakhir",
'challenges.doneOn': "Selesai pada {date}",
'challenges.done': "Berhasil",
'challenges.missed': "Tidak tercapai",
'challenges.weekOf': "Minggu {date}",
'challenges.progress': "{count} dari {target}",
'challenges.active': "Berjalan",
'challenges.finished': "Selesai",
'challenges.archived': "Diarsipkan",
'challenges.archive': "Arsipkan",
'challenges.unarchive': "Batalkan arsip",
'challenges.renew': "Mulai lagi",
'challenges.deleteTitle': "Hapus tantangan ini?",
'challenges.deleteText': "Pustakamu tidak berubah.",
'challenges.counted': "Dihitung dalam tantangan ini",
'challenges.countedEmpty': "Belum ada di periode ini.",
'challenges.rewatch': "Ditonton ulang",
'challenges.estimated': "Beberapa episode tidak punya tanggal pasti: dibagi rata antara awal dan akhir menonton (perkiraan).",
'challenges.celebrate': "Tantangan berhasil!",
'challenges.celebrateText': "{name} — hebat!",
'challenges.limit': "Maksimal {n} tantangan: arsipkan atau hapus salah satunya.",
'challenges.back': "Kembali",
'challenges.qty.title_one': "{count} judul",
'challenges.qty.title_other': "{count} judul",
'challenges.qty.film_one': "{count} film",
'challenges.qty.film_other': "{count} film",
'challenges.qty.serie_one': "{count} serial",
'challenges.qty.serie_other': "{count} serial",
'challenges.qty.anime_one': "{count} anime",
'challenges.qty.anime_other': "{count} anime",
'challenges.qty.kdrama_one': "{count} K-drama",
'challenges.qty.kdrama_other': "{count} K-drama",
'challenges.qty.cdrama_one': "{count} C-drama",
'challenges.qty.cdrama_other': "{count} C-drama",
'challenges.qty.autre_one': "{count} judul lain",
'challenges.qty.autre_other': "{count} judul lain",
'challenges.qty.episode_one': "{count} episode",
'challenges.qty.episode_other': "{count} episode",
'challenges.daysLeft_one': "{count} hari lagi",
'challenges.daysLeft_other': "{count} hari lagi",
'challenges.startsIn_one': "Mulai dalam {count} hari",
'challenges.startsIn_other': "Mulai dalam {count} hari",
'challenges.more_one': "+ {count} tantangan lain",
'challenges.more_other': "+ {count} tantangan lain",
}
export default dict