
Improve the way track numbers are handled in the album detail view. Previously, Auxio would show track numbers by simplying stringifying the integer and then showing it in a TextView. This was problematic for two reasons: - Numerics from other languages like Arabic would not be respected - Invalid track numbers [e.g 0] would be shown regardless of the situation. This commit fixes that by placing all track numbers through a format string first, and showing a generic song icon instead of a number whenever the track number is 0.
11 lines
No EOL
517 B
XML
11 lines
No EOL
517 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<!-- Info namespace | App labels -->
|
|
<string name="info_app_name" translatable="false">Auxio</string>
|
|
|
|
<!-- Format Namespace | Value formatting/plurals -->
|
|
<string name="fmt_two" translatable="false">%1$s • %2$s</string>
|
|
<string name="fmt_three" translatable="false">%1$s • %2$s • %3$s</string>
|
|
<string name="fmt_counts" translatable="false">%1$s, %2$s</string>
|
|
<string name="fmt_track" translatable="false">%d</string>
|
|
</resources> |