summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-06 22:32:13 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-06 22:36:36 +0200
commit54bc9d0dcbd9c2a0c3099a9ae46126fb1b81779d (patch)
tree5142d3b9277c5794ec5bba2ada149c2ff03c07c5
parentcd8434bf228fd17d8892e8e9e74ffdab0fef2c86 (diff)
downloadwekan-54bc9d0dcbd9c2a0c3099a9ae46126fb1b81779d.tar.gz
wekan-54bc9d0dcbd9c2a0c3099a9ae46126fb1b81779d.tar.bz2
wekan-54bc9d0dcbd9c2a0c3099a9ae46126fb1b81779d.zip
Add a missing translation
-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",