fix(i18n): add cache-busting version strings to privacy page scripts

SUMMARY:
Added version query strings to script tags on privacy.html to force
browser cache refresh for i18n updates.

CHANGES:
- Added ?v=20251019145500 to i18n-simple.js
- Added ?v=20251019145500 to language-selector.js
- Added ?v=20251019145500 to footer.js

IMPACT:
Users will now load the updated JavaScript that knows how to load
common.json for footer translations. Prevents stale cache issues.

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
TheFlow 2025-10-19 14:56:25 +13:00
parent 6486b3e0de
commit d36d1e9ab0
2 changed files with 19 additions and 5 deletions

View file

@ -3975,6 +3975,20 @@
"file": "/home/theflow/projects/tractatus/public/js/i18n-simple.js",
"result": "passed",
"reason": null
},
{
"hook": "validate-file-edit",
"timestamp": "2025-10-19T01:56:08.075Z",
"file": "/home/theflow/projects/tractatus/public/privacy.html",
"result": "passed",
"reason": null
},
{
"hook": "validate-file-edit",
"timestamp": "2025-10-19T01:56:08.350Z",
"file": "/home/theflow/projects/tractatus/public/privacy.html",
"result": "passed",
"reason": null
}
],
"blocks": [
@ -4196,9 +4210,9 @@
}
],
"session_stats": {
"total_edit_hooks": 388,
"total_edit_hooks": 390,
"total_edit_blocks": 32,
"last_updated": "2025-10-19T01:48:40.784Z",
"last_updated": "2025-10-19T01:56:08.350Z",
"total_write_hooks": 180,
"total_write_blocks": 4
}

View file

@ -29,8 +29,8 @@
<script src="/js/components/navbar.js?v=0.1.0.1760254958072"></script>
<!-- i18n Support -->
<script src="/js/i18n-simple.js"></script>
<script src="/js/components/language-selector.js"></script>
<script src="/js/i18n-simple.js?v=20251019145500"></script>
<script src="/js/components/language-selector.js?v=20251019145500"></script>
<!-- Main Content -->
<main id="main-content" class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
@ -246,7 +246,7 @@
</main>
<!-- Footer -->
<script src="/js/components/footer.js"></script>
<script src="/js/components/footer.js?v=20251019145500"></script>
</body>
</html>