French: a top-bar label that fits on a phone

"Caisse · Banque" wrapped onto two lines in the phone's top bar at 360 px
and cut off the monthly line under the cash. "Cash · Banque" fits on one
line like the Italian and Portuguese labels do.
This commit is contained in:
Frederic Jung 2026-10-26 15:16:09 +01:00
parent d2b7aa0ed7
commit 8f135c5713
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -118,7 +118,8 @@ for (const lang of ['en', 'it', 'pt', 'fr']) {
}
if (lang === 'fr') {
assert.match(ev("document.getElementById('modalCard').textContent"), /Comment jouer/);
assert.equal(ev("document.querySelector('#hud [data-act=bank] .lbl').textContent"), 'Caisse · Banque');
// short enough to stay on one line in the phone's top bar (Caisse · Banque wrapped and cut off the monthly line)
assert.equal(ev("document.querySelector('#hud [data-act=bank] .lbl').textContent"), 'Cash · Banque');
}
const { thrown, leaks } = tour(ev);
assert.ok(ev('(S.stats.f||{}).anchor'), 'Baltic and Red Sea anchors count for the badge in every language');