strings: fix improper usage of plurals

Use a proper composition of the "many" and "other" fields in the plural
fields of specific languages.

In the french/czech plural configuration, both "many" and "other" are
used for string fields. The lint does not make this obvious, so in
d7f34e6 I ended up switching the "other" field to "many". This resulted
in some devices on those languages crashing. To fix this, we define
the "many" and "other" fields with the same value to avoid a crash.

Resolves #69.
This commit is contained in:
OxygenCobalt 2022-02-02 07:13:53 -07:00
parent 3c9ffd5946
commit 433d623f14
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 4 additions and 0 deletions

View file

@ -140,10 +140,12 @@
<item quantity="one">"%d skladba"</item>
<item quantity="few">"%d skladby"</item>
<item quantity="many">"%d skladeb"</item>
<item quantity="other">"%d skladeb"</item>
</plurals>
<plurals name="fmt_album_count">
<item quantity="one">"%d album"</item>
<item quantity="few">"%d alba"</item>
<item quantity="many">"%d alb"</item>
<item quantity="other">"%d alb"</item>
</plurals>
</resources>

View file

@ -87,10 +87,12 @@
<plurals name="fmt_song_count">
<item quantity="one">%s Titre</item>
<item quantity="many">%s Titres</item>
<item quantity="other">%s Titres</item>
</plurals>
<plurals name="fmt_album_count">
<item quantity="one">%s Album</item>
<item quantity="many">%s Albums</item>
<item quantity="other">%s Albums</item>
</plurals>
</resources>