mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-04 10:09:18 +02:00
Add (dumb) versionning on i18n js
This commit is contained in:
parent
5bd550e61d
commit
cab2d0a34e
1 changed files with 1 additions and 1 deletions
|
@ -930,7 +930,7 @@ jQuery.PrivateBin = (function($) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// load strings from JSON
|
// load strings from JSON
|
||||||
$.getJSON('i18n/' + newLanguage + '.json', function(data) {
|
$.getJSON('i18n/' + newLanguage + '.json?v=' + Math.floor(Date.now() / 60000), function(data) {
|
||||||
language = newLanguage;
|
language = newLanguage;
|
||||||
translations = data;
|
translations = data;
|
||||||
$(document).triggerHandler(languageLoadedEvent);
|
$(document).triggerHandler(languageLoadedEvent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue