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

+115
View File
@@ -1035,6 +1035,121 @@ const dict: Translations = {
'sync.pending_two': "تعديلان في الانتظار",
'sync.pending_few': "{count} تعديلات في الانتظار",
'sync.pending_many': "{count} تعديلًا في الانتظار",
// — 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_zero': "لا عناوين",
'challenges.qty.title_one': "عنوان واحد",
'challenges.qty.title_two': "عنوانان",
'challenges.qty.title_few': "{count} عناوين",
'challenges.qty.title_many': "{count} عنوانًا",
'challenges.qty.title_other': "{count} عنوان",
'challenges.qty.film_zero': "لا أفلام",
'challenges.qty.film_one': "فيلم واحد",
'challenges.qty.film_two': "فيلمان",
'challenges.qty.film_few': "{count} أفلام",
'challenges.qty.film_many': "{count} فيلمًا",
'challenges.qty.film_other': "{count} فيلم",
'challenges.qty.serie_zero': "لا مسلسلات",
'challenges.qty.serie_one': "مسلسل واحد",
'challenges.qty.serie_two': "مسلسلان",
'challenges.qty.serie_few': "{count} مسلسلات",
'challenges.qty.serie_many': "{count} مسلسلًا",
'challenges.qty.serie_other': "{count} مسلسل",
'challenges.qty.anime_zero': "لا أنمي",
'challenges.qty.anime_one': "أنمي واحد",
'challenges.qty.anime_two': "أنمي اثنان",
'challenges.qty.anime_few': "{count} أنمي",
'challenges.qty.anime_many': "{count} أنمي",
'challenges.qty.anime_other': "{count} أنمي",
'challenges.qty.kdrama_zero': "لا دراما كورية",
'challenges.qty.kdrama_one': "دراما كورية واحدة",
'challenges.qty.kdrama_two': "دراماتان كوريتان",
'challenges.qty.kdrama_few': "{count} دراما كورية",
'challenges.qty.kdrama_many': "{count} دراما كورية",
'challenges.qty.kdrama_other': "{count} دراما كورية",
'challenges.qty.cdrama_zero': "لا دراما صينية",
'challenges.qty.cdrama_one': "دراما صينية واحدة",
'challenges.qty.cdrama_two': "دراماتان صينيتان",
'challenges.qty.cdrama_few': "{count} دراما صينية",
'challenges.qty.cdrama_many': "{count} دراما صينية",
'challenges.qty.cdrama_other': "{count} دراما صينية",
'challenges.qty.autre_zero': "لا عناوين أخرى",
'challenges.qty.autre_one': "عنوان آخر واحد",
'challenges.qty.autre_two': "عنوانان آخران",
'challenges.qty.autre_few': "{count} عناوين أخرى",
'challenges.qty.autre_many': "{count} عنوانًا آخر",
'challenges.qty.autre_other': "{count} عنوان آخر",
'challenges.qty.episode_zero': "لا حلقات",
'challenges.qty.episode_one': "حلقة واحدة",
'challenges.qty.episode_two': "حلقتان",
'challenges.qty.episode_few': "{count} حلقات",
'challenges.qty.episode_many': "{count} حلقة",
'challenges.qty.episode_other': "{count} حلقة",
'challenges.daysLeft_zero': "لم يتبقَّ أي يوم",
'challenges.daysLeft_one': "يتبقّى يوم واحد",
'challenges.daysLeft_two': "يتبقّى يومان",
'challenges.daysLeft_few': "يتبقّى {count} أيام",
'challenges.daysLeft_many': "يتبقّى {count} يومًا",
'challenges.daysLeft_other': "يتبقّى {count} يوم",
'challenges.startsIn_zero': "يبدأ اليوم",
'challenges.startsIn_one': "يبدأ بعد يوم واحد",
'challenges.startsIn_two': "يبدأ بعد يومين",
'challenges.startsIn_few': "يبدأ بعد {count} أيام",
'challenges.startsIn_many': "يبدأ بعد {count} يومًا",
'challenges.startsIn_other': "يبدأ بعد {count} يوم",
'challenges.more_zero': "+ {count}",
'challenges.more_one': "+ تحدٍّ آخر",
'challenges.more_two': "+ تحدّيان آخران",
'challenges.more_few': "+ {count} تحديات أخرى",
'challenges.more_many': "+ {count} تحديًا آخر",
'challenges.more_other': "+ {count} تحدٍّ آخر",
}
export default dict