Fix translations.
This commit is contained in:
parent
46eed07db2
commit
d64b1a450c
|
@ -1,6 +1,6 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
input: {
|
input: {
|
||||||
path: './vue',
|
path: './src',
|
||||||
include: ["**/*.js", "**/*.ts", "**/*.vue"]
|
include: ["**/*.js", "**/*.ts", "**/*.vue"]
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
|
|
@ -19,10 +19,8 @@ export async function installTranslate(vueApp: App): Promise<void> {
|
||||||
translations: (localePath in translations) ?
|
translations: (localePath in translations) ?
|
||||||
await translations[localePath]()
|
await translations[localePath]()
|
||||||
: {},
|
: {},
|
||||||
silent: false
|
silent: true
|
||||||
});
|
});
|
||||||
|
|
||||||
window.gettext = gettext;
|
|
||||||
|
|
||||||
vueApp.use(gettext);
|
vueApp.use(gettext);
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue