address review: localize connection errors, tighten i18n guard, drop dead resources

- AddSourceViewModel resolves SubsonicException.uiMessage too, so malformed/
  HTTP/truncated responses show localized text instead of the raw parser
  message; add a regression test.
- StringResourcesTest now requires an 'other' quantity in every plural and
  asserts exact placeholder (index and conversion) equality, both of which
  could previously pass while crashing getQuantityString at runtime.
- Map the pre-enum song_downloads.error sentences back to their DownloadError
  so existing failed rows keep their specific message.
- Localize the media-session star/unstar button label.
- Remove 12 unreferenced resources (queue name, filter year, sync_failed, and
  the unused codec_* strings; codec labels stay in AudioEncoding).
- Make buildTree's fallback arguments required; only tests used the defaults.
This commit is contained in:
austinried
2026-10-04 00:30:07 +00:00
parent 3162ac07d5
commit 699a6e86f5
33 changed files with 59 additions and 55 deletions
-1
View File
@@ -13,7 +13,6 @@
<string name="resources_filter_artist">Umělec</string>
<string name="resources_filter_genre">Podle žánru</string>
<string name="resources_filter_starred">Ohodnocené</string>
<string name="resources_filter_year">Rok</string>
<string name="resources_sort_by_artist">Umělce</string>
<string name="resources_sort_by_frequently_played">Často přehrávané</string>
<string name="resources_sort_by_name">Názvu</string>