mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 17:48:49 +01:00
i18n-ize meteor email templates
This commit is contained in:
parent
8d5d7ee678
commit
892d1a2d45
3 changed files with 23 additions and 0 deletions
|
|
@ -68,6 +68,16 @@ Users.helpers({
|
|||
return this.username[0].toUpperCase();
|
||||
}
|
||||
},
|
||||
|
||||
getName() {
|
||||
const profile = this.profile || {};
|
||||
return profile.fullname || this.username;
|
||||
},
|
||||
|
||||
getLanguage() {
|
||||
const profile = this.profile || {};
|
||||
return profile.language || 'en';
|
||||
},
|
||||
});
|
||||
|
||||
Users.mutations({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue