Windows: language from Windows settings, honest saved figures, and part 3 with an existing install (wintest-4) #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "windows-wintest4"
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?
Fixes what the third real-PC run (wintest-3, ogc-messungen issue #6) showed, and the test package for the next run (wintest-4).
From the real PC
ogc.exewere English on a German Windows 11. The language came only fromLANG/LC_*/LANGUAGE, which Windows does not set.GetUserPreferredUILanguagesare used, in order: the first shipped one wins, otherwise English. Explicitly set variables and the app's own setting still win. Linux is unchanged (src/i18n/locale.rs,locale/windows.rs).LANGUAGEto its language before GTK starts (withg_setenv, which libintl sees), so GTK's and libadwaita's own texts match.ptbecomespt_BRandzhbecomeszh_CN, the bundle's folder names. RESTART NOW keeps the originalLANGUAGE.games.tsv).analysis.tsvformat is unchanged; btrfs behaves as before.library/totals_tests.rs).wintest-4 (
run-tests.ps15, package run 4)pchecks the existing install as it is.nuninstalls first and runs the full fresh test.askips part 3.ogc --version, the SHA-256 ofogc.exe,ogc-gui.exeand the setup, and whether the installedogc.exeis the package's.ANLEITUNG.txthas a short "only part 3" path (-NurInstallation).Also
Tests
cargo test --all-featureswith Broadway andOGC_TEST_REQUIRE_BTRFS=1: all pass, apart from the toast test fixed in the last commit, which passes on its own.ps-test.shpasses, both suites.check.sh;wine-test.sh(with a realGetUserPreferredUILanguagescall);check-gui.sh;build-gui.sh;gui-test.sh(GLib says "5 Bytes" afterLANGUAGE=de);gui-smoke.sh; the installer tests; anddist.shwith the app, which buildsogc-wintest-0.1.0-4.zip.Known, not fixed here
scheduler.rs:435) is still untranslated.