summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/lists/list.js6
-rw-r--r--i18n/en.i18n.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index 1b54741c..cdf30fc2 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -38,10 +38,8 @@ BlazeComponent.extendComponent({
const andNOthers = $cards.find('.js-minicard.is-checked').length - 1;
if (andNOthers > 0) {
helper.append($(Blaze.toHTML(HTML.DIV(
- // XXX Super bad class name
- {'class': 'and-n-other'},
- // XXX Need to translate
- `and ${andNOthers} other cards.`
+ { 'class': 'and-n-other' },
+ TAPi18n.__('and-n-other-card', { count: andNOthers })
))));
}
}
diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json
index 57fe03e7..f0646c8d 100644
--- a/i18n/en.i18n.json
+++ b/i18n/en.i18n.json
@@ -26,6 +26,8 @@
"admin": "Admin",
"admin-desc": "Can view and edit cards, remove members, and change settings for the board.",
"all-boards": "All boards",
+ "and-n-other-card": "And __count__ other card",
+ "and-n-other-card_plural": "And __count__ other cards",
"archive": "Archive",
"archive-all": "Archive All",
"archive-board": "Archive Board",