mirror of
https://github.com/wekan/wekan.git
synced 2026-01-09 19:18:50 +01:00
Merge pull request #2119 from bentiss/fix-color-translation
Fix: Translate and add colors to IFTTT Rules dropdown."
This commit is contained in:
commit
6e28dec712
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ BlazeComponent.extendComponent({
|
|||
if (labels[i].name === '' || labels[i].name === undefined) {
|
||||
labels[i].name = labels[i].color;
|
||||
labels[i].translatedname = `${TAPi18n.__(`color-${ labels[i].color}`)}`;
|
||||
} else {
|
||||
labels[i].translatedname = labels[i].name;
|
||||
}
|
||||
}
|
||||
return labels;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue