Audit : code mort retiré (fonctions jamais utilisées, imports, 83 traductions inutilisées)

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-11-22 17:19:25 +00:00
1 parent b0c42447f4
commit 0683f77e54
28 files changed
+9 -1625

No files matched your search

-83
View File
@@ -227,7 +227,6 @@ const dict: Translations = {
'settings.scale5': '★ out of 5',
'settings.scale10': 'Out of 10',
'settings.ratingHint': 'Half stars out of 5, or 0.5 steps out of 10. Existing ratings are converted automatically.',
'settings.theme': 'Theme',
'settings.appearance': 'Appearance',
'settings.appearanceHint': '“Auto” follows your browser (light or dark).',
'theme.modeAuto': 'Auto',
@@ -246,7 +245,6 @@ const dict: Translations = {
'reviews.noneOthers': 'No other reviews',
'reviews.none': 'No reviews yet',
'reviews.seeAll': 'See all reviews',
'reviews.react': 'React',
'notif.someone': 'Someone',
'settings.admin': 'Administration',
'admin.title': 'Administration',
@@ -271,8 +269,6 @@ const dict: Translations = {
'admin.signupsChart': 'Signups — last 14 days',
'admin.searchUsers': 'Search an account…',
'admin.joined': 'Joined {date}',
'admin.lastSeen': 'Seen {ago}',
'admin.never': 'never',
'admin.suspend': 'Suspend',
'admin.unsuspend': 'Reactivate',
'admin.suspendedBadge': 'Suspended',
@@ -282,7 +278,6 @@ const dict: Translations = {
'admin.statReviews': 'reviews',
'admin.statFollowers': 'followers',
'admin.clearReview': 'Clear review',
'admin.reviewCleared': 'Review cleared',
'admin.noReviews': 'No reviews',
'admin.confirmClearTitle': 'Clear this review?',
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
@@ -290,8 +285,6 @@ const dict: Translations = {
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
'admin.suspendedDone': 'Account suspended',
'admin.reactivatedDone': 'Account reactivated',
'admin.loadError': 'Could not load the data.',
'install.title': 'Install Kino',
'install.ios': 'Open Kino in Safari.\nTap the Share button (the square with an up arrow).\nChoose “Add to Home Screen”, then “Add”.',
@@ -391,17 +384,10 @@ const dict: Translations = {
'account.err.deleteRate': 'Too many attempts, try again in a minute.',
'account.err.delete': 'Deletion failed. Try again later.',
'account.title': 'My account',
'account.syncing': 'Syncing…',
'account.offline': 'Offline — everything is kept on this device',
'account.syncError': 'Can’t sync right now',
'account.synced': 'Synced {when}',
'account.passwordChanged': 'Password changed.',
'account.imported_one': '{count} title added to your account.',
'account.imported_other': '{count} titles added to your account.',
'account.importFailed': 'Import failed.',
'account.pending_one': '{count} pending',
'account.pending_other': '{count} pending',
'account.syncNow': 'Sync now',
'account.newPasswordPh': 'New password ({n} characters min.)',
'account.changePassword': 'Change password',
'account.logout': 'Log out',
@@ -419,11 +405,9 @@ const dict: Translations = {
'account.deviceData': 'This device has {titles} created before your account. Add them to your account?',
'account.deviceDataWithLists': 'This device has {titles} and {lists} created before your account. Add them to your account?',
'time.never': 'never',
'time.justNow': 'just now',
'time.minutesAgo': '{n} min ago',
'time.hoursAgo': '{n} h ago',
'time.onDate': 'on {date}',
'time.today': 'today',
'time.tomorrow': 'tomorrow',
'time.daysAgo': '{n} d ago',
@@ -540,10 +524,7 @@ const dict: Translations = {
'reco.addedShort': 'Added',
'search.offline': 'No internet connection: search needs the network.',
'search.fillFrom': 'Fill in from a database',
'search.openSettings': 'Open Settings',
'search.already': 'already added',
'search.noResults': 'No results. You can fill in the entry by hand below.',
'search.privacy': 'Only the title you search for is sent to {source}. Your library stays on your phone.',
'catalog.sortRecent': 'Recently edited',
@@ -573,44 +554,8 @@ const dict: Translations = {
'catalog.nothingYetHint': 'Add your first title with the + button.',
'catalog.clearFilters': 'Clear filters',
'public.agree': 'Right in line with the audience',
'public.more': '+{gap} higher than the audience',
'public.less': '−{gap} lower than the audience',
'public.label': 'Audience',
'public.me': 'Me',
'public.added_one': '{count} audience rating added.',
'public.added_other': '{count} audience ratings added.',
'public.noneFound': 'No new ratings found.',
'public.fetch': 'Fetch ({n})',
'public.title': 'Me vs the audience',
'public.hintFetch': 'Fetch the average TMDB / AniList rating for your rated titles to see where you stand out from the audience.',
'public.hintNone': 'No audience ratings available for your rated titles in this period.',
'public.hintKey': 'Add your TMDB key in Settings (or link anime to AniList) to compare yourself with the audience.',
'public.avgGap': 'Average gap',
'public.average': 'Right on average',
'public.generous': 'More generous than the audience',
'public.harsh': 'Harsher than the audience',
'public.agreeTitle': 'In agreement',
'public.within5_one': 'within ½ star, on {count} title',
'public.within5_other': 'within ½ star, on {count} titles',
'public.within10_one': 'within 1 point, on {count} title',
'public.within10_other': 'within 1 point, on {count} titles',
'public.lovedPre': 'I ',
'public.lovedAccent': 'liked more',
'public.lovedPost': ' than the audience',
'public.hatedPre': 'I ',
'public.hatedAccent': 'liked less',
'public.hatedPost': ' than the audience',
'public.allAgree': 'You agree with the audience on all your titles. Rare!',
'form.rewatchHint': 'Watched it again? Log each rewatch and it’ll show up in your journal.',
'form.editTitle': 'Edit ',
'form.editAccent': 'entry',
'form.newTitle': 'New ',
'form.newAccent': 'title',
'form.filledFrom': 'Filled in from',
'form.canEdit': 'you can edit everything',
'form.fillFromDb': 'Fill in from TMDB / AniList',
'form.pickPoster': 'Pick a poster',
'form.removeImage': 'Remove image',
'form.title': 'Title *',
@@ -621,10 +566,7 @@ const dict: Translations = {
'form.type': 'Type',
'form.subtype': 'Kind',
'form.subtypePh': 'Documentary, Reality TV…',
'form.status': 'Status',
'form.myRating': 'My rating',
'form.favorite': 'Favorite',
'form.criteria': 'Detailed criteria (optional)',
'form.episodes': 'Episodes',
'form.minusEp': '-1 episode',
'form.plusEp': '+1 episode',
@@ -639,8 +581,6 @@ const dict: Translations = {
'form.rewatches': 'Rewatches',
'form.review': 'My review',
'form.reviewPh': 'What I thought, memorable scenes…',
'form.saveChanges': 'Save changes',
'form.addToLibrary': 'Add to my library',
'form.shareImage': 'Share as image',
'form.delete': 'Delete this title',
'form.deleteConfirm': '“{title}” will be permanently deleted.',
@@ -655,20 +595,14 @@ const dict: Translations = {
'journal.seen_other': '{count} watched',
'journal.more': 'Show earlier months',
'stats.overview': 'Overview',
'stats.habits': 'Habits',
'stats.tastes': 'Tastes',
'stats.pageTitle': 'My ',
'stats.pageAccent': 'stats',
'stats.emptyTitle': 'No stats yet',
'stats.emptyText': 'They’ll show up once you’ve added some titles.',
'stats.sinceStart': 'all time',
'stats.subtitle_one': '{count} title in my library',
'stats.subtitle_other': '{count} titles in my library',
'stats.subtitleYear_one': '{count} title in {year}',
'stats.subtitleYear_other': '{count} titles in {year}',
'stats.hours_one': 'hour',
'stats.hours_other': 'hours',
'stats.nonStopPre': 'that’s ',
'stats.nonStopPost': ' non-stop',
'stats.days_one': '{count} day',
@@ -678,13 +612,10 @@ const dict: Translations = {
'stats.episodesN_one': '{count} episode',
'stats.episodesN_other': '{count} episodes',
'stats.timeByType': 'Time by type',
'stats.noTime': 'No time logged in this period yet.',
'stats.avgRating': 'Average rating',
'stats.rated_one': '{count} title rated',
'stats.rated_other': '{count} titles rated',
'stats.inYear': 'in {year}',
'stats.statuses': 'Statuses',
'stats.hoursTab': 'Hours',
'stats.monthByMonth': 'Month by month · {year}',
'stats.last12': 'Last 12 months',
'stats.monthFinished_one': '{count} title finished',
@@ -693,7 +624,6 @@ const dict: Translations = {
'stats.records': 'Records',
'stats.marathon': 'Biggest marathon',
'stats.longestFilm': 'Longest movie',
'stats.noRecords': 'No records in this period yet.',
'stats.platforms': 'Platforms',
'stats.bestRated': 'My top rated',
'stats.myRatings': 'My ratings',
@@ -701,11 +631,6 @@ const dict: Translations = {
'stats.favGenres': 'Favorite genres',
'stats.noGenres': 'No genres yet.',
'stats.countries': 'Countries',
'stats.noCountry_one': '{count} title has no country: fill it in with “Fill in from TMDB / AniList” on its page.',
'stats.noCountry_other': '{count} titles have no country: fill them in with “Fill in from TMDB / AniList” on their pages.',
'stats.noCountryLegacy_one': '{count} title has no country: fill it in with “Fill in from TMDB / AniList” on its page, or re-import your old app’s backup (“Merge”).',
'stats.noCountryLegacy_other': '{count} titles have no country: fill them in with “Fill in from TMDB / AniList” on their pages, or re-import your old app’s backup (“Merge”).',
'stats.byType': 'By type',
'stats.footnote': 'Time estimated from episodes watched and runtimes entered (otherwise: movie 1 h 50, anime episode 24 min, series 45 min, K-drama 1 h, C-drama 45 min). A title counts toward the year I finished it.',
'stats.ratedAs_one': 'rated {rating}',
'stats.ratedAs_other': 'rated {rating}',
@@ -814,9 +739,7 @@ const dict: Translations = {
'welcome.later': "Later",
'social.watching': "Watching",
'social.watchlist': "Wants to watch",
'search.allKinds': "Movies, series and anime",
'search.animeOnly': "Without a TMDB key, only anime can be found.",
'search.alreadySeries': "already in your library — open",
'form.startShort': "Started",
'form.endShort': "Finished",
'hero.allSeen': "All watched",
@@ -824,7 +747,6 @@ const dict: Translations = {
'hero.upToDate': 'Up to date',
'hero.seenEp': "Watched {ep}",
'hero.seen': "Watched",
'hero.markSeen': "Mark as watched",
'hero.edit': "Edit details",
'hero.more': "Read more",
'hero.less': "Show less",
@@ -840,9 +762,6 @@ const dict: Translations = {
'homeHero.details': "Details",
'homeHero.continueRow': "Continue watching",
'homeHero.nextUp': "Next: {ep}",
'title.addTitle': "Add a title",
'title.searchPh': "Movie, series, anime, drama…",
'title.searchHint': "Search for a title, then open it to rate it, mark it as watched or add it to your watchlist.",
'title.noResults': "No results.",
'title.manual': "Add manually",
'title.manualHint': "Can’t find it? Create it yourself.",
@@ -872,7 +791,6 @@ const dict: Translations = {
'title.trackingHint': "Dates, lists, rewatches",
'title.rewatchCount_one': "Rewatched once",
'title.rewatchCount_other': "Rewatched {count} times",
'title.rewatchedToday': "Rewatched today",
'sync.syncing': "Syncing…",
'sync.offline': "Offline",
'sync.error': "Sync failed",
@@ -1228,7 +1146,6 @@ const dict: Translations = {
'shared.noPeople': "Nobody to invite: only your followers and the people you follow can join the list.",
'shared.inviteShort': "Invite",
'shared.invited': "Invited",
'shared.expired': "invitation expired",
'shared.addTo': "Add to a shared list",
'shared.unavailable': "Shared lists are unavailable right now.",
'shared.err.rate': "Too many actions in a row — try again in a minute.",