diff --git a/client/components/lists/list.js b/client/components/lists/list.js index 1b54741c4..cdf30fc2f 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 57fe03e73..f0646c8df 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",