summaryrefslogtreecommitdiffstats
path: root/client/components/rules/triggers/cardTriggers.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/rules/triggers/cardTriggers.js')
-rw-r--r--client/components/rules/triggers/cardTriggers.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/components/rules/triggers/cardTriggers.js b/client/components/rules/triggers/cardTriggers.js
index 2303a85b..ca282fa7 100644
--- a/client/components/rules/triggers/cardTriggers.js
+++ b/client/components/rules/triggers/cardTriggers.js
@@ -6,7 +6,8 @@ BlazeComponent.extendComponent({
const labels = Boards.findOne(Session.get('currentBoard')).labels;
for (let i = 0; i < labels.length; i++) {
if (labels[i].name === '' || labels[i].name === undefined) {
- labels[i].name = labels[i].color.toUpperCase();
+ labels[i].name = labels[i].color;
+ labels[i].translatedname = `${TAPi18n.__(`color-${ labels[i].color}`)}`;
}
}
return labels;