mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Switch tap:i18n to custom TAPi18n implementation
This commit is contained in:
parent
40265144af
commit
60af7766bf
157 changed files with 1991 additions and 5190 deletions
|
@ -1,3 +1,4 @@
|
|||
import { TAPi18n } from '/imports/i18n';
|
||||
import { runOnServer } from './runOnServer';
|
||||
|
||||
runOnServer(function() {
|
||||
|
@ -49,12 +50,12 @@ runOnServer(function() {
|
|||
isAdmin: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
let userLanguage = 'en';
|
||||
if(user && user.profile){
|
||||
userLanguage = user.profile.language
|
||||
}
|
||||
|
||||
|
||||
const exporterExcel = new ExporterExcel(boardId, userLanguage);
|
||||
if (exporterExcel.canExport(user) || impersonateDone) {
|
||||
if (impersonateDone) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue