浏览代码

Fixed count of found cards in Global Search.

Thanks to xet7 !
Lauri Ojansivu 2 年之前
父节点
当前提交
9af03b0416
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/lib/cardSearch.js

+ 1 - 1
client/lib/cardSearch.js

@@ -168,7 +168,7 @@ export class CardSearchPagedComponent extends BlazeComponent {
     } else if (this.resultsCount === 1) {
       return TAPi18n.__('one-card-found');
     } else if (this.resultsCount === this.totalHits) {
-      return TAPi18n.__('n-cards-found', this.resultsCount);
+      return TAPi18n.__('n-cards-found').replace('%s', this.resultsCount);
     }
 
     return TAPi18n.__('n-n-of-n-cards-found', {