From cab2d0a34e90ae146c17da3b5157c522b12bfcaf Mon Sep 17 00:00:00 2001 From: TW - Vincent <315173+touchweb-vincent@users.noreply.github.com> Date: Sun, 21 Sep 2025 13:25:41 +0200 Subject: [PATCH] Add (dumb) versionning on i18n js --- js/privatebin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/privatebin.js b/js/privatebin.js index 2ee9ad7e..37472858 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -930,7 +930,7 @@ jQuery.PrivateBin = (function($) { } // load strings from JSON - $.getJSON('i18n/' + newLanguage + '.json', function(data) { + $.getJSON('i18n/' + newLanguage + '.json?v=' + Math.floor(Date.now() / 60000), function(data) { language = newLanguage; translations = data; $(document).triggerHandler(languageLoadedEvent);