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:
parent
35c4d13f8f
commit
4f5cd3e7b1
15 changed files with 200 additions and 66 deletions
|
|
@ -563,18 +563,19 @@
|
|||
<string name="mixer">Mixagem</string>
|
||||
<plurals name="featurettes">
|
||||
<item quantity="one">Bastidores</item>
|
||||
<item quantity="other">Bastidores</item>
|
||||
</plurals>
|
||||
<plurals name="minutes">
|
||||
<item quantity="one">%s minuto</item>
|
||||
<item quantity="many">%s minutos</item>
|
||||
<item quantity="other">%s minutos</item>
|
||||
</plurals>
|
||||
<string name="enter_url_api_key"><![CDATA[Insira a URL e a chave de API]]></string>
|
||||
<string name="search_and_download_subtitles"><![CDATA[Procurar e baixar legendas]]></string>
|
||||
<string name="download_and_update"><![CDATA[Baixar e atualizar]]></string>
|
||||
<string name="search_and_download"><![CDATA[Procurar e baixar]]></string>
|
||||
<string name="combine_continue_next"><![CDATA[Combinar \"Continue Assistindo\" e \"A Seguir\"]]></string>
|
||||
<string name="cast_and_crew"><![CDATA[Elenco e equipe]]></string>
|
||||
<string name="enter_url_api_key">Insira a URL e a chave de API</string>
|
||||
<string name="search_and_download_subtitles">Procurar e baixar legendas</string>
|
||||
<string name="download_and_update">Baixar e atualizar</string>
|
||||
<string name="search_and_download">Procurar e baixar</string>
|
||||
<string name="combine_continue_next">Combinar \"Continue Assistindo\" e \"A Seguir\"</string>
|
||||
<string name="cast_and_crew">Elenco e equipe</string>
|
||||
<string name="albums">Álbuns</string>
|
||||
<string name="artists">Artistas</string>
|
||||
<string name="songs">Músicas</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue