fix(i18n): drop unused video-control strings and restore spinner lookups
`clean_translations.py --strict` reported seven unused keys.
Three are genuinely dead: TrackSelectionHelper.getEmptyMessage was
removed as unreachable in 4307c49c, and the sheets that need an empty
state carry their own strings. Removes them from every locale.
The four accessibility keys are false positives. tv_number_spinner
aliased the subtree as `final a11y = ...accessibility`, which the static
scanner cannot follow — its docstring says as much. Binds the documented
`final t = Translations.of(context)` instead and hoists the two labels,
so the semantics stay identical and the scanner sees the chains.
This commit is contained in:
@@ -546,9 +546,6 @@
|
||||
"searchSubtitles": "搜尋字幕",
|
||||
"language": "語言",
|
||||
"noSubtitlesFound": "找不到字幕",
|
||||
"noSubtitlesAvailable": "沒有可用的字幕",
|
||||
"noAudioTracksAvailable": "沒有可用的音軌",
|
||||
"noTracksAvailable": "沒有可用的音訊或字幕",
|
||||
"subtitleDownloaded": "字幕下載成功",
|
||||
"subtitleDownloadedNotApplied": "字幕已下載,但無法套用",
|
||||
"subtitleDownloadFailed": "字幕下載失敗",
|
||||
|
||||
Reference in New Issue
Block a user