+ {/* Ambiance : halos, pellicule, année en contour (et confettis sur la dernière page) */}
+
void endPress()}
+ onPointerLeave={() => void endPress()}
aria-live="polite"
>
-
- {current.title}
-
-
diff --git a/src/i18n/locales/ar.ts b/src/i18n/locales/ar.ts
index 9bb7839..f52b64c 100644
--- a/src/i18n/locales/ar.ts
+++ b/src/i18n/locales/ar.ts
@@ -1122,7 +1122,7 @@ const dict: Translations = {
'stats.decades': "عقود الإصدار",
'stats.settings': "إعدادات الإحصاءات",
'stats.monthHidden': "مخفي",
- 'stats.hideMonthsHint': "ألغِ تحديد شهر لإزالته من الرسم (مثل الشهر الذي أضفت فيه كل شيء دفعة واحدة). تبقى أعماله محسوبة في كل مكان آخر.",
+ 'stats.hideMonthsHint': "ألغِ تحديد شهر لإزالته من الرسم (مثل الشهر الذي أضفت فيه كل شيء دفعة واحدة). تبقى أعماله محسوبة في باقي الإحصاءات، لكن ليس في ملخص سنتك.",
'stats.showAllMonths': "إظهار الكل من جديد",
// — Mode découverte (sans compte) —
'guest.explore': "استكشف بدون حساب",
@@ -1235,6 +1235,13 @@ const dict: Translations = {
"social.publicJoin": "انضم إلى Bobinoo",
"social.publicCtaTitle": "تريد رؤية مكتبته كاملة؟",
"social.publicCtaText": "أنشئ حسابك لمتابعة {name} ورؤية كل عناوينه وتنظيم قائمتك الخاصة. مجانًا.",
+ "recap.soon": "ملخص سنتك {year} يصل في 1 ديسمبر.",
+ "recap.hiddenNote": "الأشهر المخفية في إحصاءاتك غير محسوبة هنا: {months}.",
+ "recap.pause": "إيقاف مؤقت",
+ "recap.play": "متابعة",
+ "recap.endTitle": "هكذا كانت سنتك {year}",
+ "recap.topGenre": "النوع المفضل",
+ "recap.topRated": "الأعلى تقييمًا",
}
export default dict
diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts
index cc6dbd9..7942bdc 100644
--- a/src/i18n/locales/de.ts
+++ b/src/i18n/locales/de.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Erscheinungsjahrzehnte",
'stats.settings': "Statistik-Einstellungen",
'stats.monthHidden': "ausgeblendet",
- 'stats.hideMonthsHint': "Entferne den Haken bei einem Monat, um ihn aus dem Diagramm zu nehmen (z. B. den Monat, in dem du alles auf einmal hinzugefügt hast). Die Titel zählen überall sonst weiter.",
+ 'stats.hideMonthsHint': "Entferne den Haken bei einem Monat, um ihn aus dem Diagramm zu nehmen (z. B. den Monat, in dem du alles auf einmal hinzugefügt hast). Die Titel zählen im Rest der Statistiken weiter, aber nicht in deinem Jahresrückblick.",
'stats.showAllMonths': "Alle wieder anzeigen",
// — Mode découverte (sans compte) —
'guest.explore': "Ohne Konto erkunden",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Bobinoo beitreten",
"social.publicCtaTitle": "Lust, die ganze Bibliothek zu sehen?",
"social.publicCtaText": "Erstelle dein Konto, um {name} zu folgen, alle Titel zu sehen und deine eigene Liste zu führen. Es ist kostenlos.",
+ "recap.soon": "Dein Jahresrückblick {year} kommt am 1. Dezember.",
+ "recap.hiddenNote": "In deinen Statistiken ausgeblendete Monate zählen hier nicht: {months}.",
+ "recap.pause": "Pausieren",
+ "recap.play": "Fortsetzen",
+ "recap.endTitle": "Das war dein Jahr {year}",
+ "recap.topGenre": "Lieblingsgenre",
+ "recap.topRated": "Am besten bewertet",
}
export default dict
diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts
index 4d0e406..7c84a3c 100644
--- a/src/i18n/locales/en.ts
+++ b/src/i18n/locales/en.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Release decades",
'stats.settings': "Stats settings",
'stats.monthHidden': "hidden",
- 'stats.hideMonthsHint': "Uncheck a month to remove it from the chart (for example the month you added everything at once). Its titles still count everywhere else.",
+ 'stats.hideMonthsHint': "Uncheck a month to remove it from the chart (for example the month you added everything at once). Its titles still count in the rest of your stats, but not in your year in review.",
'stats.showAllMonths': "Show all again",
// — Mode découverte (sans compte) —
'guest.explore': "Explore without an account",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Join Bobinoo",
"social.publicCtaTitle": "Want to see their whole library?",
"social.publicCtaText": "Create your account to follow {name}, see all their titles and keep your own list. It’s free.",
+ "recap.soon": "Your {year} in review arrives on December 1.",
+ "recap.hiddenNote": "Months hidden in your stats aren't counted here: {months}.",
+ "recap.pause": "Pause",
+ "recap.play": "Play",
+ "recap.endTitle": "That was your {year}",
+ "recap.topGenre": "Top genre",
+ "recap.topRated": "Top rated",
}
export default dict
diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts
index 3b2ff84..dfb3f0f 100644
--- a/src/i18n/locales/es.ts
+++ b/src/i18n/locales/es.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Décadas de estreno",
'stats.settings': "Ajustes de estadísticas",
'stats.monthHidden': "oculto",
- 'stats.hideMonthsHint': "Desmarca un mes para quitarlo del gráfico (por ejemplo, el mes en que lo añadiste todo de golpe). Sus títulos siguen contando en todo lo demás.",
+ 'stats.hideMonthsHint': "Desmarca un mes para quitarlo del gráfico (por ejemplo, el mes en que lo añadiste todo de golpe). Sus títulos siguen contando en el resto de estadísticas, pero no en tu resumen del año.",
'stats.showAllMonths': "Mostrar todo de nuevo",
// — Mode découverte (sans compte) —
'guest.explore': "Explorar sin cuenta",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Unirme a Bobinoo",
"social.publicCtaTitle": "¿Quieres ver toda su biblioteca?",
"social.publicCtaText": "Crea tu cuenta para seguir a {name}, ver todos sus títulos y llevar tu propia lista. Es gratis.",
+ "recap.soon": "Tu resumen de {year} llega el 1 de diciembre.",
+ "recap.hiddenNote": "Los meses ocultos en tus estadísticas no cuentan aquí: {months}.",
+ "recap.pause": "Pausar",
+ "recap.play": "Reanudar",
+ "recap.endTitle": "Así fue tu {year}",
+ "recap.topGenre": "Género favorito",
+ "recap.topRated": "Mejor valorado",
}
export default dict
diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts
index f8dcf87..97f3055 100644
--- a/src/i18n/locales/fr.ts
+++ b/src/i18n/locales/fr.ts
@@ -978,7 +978,7 @@ const dict = {
'stats.decades': "Décennies de sortie",
'stats.settings': "Paramètres des stats",
'stats.monthHidden': "masqué",
- 'stats.hideMonthsHint': "Décoche un mois pour le retirer de la courbe (par exemple le mois où tu as tout ajouté d'un coup). Les titres restent comptés partout ailleurs.",
+ 'stats.hideMonthsHint': "Décoche un mois pour le retirer de la courbe (par exemple le mois où tu as tout ajouté d'un coup). Ses titres restent comptés ailleurs dans les stats, mais pas dans ton bilan de l'année.",
'stats.showAllMonths': "Tout réafficher",
// — Mode découverte (sans compte) —
'guest.explore': "Explorer sans compte",
@@ -1082,6 +1082,13 @@ const dict = {
"social.publicJoin": "Rejoindre Bobinoo",
"social.publicCtaTitle": "Envie de voir toute sa bibliothèque ?",
"social.publicCtaText": "Crée ton compte pour suivre {name}, voir tous ses titres et tenir ta propre liste. C’est gratuit.",
+ "recap.soon": "Ton bilan {year} arrive le 1er décembre.",
+ "recap.hiddenNote": "Mois masqués dans tes stats, pas comptés ici\u00a0: {months}.",
+ "recap.pause": "Mettre en pause",
+ "recap.play": "Reprendre",
+ "recap.endTitle": "Voilà ton année {year}",
+ "recap.topGenre": "Genre n°1",
+ "recap.topRated": "Le mieux noté",
}
export default dict
diff --git a/src/i18n/locales/hi.ts b/src/i18n/locales/hi.ts
index bd76add..1225f4f 100644
--- a/src/i18n/locales/hi.ts
+++ b/src/i18n/locales/hi.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "रिलीज़ के दशक",
'stats.settings': "आँकड़ों की सेटिंग",
'stats.monthHidden': "छिपा",
- 'stats.hideMonthsHint': "किसी महीने को ग्राफ़ से हटाने के लिए उसका चिह्न हटाएँ (जैसे वह महीना जब आपने सब कुछ एक साथ जोड़ा)। उसके टाइटल बाकी जगह गिने जाते रहेंगे।",
+ 'stats.hideMonthsHint': "किसी महीने को ग्राफ़ से हटाने के लिए उसका चिह्न हटाएँ (जैसे वह महीना जब आपने सब कुछ एक साथ जोड़ा)। उसके टाइटल बाकी आँकड़ों में गिने जाते रहेंगे, पर साल के सारांश में नहीं।",
'stats.showAllMonths': "सब फिर से दिखाएँ",
// — Mode découverte (sans compte) —
'guest.explore': "बिना खाते के देखें",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Bobinoo से जुड़ें",
"social.publicCtaTitle": "पूरी लाइब्रेरी देखनी है?",
"social.publicCtaText": "{name} को फ़ॉलो करने, सारे टाइटल देखने और अपनी लिस्ट बनाने के लिए अपना अकाउंट बनाएँ। यह मुफ़्त है।",
+ "recap.soon": "आपका {year} का सारांश 1 दिसंबर को आएगा।",
+ "recap.hiddenNote": "आँकड़ों में छिपाए गए महीने यहाँ नहीं गिने जाते: {months}।",
+ "recap.pause": "रोकें",
+ "recap.play": "जारी रखें",
+ "recap.endTitle": "ऐसा रहा आपका {year}",
+ "recap.topGenre": "पसंदीदा जॉनर",
+ "recap.topRated": "सबसे ऊँची रेटिंग",
}
export default dict
diff --git a/src/i18n/locales/id.ts b/src/i18n/locales/id.ts
index ded8fac..5c483c6 100644
--- a/src/i18n/locales/id.ts
+++ b/src/i18n/locales/id.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Dekade rilis",
'stats.settings': "Pengaturan statistik",
'stats.monthHidden': "disembunyikan",
- 'stats.hideMonthsHint': "Hapus centang bulan untuk mengeluarkannya dari grafik (misalnya bulan saat kamu menambahkan semuanya sekaligus). Judulnya tetap dihitung di tempat lain.",
+ 'stats.hideMonthsHint': "Hapus centang bulan untuk mengeluarkannya dari grafik (misalnya bulan saat kamu menambahkan semuanya sekaligus). Judulnya tetap dihitung di statistik lain, tapi tidak di rangkuman tahunanmu.",
'stats.showAllMonths': "Tampilkan semua lagi",
// — Mode découverte (sans compte) —
'guest.explore': "Jelajahi tanpa akun",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Gabung ke Bobinoo",
"social.publicCtaTitle": "Mau lihat seluruh koleksinya?",
"social.publicCtaText": "Buat akunmu untuk mengikuti {name}, melihat semua judulnya, dan menyusun daftarmu sendiri. Gratis.",
+ "recap.soon": "Rangkuman {year}-mu hadir pada 1 Desember.",
+ "recap.hiddenNote": "Bulan yang kamu sembunyikan di statistik tidak dihitung di sini: {months}.",
+ "recap.pause": "Jeda",
+ "recap.play": "Lanjutkan",
+ "recap.endTitle": "Inilah tahun {year}-mu",
+ "recap.topGenre": "Genre favorit",
+ "recap.topRated": "Nilai tertinggi",
}
export default dict
diff --git a/src/i18n/locales/it.ts b/src/i18n/locales/it.ts
index 41ba64b..d471f9e 100644
--- a/src/i18n/locales/it.ts
+++ b/src/i18n/locales/it.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Decenni di uscita",
'stats.settings': "Impostazioni statistiche",
'stats.monthHidden': "nascosto",
- 'stats.hideMonthsHint': "Deseleziona un mese per toglierlo dal grafico (ad esempio il mese in cui hai aggiunto tutto in una volta). I suoi titoli contano comunque altrove.",
+ 'stats.hideMonthsHint': "Deseleziona un mese per toglierlo dal grafico (ad esempio il mese in cui hai aggiunto tutto in una volta). I suoi titoli contano nel resto delle statistiche, ma non nel riepilogo dell'anno.",
'stats.showAllMonths': "Mostra di nuovo tutto",
// — Mode découverte (sans compte) —
'guest.explore': "Esplora senza account",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Unisciti a Bobinoo",
"social.publicCtaTitle": "Vuoi vedere tutta la sua libreria?",
"social.publicCtaText": "Crea il tuo account per seguire {name}, vedere tutti i suoi titoli e tenere la tua lista. È gratis.",
+ "recap.soon": "Il tuo riepilogo {year} arriva il 1° dicembre.",
+ "recap.hiddenNote": "I mesi nascosti nelle statistiche non contano qui: {months}.",
+ "recap.pause": "Metti in pausa",
+ "recap.play": "Riprendi",
+ "recap.endTitle": "Questo è stato il tuo {year}",
+ "recap.topGenre": "Genere preferito",
+ "recap.topRated": "Il più votato",
}
export default dict
diff --git a/src/i18n/locales/ja.ts b/src/i18n/locales/ja.ts
index c76b55e..35b2b84 100644
--- a/src/i18n/locales/ja.ts
+++ b/src/i18n/locales/ja.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "公開年代",
'stats.settings': "統計の設定",
'stats.monthHidden': "非表示",
- 'stats.hideMonthsHint': "グラフから外したい月のチェックを外してください(例:まとめて追加した月)。その作品はほかの統計では引き続き数えられます。",
+ 'stats.hideMonthsHint': "グラフから外したい月のチェックを外してください(例:まとめて追加した月)。その作品はほかの統計では引き続き数えられますが、年間のまとめには含まれません。",
'stats.showAllMonths': "すべて再表示",
// — Mode découverte (sans compte) —
'guest.explore': "アカウントなしで見る",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Bobinoo に参加",
"social.publicCtaTitle": "ライブラリ全体を見てみる?",
"social.publicCtaText": "アカウントを作ると、{name} さんをフォローして全作品を見たり、自分のリストを作ったりできます。無料です。",
+ "recap.soon": "{year}年のまとめは12月1日に公開されます。",
+ "recap.hiddenNote": "統計で非表示にした月はここでは数えません:{months}。",
+ "recap.pause": "一時停止",
+ "recap.play": "再生",
+ "recap.endTitle": "これがあなたの{year}年",
+ "recap.topGenre": "いちばん見たジャンル",
+ "recap.topRated": "いちばん高評価",
}
export default dict
diff --git a/src/i18n/locales/ko.ts b/src/i18n/locales/ko.ts
index e3c4bf0..86c23ef 100644
--- a/src/i18n/locales/ko.ts
+++ b/src/i18n/locales/ko.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "개봉 연대",
'stats.settings': "통계 설정",
'stats.monthHidden': "숨김",
- 'stats.hideMonthsHint': "그래프에서 빼고 싶은 달의 체크를 해제하세요(예: 한꺼번에 추가한 달). 해당 작품은 다른 통계에서는 계속 집계돼요.",
+ 'stats.hideMonthsHint': "그래프에서 빼고 싶은 달의 체크를 해제하세요(예: 한꺼번에 추가한 달). 해당 작품은 다른 통계에서는 계속 집계되지만 연간 결산에는 포함되지 않아요.",
'stats.showAllMonths': "모두 다시 표시",
// — Mode découverte (sans compte) —
'guest.explore': "계정 없이 둘러보기",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Bobinoo 가입하기",
"social.publicCtaTitle": "라이브러리 전체를 보고 싶나요?",
"social.publicCtaText": "계정을 만들면 {name} 님을 팔로우하고, 모든 작품을 보고, 나만의 리스트를 만들 수 있어요. 무료예요.",
+ "recap.soon": "{year}년 결산은 12월 1일에 공개돼요.",
+ "recap.hiddenNote": "통계에서 숨긴 달은 여기서 세지 않아요: {months}.",
+ "recap.pause": "일시정지",
+ "recap.play": "다시 재생",
+ "recap.endTitle": "이게 바로 당신의 {year}년",
+ "recap.topGenre": "가장 많이 본 장르",
+ "recap.topRated": "최고 평점",
}
export default dict
diff --git a/src/i18n/locales/nl.ts b/src/i18n/locales/nl.ts
index 3377b95..b9a4110 100644
--- a/src/i18n/locales/nl.ts
+++ b/src/i18n/locales/nl.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Decennia van uitgave",
'stats.settings': "Statistiekinstellingen",
'stats.monthHidden': "verborgen",
- 'stats.hideMonthsHint': "Vink een maand uit om hem uit de grafiek te halen (bijvoorbeeld de maand waarin je alles in één keer toevoegde). De titels tellen elders gewoon mee.",
+ 'stats.hideMonthsHint': "Vink een maand uit om hem uit de grafiek te halen (bijvoorbeeld de maand waarin je alles in één keer toevoegde). De titels tellen gewoon mee in de rest van je statistieken, maar niet in je jaaroverzicht.",
'stats.showAllMonths': "Alles weer tonen",
// — Mode découverte (sans compte) —
'guest.explore': "Verkennen zonder account",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Word lid van Bobinoo",
"social.publicCtaTitle": "Zin om de hele bibliotheek te zien?",
"social.publicCtaText": "Maak een account om {name} te volgen, alle titels te zien en je eigen lijst bij te houden. Het is gratis.",
+ "recap.soon": "Je jaaroverzicht {year} komt op 1 december.",
+ "recap.hiddenNote": "Maanden die je in je statistieken verbergt, tellen hier niet mee: {months}.",
+ "recap.pause": "Pauzeren",
+ "recap.play": "Verder afspelen",
+ "recap.endTitle": "Dit was jouw {year}",
+ "recap.topGenre": "Favoriete genre",
+ "recap.topRated": "Hoogst beoordeeld",
}
export default dict
diff --git a/src/i18n/locales/pl.ts b/src/i18n/locales/pl.ts
index 2d50bfd..9f9db9c 100644
--- a/src/i18n/locales/pl.ts
+++ b/src/i18n/locales/pl.ts
@@ -1072,7 +1072,7 @@ const dict: Translations = {
'stats.decades': "Dekady premiery",
'stats.settings': "Ustawienia statystyk",
'stats.monthHidden': "ukryty",
- 'stats.hideMonthsHint': "Odznacz miesiąc, aby usunąć go z wykresu (np. miesiąc, w którym dodałeś wszystko naraz). Tytuły nadal liczą się w pozostałych statystykach.",
+ 'stats.hideMonthsHint': "Odznacz miesiąc, aby usunąć go z wykresu (np. miesiąc, w którym dodałeś wszystko naraz). Tytuły nadal liczą się w pozostałych statystykach, ale nie w podsumowaniu roku.",
'stats.showAllMonths': "Pokaż wszystko",
// — Mode découverte (sans compte) —
'guest.explore': "Przeglądaj bez konta",
@@ -1182,6 +1182,13 @@ const dict: Translations = {
"social.publicJoin": "Dołącz do Bobinoo",
"social.publicCtaTitle": "Chcesz zobaczyć całą bibliotekę?",
"social.publicCtaText": "Załóż konto, aby obserwować {name}, widzieć wszystkie tytuły i prowadzić własną listę. To nic nie kosztuje.",
+ "recap.soon": "Twoje podsumowanie {year} pojawi się 1 grudnia.",
+ "recap.hiddenNote": "Miesiące ukryte w statystykach nie są tu liczone: {months}.",
+ "recap.pause": "Wstrzymaj",
+ "recap.play": "Wznów",
+ "recap.endTitle": "Tak wyglądał twój {year}",
+ "recap.topGenre": "Ulubiony gatunek",
+ "recap.topRated": "Najwyżej oceniony",
}
export default dict
diff --git a/src/i18n/locales/pt.ts b/src/i18n/locales/pt.ts
index 707df37..a58179f 100644
--- a/src/i18n/locales/pt.ts
+++ b/src/i18n/locales/pt.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Décadas de estreia",
'stats.settings': "Definições das estatísticas",
'stats.monthHidden': "oculto",
- 'stats.hideMonthsHint': "Desmarca um mês para o retirar do gráfico (por exemplo, o mês em que adicionaste tudo de uma vez). Os títulos continuam a contar em todo o resto.",
+ 'stats.hideMonthsHint': "Desmarque um mês para tirá-lo do gráfico (por exemplo, o mês em que você adicionou tudo de uma vez). Os títulos continuam contando no resto das estatísticas, mas não na sua retrospectiva do ano.",
'stats.showAllMonths': "Mostrar tudo outra vez",
// — Mode découverte (sans compte) —
'guest.explore': "Explorar sem conta",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Entrar no Bobinoo",
"social.publicCtaTitle": "Quer ver toda a biblioteca?",
"social.publicCtaText": "Crie sua conta para seguir {name}, ver todos os títulos e montar sua própria lista. É grátis.",
+ "recap.soon": "Sua retrospectiva {year} chega em 1º de dezembro.",
+ "recap.hiddenNote": "Os meses ocultos nas suas estatísticas não contam aqui: {months}.",
+ "recap.pause": "Pausar",
+ "recap.play": "Continuar",
+ "recap.endTitle": "Esse foi o seu {year}",
+ "recap.topGenre": "Gênero favorito",
+ "recap.topRated": "Mais bem avaliado",
}
export default dict
diff --git a/src/i18n/locales/ru.ts b/src/i18n/locales/ru.ts
index 7373810..c00372d 100644
--- a/src/i18n/locales/ru.ts
+++ b/src/i18n/locales/ru.ts
@@ -1072,7 +1072,7 @@ const dict: Translations = {
'stats.decades': "Десятилетия выхода",
'stats.settings': "Настройки статистики",
'stats.monthHidden': "скрыт",
- 'stats.hideMonthsHint': "Сними отметку с месяца, чтобы убрать его с графика (например, месяц, когда ты добавил всё сразу). Тайтлы по-прежнему учитываются во всём остальном.",
+ 'stats.hideMonthsHint': "Сними отметку с месяца, чтобы убрать его с графика (например, месяц, когда ты добавил всё сразу). Тайтлы по-прежнему учитываются в остальной статистике, но не в итогах года.",
'stats.showAllMonths': "Показать всё снова",
// — Mode découverte (sans compte) —
'guest.explore': "Посмотреть без аккаунта",
@@ -1182,6 +1182,13 @@ const dict: Translations = {
"social.publicJoin": "Присоединиться к Bobinoo",
"social.publicCtaTitle": "Хочешь увидеть всю библиотеку?",
"social.publicCtaText": "Создай аккаунт, чтобы подписаться на {name}, видеть все тайтлы и вести свой список. Это бесплатно.",
+ "recap.soon": "Твои итоги {year} появятся 1 декабря.",
+ "recap.hiddenNote": "Месяцы, скрытые в статистике, здесь не учитываются: {months}.",
+ "recap.pause": "Пауза",
+ "recap.play": "Продолжить",
+ "recap.endTitle": "Таким был твой {year} год",
+ "recap.topGenre": "Любимый жанр",
+ "recap.topRated": "Лучшая оценка",
}
export default dict
diff --git a/src/i18n/locales/th.ts b/src/i18n/locales/th.ts
index cfc3320..89a5760 100644
--- a/src/i18n/locales/th.ts
+++ b/src/i18n/locales/th.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "ทศวรรษที่ออกฉาย",
'stats.settings': "ตั้งค่าสถิติ",
'stats.monthHidden': "ซ่อน",
- 'stats.hideMonthsHint': "ยกเลิกเครื่องหมายเดือนเพื่อเอาออกจากกราฟ (เช่น เดือนที่คุณเพิ่มทุกอย่างพร้อมกัน) เรื่องในเดือนนั้นยังนับในส่วนอื่นตามปกติ",
+ 'stats.hideMonthsHint': "ยกเลิกเครื่องหมายเดือนเพื่อเอาออกจากกราฟ (เช่น เดือนที่คุณเพิ่มทุกอย่างพร้อมกัน) เรื่องในเดือนนั้นยังนับในสถิติส่วนอื่น แต่ไม่นับในสรุปประจำปี",
'stats.showAllMonths': "แสดงทั้งหมดอีกครั้ง",
// — Mode découverte (sans compte) —
'guest.explore': "สำรวจโดยไม่ต้องมีบัญชี",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "เข้าร่วม Bobinoo",
"social.publicCtaTitle": "อยากดูคลังทั้งหมดไหม?",
"social.publicCtaText": "สร้างบัญชีเพื่อติดตาม {name} ดูทุกเรื่อง และจดรายการของคุณเอง ใช้ฟรี",
+ "recap.soon": "สรุปปี {year} ของคุณจะมาในวันที่ 1 ธันวาคม",
+ "recap.hiddenNote": "เดือนที่ซ่อนไว้ในสถิติจะไม่ถูกนับที่นี่: {months}",
+ "recap.pause": "หยุดชั่วคราว",
+ "recap.play": "เล่นต่อ",
+ "recap.endTitle": "นี่คือปี {year} ของคุณ",
+ "recap.topGenre": "แนวที่ชอบที่สุด",
+ "recap.topRated": "คะแนนสูงสุด",
}
export default dict
diff --git a/src/i18n/locales/tr.ts b/src/i18n/locales/tr.ts
index 6ab21bd..cc60fe7 100644
--- a/src/i18n/locales/tr.ts
+++ b/src/i18n/locales/tr.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Yayın on yılları",
'stats.settings': "İstatistik ayarları",
'stats.monthHidden': "gizli",
- 'stats.hideMonthsHint': "Bir ayı grafikten çıkarmak için işaretini kaldır (örneğin her şeyi bir kerede eklediğin ay). Yapımlar diğer her yerde sayılmaya devam eder.",
+ 'stats.hideMonthsHint': "Bir ayı grafikten çıkarmak için işaretini kaldır (örneğin her şeyi bir kerede eklediğin ay). Yapımlar diğer istatistiklerde sayılmaya devam eder, ama yıllık özetinde sayılmaz.",
'stats.showAllMonths': "Hepsini yeniden göster",
// — Mode découverte (sans compte) —
'guest.explore': "Hesapsız keşfet",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Bobinoo’ya katıl",
"social.publicCtaTitle": "Kütüphanenin tamamını görmek ister misin?",
"social.publicCtaText": "{name} kişisini takip etmek, tüm yapımlarını görmek ve kendi listeni tutmak için hesabını oluştur. Ücretsiz.",
+ "recap.soon": "{year} özetin 1 Aralık'ta geliyor.",
+ "recap.hiddenNote": "İstatistiklerinde gizlediğin aylar burada sayılmaz: {months}.",
+ "recap.pause": "Duraklat",
+ "recap.play": "Devam et",
+ "recap.endTitle": "İşte {year} yılın",
+ "recap.topGenre": "En sevdiğin tür",
+ "recap.topRated": "En yüksek puanlı",
}
export default dict
diff --git a/src/i18n/locales/vi.ts b/src/i18n/locales/vi.ts
index e7a2787..c78c7d7 100644
--- a/src/i18n/locales/vi.ts
+++ b/src/i18n/locales/vi.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "Thập niên phát hành",
'stats.settings': "Cài đặt thống kê",
'stats.monthHidden': "đã ẩn",
- 'stats.hideMonthsHint': "Bỏ chọn một tháng để loại nó khỏi biểu đồ (ví dụ tháng bạn thêm mọi thứ cùng lúc). Các phim vẫn được tính ở mọi nơi khác.",
+ 'stats.hideMonthsHint': "Bỏ chọn một tháng để loại nó khỏi biểu đồ (ví dụ tháng bạn thêm mọi thứ cùng lúc). Các phim vẫn được tính trong phần thống kê khác, nhưng không tính trong tổng kết năm.",
'stats.showAllMonths': "Hiện lại tất cả",
// — Mode découverte (sans compte) —
'guest.explore': "Khám phá không cần tài khoản",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "Tham gia Bobinoo",
"social.publicCtaTitle": "Muốn xem toàn bộ thư viện?",
"social.publicCtaText": "Tạo tài khoản để theo dõi {name}, xem mọi phim và tự lập danh sách của riêng bạn. Miễn phí.",
+ "recap.soon": "Tổng kết năm {year} của bạn sẽ có vào ngày 1 tháng 12.",
+ "recap.hiddenNote": "Các tháng bạn ẩn trong thống kê không được tính ở đây: {months}.",
+ "recap.pause": "Tạm dừng",
+ "recap.play": "Tiếp tục",
+ "recap.endTitle": "Đó là năm {year} của bạn",
+ "recap.topGenre": "Thể loại yêu thích",
+ "recap.topRated": "Điểm cao nhất",
}
export default dict
diff --git a/src/i18n/locales/zh.ts b/src/i18n/locales/zh.ts
index 4bbf264..b4450ac 100644
--- a/src/i18n/locales/zh.ts
+++ b/src/i18n/locales/zh.ts
@@ -976,7 +976,7 @@ const dict: Translations = {
'stats.decades': "上映年代",
'stats.settings': "统计设置",
'stats.monthHidden': "已隐藏",
- 'stats.hideMonthsHint': "取消勾选某个月即可将其从图表中移除(例如一次性添加所有内容的那个月)。这些作品在其他统计中仍会计入。",
+ 'stats.hideMonthsHint': "取消勾选某个月即可将其从图表中移除(例如一次性添加所有内容的那个月)。这些作品在其他统计中仍会计入,但不计入年度回顾。",
'stats.showAllMonths': "全部重新显示",
// — Mode découverte (sans compte) —
'guest.explore': "无需账户先逛逛",
@@ -1080,6 +1080,13 @@ const dict: Translations = {
"social.publicJoin": "加入 Bobinoo",
"social.publicCtaTitle": "想看完整片库?",
"social.publicCtaText": "创建账号即可关注 {name}、查看全部作品并管理你自己的片单。免费使用。",
+ "recap.soon": "你的 {year} 年度回顾将于 12 月 1 日上线。",
+ "recap.hiddenNote": "在统计中隐藏的月份不计入这里:{months}。",
+ "recap.pause": "暂停",
+ "recap.play": "继续播放",
+ "recap.endTitle": "这就是你的 {year} 年",
+ "recap.topGenre": "最爱类型",
+ "recap.topRated": "评分最高",
}
export default dict
diff --git a/src/lib/recap.ts b/src/lib/recap.ts
index 4fac917..07c573b 100644
--- a/src/lib/recap.ts
+++ b/src/lib/recap.ts
@@ -23,13 +23,30 @@ export interface YearRecap {
favorites: number
/** Mois avec le plus de titres terminés (seulement s'il sort du lot) */
busiest?: MonthBucket
+ /** Les 12 mois de l'année (titres terminés par mois), mois masqués à zéro */
+ months: MonthBucket[]
/** Premier titre terminé de l'année */
first?: MediaItem
+ /** Mois de l'année masqués dans les réglages des stats (AAAA-MM) : leurs titres ne sont pas comptés */
+ hiddenMonths: string[]
}
-/** Bilan d'une année à partir de la bibliothèque (rien n'est envoyé : tout est calculé sur l'appareil). */
-export function yearRecap(items: MediaItem[], year: string): YearRecap {
+/** Mois masqués dans les stats qui tombent dans l'année demandée. */
+const hiddenIn = (year: string, hiddenMonths: readonly string[] = []) => new Set(hiddenMonths.filter((m) => m.startsWith(`${year}-`)))
+
+/** Titres de l'année, sans ceux des mois masqués dans les réglages des stats (ex. le mois où tout a été ajouté d'un coup). */
+function yearItems(items: MediaItem[], year: string, hidden: Set
): MediaItem[] {
const list = itemsForPeriod(items, year)
+ return hidden.size ? list.filter((i) => !hidden.has(watchDate(i)?.slice(0, 7) ?? '')) : list
+}
+
+/**
+ * Bilan d'une année à partir de la bibliothèque (rien n'est envoyé : tout est calculé sur l'appareil).
+ * Les mois masqués dans les réglages des stats ne comptent pas.
+ */
+export function yearRecap(items: MediaItem[], year: string, hiddenMonths?: readonly string[]): YearRecap {
+ const hidden = hiddenIn(year, hiddenMonths)
+ const list = yearItems(items, year, hidden)
const done = list.filter((i) => i.status === 'termine')
const stats = computeStats(list)
@@ -42,8 +59,9 @@ export function yearRecap(items: MediaItem[], year: string): YearRecap {
.sort((a, b) => (b.rating ?? 0) - (a.rating ?? 0) || byDate(b).localeCompare(byDate(a)))
.slice(0, 3)
- const months = monthly(list, year).sort((a, b) => b.count - a.count)
- const busiest = months[0] && months[0].count > (months[1]?.count ?? 0) ? months[0] : undefined
+ const months = monthly(list, year)
+ const ranked = [...months].sort((a, b) => b.count - a.count)
+ const busiest = ranked[0] && ranked[0].count > (ranked[1]?.count ?? 0) ? ranked[0] : undefined
return {
year,
@@ -57,18 +75,29 @@ export function yearRecap(items: MediaItem[], year: string): YearRecap {
best,
favorites: list.filter((i) => i.favorite && i.status !== 'a_voir').length,
busiest,
+ months,
first: [...done].sort((a, b) => byDate(a).localeCompare(byDate(b)))[0],
+ hiddenMonths: [...hidden].sort(),
}
}
-/** Titres terminés dans l'année : de quoi décider d'afficher le bilan, sans tout calculer. */
-export function finishedInYear(items: MediaItem[], year: string): number {
- return itemsForPeriod(items, year).filter((i) => i.status === 'termine').length
+/** Titres terminés dans l'année (mois masqués exclus) : de quoi décider d'afficher le bilan, sans tout calculer. */
+export function finishedInYear(items: MediaItem[], year: string, hiddenMonths?: readonly string[]): number {
+ return yearItems(items, year, hiddenIn(year, hiddenMonths)).filter((i) => i.status === 'termine').length
}
/**
- * Année dont le bilan est mis en avant sur l'accueil : l'année en cours en décembre, l'année passée en janvier.
- * Le reste du temps, aucun (le bilan reste accessible depuis les stats).
+ * Le bilan d'une année arrive le 1er décembre de cette année-là (comme les bilans de fin d'année des applis
+ * de musique) ; ensuite il reste consultable depuis les stats. Avant, l'année n'est pas finie : pas de bilan.
+ */
+export function recapUnlocked(year: string, now = new Date()): boolean {
+ const y = Number(year)
+ return Number.isInteger(y) && (y < now.getFullYear() || (y === now.getFullYear() && now.getMonth() === 11))
+}
+
+/**
+ * Année dont le bilan est mis en avant (accueil, stats sans année choisie) : l'année en cours à partir du
+ * 1er décembre, l'année passée en janvier. Le reste du temps, aucune.
*/
export function recapSeasonYear(now = new Date()): string | undefined {
if (now.getMonth() === 11) return String(now.getFullYear())
diff --git a/src/lib/shareCard.ts b/src/lib/shareCard.ts
index 872ed83..c2e6c1b 100644
--- a/src/lib/shareCard.ts
+++ b/src/lib/shareCard.ts
@@ -167,8 +167,8 @@ function drawRating(ctx: CanvasRenderingContext2D, rating: number, x: number, y:
return 5 * size + 4 * gap
}
-function drawBrand(ctx: CanvasRenderingContext2D, y: number) {
- const c = colors()
+function drawBrand(ctx: CanvasRenderingContext2D, y: number, ink?: string, accent?: string) {
+ const c = { ...colors(), ...(ink ? { ink } : {}), ...(accent ? { accent } : {}) }
ctx.textBaseline = 'alphabetic'
ctx.textAlign = 'left'
ctx.font = `800 34px ${FONT}`
@@ -429,79 +429,145 @@ export async function renderTopCard(title: string, entries: (MediaItem | undefin
* Bilan de l'année : grande année en couleur, quatre chiffres clés, les trois titres les mieux notés
* (affiches) et les genres préférés.
*/
+/** Couleurs de l'image du bilan : celles de la première page du bilan (vert d'eau profond, halos, pellicule). */
+const RECAP_CARD = {
+ bg: '#0c3a36',
+ ink: '#f6f3ea',
+ soft: 'rgba(246, 243, 234, 0.72)',
+ faint: 'rgba(246, 243, 234, 0.13)',
+ pop: '#8ce6db',
+ blobA: 'rgba(28, 138, 128, 0.75)',
+ blobB: 'rgba(231, 181, 77, 0.32)',
+}
+
+/** Halo rond qui se fond dans le fond. */
+function glow(ctx: CanvasRenderingContext2D, x: number, y: number, r: number, color: string) {
+ const g = ctx.createRadialGradient(x, y, 0, x, y, r)
+ g.addColorStop(0, color)
+ g.addColorStop(1, 'rgba(0, 0, 0, 0)')
+ ctx.fillStyle = g
+ ctx.fillRect(x - r, y - r, r * 2, r * 2)
+}
+
+/** Bande de pellicule inclinée (perforations en haut et en bas, séparations d'images). */
+function filmBand(ctx: CanvasRenderingContext2D, cy: number, color: string) {
+ ctx.save()
+ ctx.translate(W / 2, cy)
+ ctx.rotate((-9 * Math.PI) / 180)
+ ctx.fillStyle = color
+ const len = 1700
+ const h = 96
+ ctx.fillRect(-len / 2, -h / 2, len, 2)
+ ctx.fillRect(-len / 2, h / 2 - 2, len, 2)
+ for (let x = -len / 2; x < len / 2; x += 34) {
+ ctx.fillRect(x, -h / 2 + 10, 15, 11)
+ ctx.fillRect(x, h / 2 - 21, 15, 11)
+ }
+ for (let x = -len / 2 + 120; x < len / 2; x += 124) ctx.fillRect(x, -h / 2 + 28, 2, h - 56)
+ ctx.restore()
+}
+
+/** Affiche légèrement tournée autour de son centre, avec une ombre portée. */
+function tiltedPoster(ctx: CanvasRenderingContext2D, img: HTMLImageElement | null, title: string, x: number, y: number, w: number, h: number, deg: number) {
+ ctx.save()
+ ctx.translate(x + w / 2, y + h / 2)
+ ctx.rotate((deg * Math.PI) / 180)
+ ctx.shadowColor = 'rgba(0, 0, 0, 0.45)'
+ ctx.shadowBlur = 40
+ ctx.shadowOffsetY = 18
+ ctx.fillStyle = RECAP_CARD.bg
+ roundRect(ctx, -w / 2, -h / 2, w, h, 14)
+ ctx.fill()
+ ctx.shadowColor = 'transparent'
+ drawPoster(ctx, img, title, -w / 2, -h / 2, w, h, 14)
+ ctx.restore()
+}
+
export async function renderRecapCard(recap: YearRecap): Promise {
const { canvas, ctx } = await newCanvas()
- const c = colors()
+ const c = RECAP_CARD
const imgs = await Promise.all(recap.best.map((i) => loadImage(i.poster)))
const x0 = 90
const width = W - x0 * 2
- // « MON ANNÉE » puis l'année en grand
+ // Décor : fond, deux halos, la pellicule, l'année en contour le long du bord droit
+ ctx.fillStyle = c.bg
+ ctx.fillRect(0, 0, W, H)
+ glow(ctx, W - 80, 120, 760, c.blobA)
+ glow(ctx, 60, H - 40, 820, c.blobB)
+ filmBand(ctx, H * 0.6, c.faint)
+ ctx.save()
+ ctx.translate(W - 34, H - 150)
+ ctx.rotate(-Math.PI / 2)
+ ctx.font = `900 300px ${FONT}`
+ ctx.lineWidth = 3
+ ctx.strokeStyle = c.faint
ctx.textAlign = 'left'
ctx.textBaseline = 'alphabetic'
- ctx.font = `600 30px ${FONT}`
- setTracking(ctx, 3)
- ctx.fillStyle = c.ink3
- ctx.fillText(t('recap.cardTitle').toUpperCase(), x0, 150)
- setTracking(ctx, -6)
- ctx.font = `800 210px ${FONT}`
- ctx.fillStyle = c.accent
- ctx.fillText(recap.year, x0 - 8, 335)
+ ctx.strokeText(recap.year, 0, 0)
+ ctx.restore()
+
+ // « Mon année » puis l'année en grand
+ ctx.textAlign = 'left'
+ ctx.textBaseline = 'alphabetic'
+ ctx.font = `600 40px ${FONT}`
+ ctx.fillStyle = c.soft
+ ctx.fillText(t('recap.cardTitle'), x0, 150)
+ setTracking(ctx, -8)
+ ctx.font = `800 230px ${FONT}`
+ ctx.fillStyle = c.pop
+ ctx.fillText(recap.year, x0 - 10, 355)
setTracking(ctx, 0)
// Quatre chiffres clés, en grille 2 × 2
+ const topGenre = recap.genres[0] ? genreLabel(recap.genres[0].label) : '—'
const cells: [string, string][] = [
[fmtNumber(recap.finished), t('stats.finished')],
[t('common.hours', { h: fmtNumber(Math.round(recap.minutes / 60)) }), t('stats.timeSpent')],
[fmtNumber(recap.episodes), t('stats.episodesSeen')],
- [recap.avgRating ? `${formatRating(Math.round(recap.avgRating * 10) / 10)} ★` : '—', t('stats.avgRating')],
+ [topGenre, t('recap.topGenre')],
]
cells.forEach(([value, label], k) => {
const x = x0 + (k % 2) * (width / 2)
- const y = 470 + Math.floor(k / 2) * 150
+ const y = 485 + Math.floor(k / 2) * 150
ctx.fillStyle = c.ink
- ctx.font = `800 ${fitSize(ctx, value, 800, 76, 40, width / 2 - 30) ?? 40}px ${FONT}`
+ ctx.font = `800 ${fitSize(ctx, value, 800, 76, 36, width / 2 - 30) ?? 36}px ${FONT}`
ctx.fillText(value, x, y)
- ctx.font = `600 24px ${FONT}`
- setTracking(ctx, 1.5)
- ctx.fillStyle = c.ink3
- ctx.fillText(wrap(ctx, label.toUpperCase(), width / 2 - 30, 1)[0] ?? '', x, y + 44)
- setTracking(ctx, 0)
+ ctx.font = `500 28px ${FONT}`
+ ctx.fillStyle = c.soft
+ ctx.fillText(wrap(ctx, label, width / 2 - 30, 1)[0] ?? '', x, y + 44)
})
- // Les mieux notés : trois affiches côte à côte
- const label = (text: string, ly: number) => {
- ctx.font = `600 24px ${FONT}`
- setTracking(ctx, 1.5)
- ctx.fillStyle = c.ink3
- ctx.fillText(text.toUpperCase(), x0, ly)
- setTracking(ctx, 0)
- }
- let y = 730
+ // Les mieux notés, en podium : le 2e à gauche, le n°1 au centre (plus grand, plus haut), le 3e à droite
if (recap.best.length) {
- label(t('recap.bestTitle'), y)
- const gap = 30
- const pw = (width - gap * 2) / 3
- const ph = 320
- recap.best.forEach((item, k) => {
- const px = x0 + k * (pw + gap)
- drawPoster(ctx, imgs[k], item.title, px, y + 26, pw, ph, 18)
- ctx.fillStyle = c.ink2
+ ctx.font = `500 28px ${FONT}`
+ ctx.fillStyle = c.soft
+ ctx.fillText(t('recap.bestTitle'), x0, 760)
+ const slots = [
+ { k: 1, w: 200, h: 300, dy: 50, deg: -4 },
+ { k: 0, w: 244, h: 366, dy: 0, deg: 0 },
+ { k: 2, w: 200, h: 300, dy: 50, deg: 4 },
+ ].filter((sl) => recap.best[sl.k])
+ const gap = 34
+ const total = slots.reduce((n, sl) => n + sl.w, 0) + gap * (slots.length - 1)
+ let x = (W - total) / 2
+ const top = 790
+ for (const sl of slots) {
+ const item = recap.best[sl.k]
+ tiltedPoster(ctx, imgs[sl.k], item.title, x, top + sl.dy, sl.w, sl.h, sl.deg)
+ ctx.textAlign = 'center'
+ ctx.fillStyle = c.ink
ctx.font = `600 24px ${FONT}`
- ctx.fillText(wrap(ctx, item.title, pw, 1)[0] ?? '', px, y + 26 + ph + 36)
- })
- y += 26 + ph + 36 + 60
+ ctx.fillText(wrap(ctx, item.title, sl.w, 1)[0] ?? '', x + sl.w / 2, top + 366 + 48)
+ ctx.fillStyle = c.pop
+ ctx.font = `700 24px ${FONT}`
+ ctx.fillText(`${formatRating(item.rating)} ★`, x + sl.w / 2, top + 366 + 82)
+ ctx.textAlign = 'left'
+ x += sl.w + gap
+ }
}
- // Genres préférés, sur une ligne
- if (recap.genres.length) {
- label(t('stats.favGenres'), y)
- ctx.font = `700 34px ${FONT}`
- ctx.fillStyle = c.ink
- ctx.fillText(wrap(ctx, recap.genres.map((g) => genreLabel(g.label)).join(' · '), width, 1)[0] ?? '', x0, y + 46)
- }
-
- drawBrand(ctx, H - 60)
+ drawBrand(ctx, H - 52, c.ink, c.pop)
return toBlob(canvas)
}
diff --git a/src/pages/StatsPage.tsx b/src/pages/StatsPage.tsx
index e771037..9abd28d 100644
--- a/src/pages/StatsPage.tsx
+++ b/src/pages/StatsPage.tsx
@@ -1,9 +1,10 @@
-import { Settings2 } from 'lucide-react'
+import { Settings2, Sparkles } from 'lucide-react'
import { useMemo, useState } from 'react'
import { fmtNumber, t } from '../i18n'
import { BarList, Columns, Panel, StatTile } from '../components/stats/Charts'
import StatsSettings from '../components/stats/StatsSettings'
import { RecapButton } from '../components/RecapEntry'
+import { recapSeasonYear, recapUnlocked } from '../lib/recap'
import { EmptyState, PageHeader } from '../components/ui'
import { STATUSES, TYPE_BY_VALUE } from '../lib/constants'
import { genreLabel } from '../lib/genres'
@@ -35,6 +36,8 @@ export default function StatsPage() {
const period = year && years.includes(year) ? year : ''
const thisYear = String(new Date().getFullYear())
const list = useMemo(() => itemsForPeriod(scoped, period), [scoped, period])
+ // Bilan : celui de l'année choisie s'il est arrivé (1er décembre), sinon celui de la saison (décembre, janvier)
+ const recapYear = period ? (recapUnlocked(period) ? period : undefined) : recapSeasonYear()
// Onglets : « Général », « Films », « Séries » toujours ; les autres seulement s'ils ont des titres
const scopes: Scope[] = (['all', 'film', 'series', 'anime', 'other'] as Scope[]).filter(
@@ -67,8 +70,15 @@ export default function StatsPage() {
- {/* Bilan de l'année choisie, sinon de l'année en cours (ou de la dernière année avec des titres) */}
-