mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-05 16:02:03 +00:00
src/i18n/unloaded.ts kept its own translations of the screen shown when no catalogue loads, including a second copy of Retry. The text now lives in the catalogues, and tools/startup-text.mjs serves just those keys for every registered language as virtual:startup-text, with the English text for a key a partial catalogue lacks. Vite and Vitest load the same plugin, and a catalogue edit in dev reloads the page. Startup also sets html lang and dir for the language it shows: the default catalogue when the saved one fails, and the saved language on the failure screen, not only once the shell mounts.