i18n: wrap hardcoded Slint labels and plural concatenations

Wrap remaining user-facing literals in @tr across discover (RADIO,
TOP TRACKS), DiscographyBuilder (release-type/order-by labels), the
OfflineManager hero, ExpandableSearch placeholder default, and the
appearance option arrays in state.slint (displayed as-is, no Rust
re-seed). Replace string concatenation with positional @tr plus
ngettext plurals for the DiscographyBuilder footer and OfflineManager
track counts so word order is locale-stable. Language endonyms and the
macOS/Adwaita/quality-tier brand names stay literal.

cc
This commit is contained in:
vicrodh committed 2026-06-23 14:13:40 -06:00
1 parent 8243f2a856
commit 171b175b4f
7 files changed
+33 -34

No files matched your search

@@ -100,7 +100,7 @@ export component ForYouView inherits VerticalLayout {
for st in ForYouState.radio-stations: RadioCard {
seed-title: st.title;
seed-subtitle: st.artist;
label: "RADIO";
label: @tr("RADIO");
artwork: st.artwork;
clicked => {
root.start-radio-album(st.album-id);