X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fstore.js;h=32347119caedfef7dec35c302402422c2b82925f;hb=7c3cd3794ee13c41fc623179f7d4142d0d3e74da;hp=e8f4284bf6f4b709e49f7128ebf609452afd0812;hpb=fb54f098a565034c09c111f1141d2c60073b4a61;p=vchess.git diff --git a/client/src/store.js b/client/src/store.js index e8f4284b..32347119 100644 --- a/client/src/store.js +++ b/client/src/store.js @@ -43,9 +43,7 @@ export const store = this.setTranslations(); }, setTranslations: async function() { - // Fill modalWelcome, and import translations from "./translations/$lang.js" - document.getElementById("modalWelcome").innerHTML = - require("raw-loader!pug-plain-loader!@/welcome/" + this.state.lang + ".pug"); + // Import translations from "./translations/$lang.js" const tModule = await import("@/translations/" + this.state.lang + ".js"); this.state.tr = tModule.translations; },