Fix errors when a plural translation is missing (#1716)

## Description
Previously not every plural translation had full coverage and some did
not have the fallback "other" quantity translation. So for some
languages this would cause an error when trying to display the string
depending on the quantity. This PR ensures every plural translation has
the "other" fallback.

Note: the "other" fallback is copied from an existing translation so I'm
sure some will not be grammatically correct!

Dev note: I used a python script to parse and fix the entries, so it
also rewrote some of the unrelated `CDATA` entries.

### Related issues
Fixes #1676

### Testing
On the emulator, I reproduced the error in the issue with the Danish
translation, verified it was fixed after the patch was applied

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-07-18 17:52:16 -04:00 • committed by GitHub
parent 35c4d13f8f
commit 4f5cd3e7b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 200 additions and 66 deletions

View file

@ -25,7 +25,7 @@
<string name="director">Rendező</string>
<string name="disabled">Letiltva</string>
<string name="discovered_servers">Felfedezett szerverek</string>
<string name="download_and_update"><![CDATA[Letöltés & Frissítés]]></string>
<string name="download_and_update">Letöltés &amp; Frissítés</string>
<string name="downloading">Letöltés folyamatban…</string>
<string name="enabled">Engedélyezve</string>
<string name="enter_server_url">Adja meg a szerver IP-t vagy URL-t</string>
@ -95,7 +95,7 @@
<string name="restart">Újraindítás</string>
<string name="resume">Folytatás</string>
<string name="save">Mentés</string>
<string name="search_and_download"><![CDATA[Keresés & Letöltés]]></string>
<string name="search_and_download">Keresés &amp; Letöltés</string>
<string name="search">Keresés</string>
<string name="searching">Keresés…</string>
<string name="select_server">Szerver kiválasztása</string>
@ -122,6 +122,7 @@
<string name="top_unwatched">Legjobbra értékelt, nem megnézett</string>
<plurals name="trailers">
<item quantity="one">Előzetesek</item>
<item quantity="other">Előzetesek</item>
</plurals>
<string name="tv_dvr_schedule">DVR Időzítés</string>
<string name="tv_guide">Műsorújság</string>
@ -159,6 +160,7 @@
</plurals>
<plurals name="behind_the_scenes">
<item quantity="one">Színfalak mögött</item>
<item quantity="other">Színfalak mögött</item>
</plurals>
<plurals name="theme_songs">
<item quantity="one">Főcímdal</item>
@ -352,10 +354,10 @@
<string name="subtitle_delay">Felirat késleltetése</string>
<string name="backdrop_display">Háttér stílusa</string>
<string name="enter_server_address">Adja meg a szerver címét</string>
<string name="combine_continue_next"><![CDATA[Folytatás & Következő menü összevonása]]></string>
<string name="combine_continue_next">Folytatás &amp; Következő menü összevonása</string>
<string name="player_backend">Lejátszás backend</string>
<string name="image_cache_size">Kép-gyorsítótár mérete (MB)</string>
<string name="cast_and_crew"><![CDATA[Stábtagok]]></string>
<string name="cast_and_crew">Stábtagok</string>
<string name="nav_drawer_switch_on_focus">Navigációs menü oldalainak váltása fókusznál</string>
<string name="playback_overrides">Lejátszás felülbírálatai</string>
<string name="resolution_switching">Felbontásváltás</string>