mirror of
https://github.com/wekan/wekan.git
synced 2025-12-23 10:50:13 +01:00
Reverted translation fix that sometimes did not work.
Thanks to xet7 ! Fixes #5751, related https://github.com/wekan/wekan/pull/5748
This commit is contained in:
parent
9488972ed8
commit
c825895ceb
1 changed files with 7 additions and 10 deletions
|
|
@ -2,16 +2,13 @@ import { TAPi18n } from './tap';
|
||||||
import './accounts';
|
import './accounts';
|
||||||
import './moment';
|
import './moment';
|
||||||
|
|
||||||
export { TAPi18n };
|
|
||||||
|
|
||||||
if (Meteor.isClient) {
|
if (Meteor.isClient) {
|
||||||
(async () => {
|
import './blaze';
|
||||||
await import('./blaze');
|
|
||||||
await TAPi18n.init();
|
|
||||||
})();
|
|
||||||
} else {
|
|
||||||
(async () => {
|
|
||||||
await TAPi18n.init();
|
|
||||||
})();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export { TAPi18n };
|
||||||
|
|
||||||
|
(async () => {
|
||||||
|
await TAPi18n.init();
|
||||||
|
})();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue