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

+93
View File
@@ -989,6 +989,99 @@ const dict: Translations = {
'sync.now': "Синхронизировать",
'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_one': "{count} тайтл",
'challenges.qty.title_few': "{count} тайтла",
'challenges.qty.title_many': "{count} тайтлов",
'challenges.qty.title_other': "{count} тайтла",
'challenges.qty.film_one': "{count} фильм",
'challenges.qty.film_few': "{count} фильма",
'challenges.qty.film_many': "{count} фильмов",
'challenges.qty.film_other': "{count} фильма",
'challenges.qty.serie_one': "{count} сериал",
'challenges.qty.serie_few': "{count} сериала",
'challenges.qty.serie_many': "{count} сериалов",
'challenges.qty.serie_other': "{count} сериала",
'challenges.qty.anime_one': "{count} аниме",
'challenges.qty.anime_few': "{count} аниме",
'challenges.qty.anime_many': "{count} аниме",
'challenges.qty.anime_other': "{count} аниме",
'challenges.qty.kdrama_one': "{count} дорама",
'challenges.qty.kdrama_few': "{count} дорамы",
'challenges.qty.kdrama_many': "{count} дорам",
'challenges.qty.kdrama_other': "{count} дорамы",
'challenges.qty.cdrama_one': "{count} китайская дорама",
'challenges.qty.cdrama_few': "{count} китайские дорамы",
'challenges.qty.cdrama_many': "{count} китайских дорам",
'challenges.qty.cdrama_other': "{count} китайской дорамы",
'challenges.qty.autre_one': "{count} другой тайтл",
'challenges.qty.autre_few': "{count} других тайтла",
'challenges.qty.autre_many': "{count} других тайтлов",
'challenges.qty.autre_other': "{count} другого тайтла",
'challenges.qty.episode_one': "{count} серия",
'challenges.qty.episode_few': "{count} серии",
'challenges.qty.episode_many': "{count} серий",
'challenges.qty.episode_other': "{count} серии",
'challenges.daysLeft_one': "Остался {count} день",
'challenges.daysLeft_few': "Осталось {count} дня",
'challenges.daysLeft_many': "Осталось {count} дней",
'challenges.daysLeft_other': "Осталось {count} дня",
'challenges.startsIn_one': "Начнётся через {count} день",
'challenges.startsIn_few': "Начнётся через {count} дня",
'challenges.startsIn_many': "Начнётся через {count} дней",
'challenges.startsIn_other': "Начнётся через {count} дня",
'challenges.more_one': "+ ещё {count} челлендж",
'challenges.more_few': "+ ещё {count} челленджа",
'challenges.more_many': "+ ещё {count} челленджей",
'challenges.more_other': "+ ещё {count} челленджа",
}
export default dict