Skip to content

1.2.6

Choose a tag to compare

@zzzyyylllty zzzyyylllty released this 01 Oct 04:27
· 3 commits to master since this release

1.2.6

Fixed — first-run language dialog

  • The "More languages" button did nothing: its expand/collapse styles existed but no script was bound to it. It now expands the full flag list, keeps aria-expanded in sync, plays a click sound and scrolls the list into view
  • Two related defects in the same code path:
    • Choosing a language performed a hot switch, unlike the Settings page, which only saves and asks for a restart (a hot switch mid-startup mixes languages and invalidates caches). It now saves the choice and shows the restart notice
    • The welcome dialog waits for the language dialog to close before appearing, but that signal was never sent — so after picking a language the welcome dialog never showed up
  • Language rows are now handled by event delegation, and the language name in the restart notice is read from the row itself (skipping the nested English alt label), so the first-run page no longer needs its own copy of the language-name table
  • Guarded closest() so clicking elements such as a nested icon no longer throws

Changed — default language

  • The default language for a fresh install is now English (en_us), previously Simplified Chinese
  • DEFAULT_LANG and SOURCE_LANG are now separate constants: the default language and the fallback language are two different things. Simplified Chinese remains the source language and the last link of the fallback chain, so a missing en_us entry still resolves to the Chinese original instead of showing a raw key
  • Existing users are unaffected — a language you already picked is still honoured
  • The first-run dialog leads with English, since it cannot be localized before a language is chosen

Fixed — release packaging

  • Version 1.2.6

Windows x64 · portable build — just run it, no installation required.