mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 09:49:14 +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
|
||||
$.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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue