Localized formatting for season and episode display (#1884)

## Description
Added localized formatting for season/episode numbers across the UI
because it was in English-only in every UI language.

### Related issues
None

### Testing
Tested on a physical Google TV Streamer 4K device. Checked manually
relevant screens while browsing and during playback.

## Screenshots
No frontend changes are visible in English and new translations will be
contributed through Weblate for other languages later, as usual.

## AI or LLM usage
Generated initial code with AI, then manually passed over it while
cleaning and refactoring where needed.

---------

Co-authored-by: Damontecres <damontecres@gmail.com>
This commit is contained in:
Tal Sarid 2026-09-04 19:47:06 +03:00 • committed by GitHub
parent 826bbad49c
commit 1f3a861c47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 85 additions and 30 deletions

View file

@ -28,6 +28,7 @@
<string name="decimal_seconds">%.2f seconds</string>
<string name="duration_hours_minutes_seconds">%1$dh %2$dm %3$ds</string>
<string name="duration_hours_minutes">%1$dh %2$dm</string>
<string name="duration_hours_seconds">%1$dh %2$ds</string>
<string name="duration_minutes_seconds">%1$dm %2$ds</string>
<string name="duration_hours">%1$dh</string>
<string name="duration_minutes">%1$dm</string>
@ -158,6 +159,12 @@
<string name="tv_guide">Guide</string>
<string name="tv_season">Season</string>
<string name="tv_seasons">Seasons</string>
<string name="season_episode_number">S%1$d E%2$d</string>
<string name="season_episode_number_range">S%1$d E%2$d-E%3$d</string>
<string name="season_episode_number_padded">S%1$02dE%2$02d</string>
<string name="season_episode_number_padded_range">S%1$02dE%2$02d-E%3$02d</string>
<string name="episode_number_short">E%1$d</string>
<string name="season_number">Season %1$d</string>
<string name="tv_shows_title">TV Shows</string>
<string name="ui_interface">Interface</string>
<string name="unknown">Unknown</string>