Files
streamyfin/scripts/i18n-keys.config.json
Gauvino 959b9fc1fb chore(i18n): document allow-list groups + the static-only MISSING check
Addresses review nits on the lean PR:
- expand _ignoreUnusedNote to explain why the watchlists.*/pin.*/player.* keys
  are exempt (planned features, not yet wired), alongside the three tracked by
  issues #1702/#1703/#1704.
- note that MISSING validation only covers static t()/i18nKey keys; a key stored
  as a bare string constant and resolved via t(variable) is treated as used but
  its existence is not checked (static analysis cannot resolve runtime keys).
2026-06-08 16:50:50 +02:00

47 lines
1.6 KiB
JSON

{
"localesDir": "translations",
"sourceLocale": "en",
"srcDirs": [
"app",
"components",
"hooks",
"providers",
"utils",
"modules",
"packages",
"constants"
],
"srcExtensions": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs"],
"excludeDirs": [
"node_modules",
"ios",
"android",
".expo",
".git",
"dist",
"build",
"translations"
],
"_ignoreUnusedNote": "Keys for planned features intentionally kept in en.json but not yet wired in code — exempt from the unused-key check until implemented. Remove an entry once its feature ships and uses the key. Groups below: watchlists.* = watchlist actions not yet wired; pin.* = PIN confirm flow not yet wired; player.* = in-player subtitle search + swipe-down settings + stop-playback confirm, not yet wired; the last three are tracked by issues: home.settings.other.show_large_home_carousel (#1702 media-bar), home.settings.logs.delete_all_logs (#1703 iOS logs fix), home.suggested_episodes (#1704).",
"ignoreUnused": [
"watchlists.add_to_watchlist",
"watchlists.remove_from_watchlist",
"watchlists.create_one_first",
"watchlists.no_compatible_watchlists",
"pin.confirm_pin",
"pin.pins_dont_match",
"player.search_subtitles",
"player.subtitle_search",
"player.subtitle_download_hint",
"player.subtitle_tracks",
"player.using_jellyfin_server",
"player.swipe_down_settings",
"player.stopPlayback",
"player.stopPlayingTitle",
"player.stopPlayingConfirm",
"home.settings.other.show_large_home_carousel",
"home.settings.logs.delete_all_logs",
"home.suggested_episodes"
]
}