Commit graph

16 commits

Author SHA1 Message Date
Stéphane
fd71323cb5 merge: PR #1029 feat(i18n) extract last deep-cut hardcoded strings
Resolved conflicts in values/strings.xml and values-fr/strings.xml
by concatenating both blocks (no duplicate keys).
2026-05-24 09:41:51 +02:00
Stéphane
d1ee3cf784 feat(i18n): extract last deep-cut hardcoded strings to resources
Migrates 13 additional user-facing English literals found across 7 files
in a follow-up audit. Adds 13 new keys (EN + FR) and replaces the inline
literals with `getString(...)` / `runBlocking { getString(...) }`
depending on context.

- RuntimeFormat: episode / runtime hours+minutes template (`%dh %dm`,
  `%dh`, `%dm` → resource-backed; FR uses `%d h %d min`).
- SearchRepository: `require {}` empty-result message now hits
  `search_error_no_results_for_catalog` instead of the inline literal.
- PluginRepository: `already installed`, install-failed, refresh-failed
  fallback messages.
- PluginManifestParser: three `require {}` validation messages (name,
  version, providers).
- AddonManifestParser: `Manifest missing "<name>"` exception now uses
  `addons_manifest_missing_field`.
- PlayerEngine.ios: `MPV not available — Please rebuild the app` →
  `player_error_mpv_unavailable`.
- YoutubeChunkedDataSourceFactory: the developer-facing `No DataSpec`
  exception is replaced by a user-friendly `Unable to play this stream.`
  message that's safe to render through `onPlayerError.localizedMessage`.

FR translations follow existing conventions (tutoiement, curly apostrophes,
NBSP inside `« »`, internal branch names kept out of user-facing copy).
2026-05-20 06:41:24 +02:00
Stéphane
546226c79f feat(i18n): extract remaining hardcoded strings flagged by audit
Migrates the long tail of user-facing English literals identified by the
audit report — 65 new keys across 14 source files plus the matching FR
translations (tutoiement, NBSP, curly apostrophes).

Categories:
- TMDB filter placeholders in CollectionEditorScreen (10 keys, "28,12",
  "2020-01-01", "100", "en, ko, ja, hi", etc.)
- Collection editor titles & errors in CollectionEditorRepository
  (TMDB/Trakt fallback titles, validation errors, "Could not load …")
- Folder type labels in FolderDetailRepository ("Trakt Series List",
  "Trakt Movie List")
- TMDB resolver errors (api key required, not found, missing IDs, discover
  no data) in TmdbCollectionSourceResolver
- Trakt public list resolver errors and search-result fallbacks in
  TraktPublicListSourceResolver (rate limit, not public, items/likes
  counts, credentials missing, error_with_code formatter)
- Comments load failure in TraktCommentsRepository
- Trakt status messages (Connected/Disconnected) in TraktAuthRepository
- AppUpdater exceptions (no release, github api error, missing tag,
  no APK asset) — also strips the "cmp-rewrite" branch name from the
  user-facing copy
- HTTP error fallbacks shared by both AddonPlatform.{android,ios}.kt
  ("Request failed with HTTP %d", "Empty response body")
- AndroidAppUpdaterPlatform download/install errors
- iOS DownloadsPlatformDownloader file/HTTP errors
- SubtitleRepository addon-subtitle display format
- DownloadsLiveStatusPlatform.android Pause action (reuses
  compose_action_pause) and the byte-unit table (now includes
  unit_bytes_tb)

Non-Composable suspend bodies use the existing `getString(...)` pattern;
synchronous bodies (constructors, lambda inits) use the established
`runBlocking { getString(...) }` pattern already in the codebase.

Keys that overlap with #943 (the FR overhaul PR) use the exact same
names so the eventual merge is a no-op on those.
2026-05-20 06:41:00 +02:00
tapframe
5b53f6046a feat: support for external player 2026-05-13 13:27:12 +05:30
tapframe
44604d3ef2 fix: android file pickup fix and modal button alignement fix 2026-04-19 01:43:12 +05:30
tapframe
2d2f5ccf4c feat: in app updater 2026-04-19 01:15:39 +05:30
tapframe
73c29ccab8 ref: playbackDataSourceFactory to be in parity with Nuvio TV 2026-04-12 19:44:31 +05:30
chrisk325
c50f52bfc2 add headers 2026-04-12 16:09:58 +05:30
chrisk325
4dbdd16e48 fix: http protocol redirects 2026-04-12 14:45:59 +05:30
tapframe
7b7ac23784 fix(downloads): passing resume position 2026-04-11 21:30:44 +05:30
tapframe
35428ca5fd feat: add support for response headers in playback data source handling 2026-04-08 14:58:35 +05:30
tapframe
b7e12cb26a fix: remove trailer data source layer leaking for normal playback 2026-04-07 01:30:39 +05:30
tapframe
09502e4b67 cleanup trailer extraction logic 2026-04-05 15:47:46 +05:30
tapframe
631604a5dc shared fullcommonMain 2026-04-05 15:34:27 +05:30
tapframe
4f27afc174 flavouring plugins 2026-04-04 21:45:47 +05:30
tapframe
f65f934acd flavouring yt extraction 2026-04-04 21:30:19 +05:30