The policy GUI (cc-safety-net gui) now speaks Japanese and Simplified Chinese in addition to English, and it remembers your language and theme on disk instead of per-browser.
Highlights
- Added Japanese (日本語) and Simplified Chinese (简体中文) translations of the policy GUI, selectable from a new language picker in the sidebar (#274)
Added
- Added automatic language detection on first visit: the GUI picks English, Japanese, or Simplified Chinese from your browser's language preferences, and your explicit choice from the picker overrides it afterwards.
- Added locale-aware formatting in the GUI, so counts, dates, clock times, and relative times such as "2 hours ago" follow the active language.
Changed
- Changed where the GUI stores your language and theme choice: both are now saved server-side in
~/.cc-safety-net/gui.jsoninstead of browserlocalStorage, so the same preferences apply in every browser you open the GUI from, and the chosen theme is applied before the page paints.- Migration: A theme previously saved in
localStorageis not carried over. Pick your theme once more under Settings if the GUI opens in the automatic theme.
- Migration: A theme previously saved in
- Changed the page's language attribute to follow the active locale, which improves screen-reader pronunciation.