diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-13 15:39:49 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-13 15:39:49 +0200 |
| commit | af542a40aec6ffe0ac06798d99abd00a24eb9c50 (patch) | |
| tree | 8d1f38450c7c12570579446689ed4e9b95d025d4 /packages | |
| parent | efbcff05721e71f1fdfcc30b7ee1b44ca1670762 (diff) | |
| download | meshbay-af542a40aec6ffe0ac06798d99abd00a24eb9c50.tar.gz | |
The probe followed the browser's language, so its assertions on
English labels failed on a machine set to French.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/meshbay-hub/tests/harness/photo_sync_probe.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/harness/photo_sync_probe.py b/packages/meshbay-hub/tests/harness/photo_sync_probe.py index 3fcce8a..122103a 100644 --- a/packages/meshbay-hub/tests/harness/photo_sync_probe.py +++ b/packages/meshbay-hub/tests/harness/photo_sync_probe.py @@ -143,9 +143,11 @@ window.meshbay = { <main class="main"><div id=root></div></main> <script type=module> import { html, render } from './vendor/htm-preact.js'; -import { initLocale } from './i18n.js'; +import { initLocale, setLocale } from './i18n.js'; import { startPhotoSync } from './photo-sync.js'; import { AndroidSyncPage } from './android-sync-page.js'; +// English, whatever the machine running this is set to. +setLocale('en'); await initLocale(); startPhotoSync({ hub: '', getUser: () => ({ username: 'bob', userId: 'u-bob', token: 't' }), |