mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4400] [GUI] French is missing from the shell-prefs and tray language lists — the tray menu never follows a French UI #1959
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1959
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheHubUser4860938 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4400
Problem: 0.2.7 shipped French as the ninth UI language (#3970) in the app catalog and the web chat, but the two shell-prefs allow-lists still name only eight: apps/host/server/shell-prefs.mjs:15
LANGUAGES = ['en','zh','ja','de','es','ru','pt','ko']and apps/desktop/src-tauri/src/shell.rs:31 (same eight; tray_labels has no "fr" arm).setLanguage('fr')(apps/host/src/lib/i18n.ts:48 offers it; store.ts:508→511 POSTs it) is DROPPED silently: writeShellPrefs only persists itif (LANGUAGES.includes(patch.language)), and cleanPrefs (line 30) resets a hand-edited "fr" back to "en". The POST answers 200, so the UI believes the save.Environment:
Strata Version: 0.2.7 (source checkout at tag v0.2.7, commit
5e8a4cca; the file discussed is byte-identical to the tag)OS: Linux x86-64
Reported from the Strata-Mnemosyne fork's merged tree; the offending code is upstream's own.
Reproduce: Settings → language = Français (desktop app, or any host serving shell prefs), restart: the new tray menu (#3477) keeps the old language; the stored prefs never contain fr.
Expected: the tray/menu language follows the chosen UI language for all nine offered languages.
Actual: for fr the preference is silently dropped — a three-way list sync miss.
Reproduction status: unconfirmed static analysis (the three lists and both validators read in the v0.2.7 tree). What would verify: pick Français, read the shell-prefs file, open the tray menu.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.