Skip to content

Commit 3f0568e

Browse files
author
web3blind
committed
Cache bust weather translations
1 parent 6c1710a commit 3f0568e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
<script src="js/config.js?v=20260621m"></script>
117117

118118
<!-- I18n -->
119-
<script src="js/i18n/ru.js?v=20260711d"></script>
120-
<script src="js/i18n/en.js?v=20260711d"></script>
119+
<script src="js/i18n/ru.js?v=20260712c"></script>
120+
<script src="js/i18n/en.js?v=20260712c"></script>
121121

122122
<!-- Utilities -->
123123
<script src="js/utils/helpers.js?v=20260621l"></script>

tests/player-bug-regressions.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ test('mobile shell prevents tray and tab controls from overflowing the viewport'
433433
test('magical weather is labelled and affects hunts', function () {
434434
assert.ok(/function getCurrentWeather/.test(worldEventsJs), 'world events should expose deterministic magical weather');
435435
assert.ok(/weather_frog_rain/.test(worldEventsJs + ruJs + enJs), 'magical forecast copy should exist');
436+
assert.ok(/i18n\/ru.js\?v=20260712c/.test(indexHtml), 'Russian weather copy must be cache-busted');
437+
assert.ok(/i18n\/en.js\?v=20260712c/.test(indexHtml), 'English weather copy must be cache-busted');
436438
assert.ok(/season_effect_prefix/.test(homeJs + ruJs + enJs), 'home forecast should explain gameplay effect');
437439
assert.ok(/seasonBonuses\[spell\.school\]/.test(combatJs), 'season school bonus should affect spell attack');
438440
assert.ok(/creatureAttackMod/.test(combatJs), 'weather should affect creature danger in hunt combat');

0 commit comments

Comments
 (0)