Reverted translation fix that sometimes did not work.

Thanks to xet7 !

Fixes #5751,
related https://github.com/wekan/wekan/pull/5748
pull/5754/head
Lauri Ojansivu 3 weeks ago
parent 9488972ed8
commit c825895ceb
  1. 17
      imports/i18n/index.js

@ -2,16 +2,13 @@ import { TAPi18n } from './tap';
import './accounts';
import './moment';
export { TAPi18n };
if (Meteor.isClient) {
(async () => {
await import('./blaze');
await TAPi18n.init();
})();
} else {
(async () => {
await TAPi18n.init();
})();
import './blaze';
}
export { TAPi18n };
(async () => {
await TAPi18n.init();
})();

Loading…
Cancel
Save