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:
Lauri Ojansivu 2025-04-25 22:06:06 +03:00
parent 9488972ed8
commit c825895ceb

View file

@ -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();
})();