From d36d1e9ab02e87f470a599a60c7f37fdb2a1cd84 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Sun, 19 Oct 2025 14:56:25 +1300 Subject: [PATCH] fix(i18n): add cache-busting version strings to privacy page scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .claude/metrics/hooks-metrics.json | 18 ++++++++++++++++-- public/privacy.html | 6 +++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.claude/metrics/hooks-metrics.json b/.claude/metrics/hooks-metrics.json index 7f1f0f0b..4e99b3a6 100644 --- a/.claude/metrics/hooks-metrics.json +++ b/.claude/metrics/hooks-metrics.json @@ -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 } diff --git a/public/privacy.html b/public/privacy.html index b4d97691..f81a0bed 100644 --- a/public/privacy.html +++ b/public/privacy.html @@ -29,8 +29,8 @@ - - + +
@@ -246,7 +246,7 @@
- +