mirror of
https://github.com/Felitendo/spotifast.git
synced 2026-11-01 17:33:26 +01:00
The pilot marked navigation, the player bar, Queue and Lyrics. Every other user-visible string now goes through gettext, pgettext or ngettext too: Home, Search, Library and collection pages, artist and podcast pages, radio, context menus, song-list headings, dialogs, the keyboard shortcuts list, sign-in, Settings, the update window, the Winamp windows, window buttons, and the app's notifications, including tooltips and screen-reader names. Relative and absolute dates, lengths such as "2 hr 13 min", album kinds and the greeting are translated where they are formatted. The template grows from 71 to 629 messages. Sentences that were glued from fragments are whole phrases with named placeholders, and counts use the catalogue's plural rules, so "1 songs", "1 followers" and "1 episodes" now read correctly in English as well. Error details from Spotify, the network and the system are kept as they arrive, inside a translated sentence. Spanish is complete. It reuses LukeOkk's translations wherever the English source still matches, with their Rioplatense forms brought to the neutral "tú" of the existing catalogue, and translates the rest. The other twelve catalogues keep their pilot translations and show English for everything else. update-translations.sh no longer lets msgmerge guess: with partial catalogues it proposed "Quitar de Canciones favoritas" for "Remove from this playlist". Guesses would be fuzzy entries the catalogue test rejects. Four existing translator notes sat too far from their phrase for xgettext to attach them and now sit beside it. Native menus (the tray, the macOS menu bar and Dock menu, and the Windows taskbar buttons) stay English for now: they are built outside the interface on their own threads and need rebuilding when the language changes. Based on LukeOkk's work in their fork, #534. Co-authored-by: LukeOkk <85941941+LukeOkk@users.noreply.github.com>