Fix missing translations in the drive

pull/1/head
yflory 7 years ago committed by ansuz
parent 1613b1c086
commit 4c9078aba1

@ -18,6 +18,7 @@ define([
'/common/common-thumbnail.js', '/common/common-thumbnail.js',
'/common/common-interface.js', '/common/common-interface.js',
'/common/common-feedback.js', '/common/common-feedback.js',
'/common/common-language.js',
'/bower_components/localforage/dist/localforage.min.js' '/bower_components/localforage/dist/localforage.min.js'
], function ( ], function (
$, $,
@ -38,6 +39,7 @@ define([
Thumb, Thumb,
UI, UI,
Feedback, Feedback,
Language,
localForage localForage
) { ) {
// Chainpad Netflux Inner // Chainpad Netflux Inner
@ -330,6 +332,7 @@ define([
// CpNfInner.start() should be here.... // CpNfInner.start() should be here....
}).nThen(function (waitFor) { }).nThen(function (waitFor) {
localForage.clear(); localForage.clear();
Language.applyTranslation();
ctx.metadataMgr = MetadataMgr.create(ctx.sframeChan); ctx.metadataMgr = MetadataMgr.create(ctx.sframeChan);

Loading…
Cancel
Save