2
0
Эх сурвалжийг харах

Includes JS file to previous commit

helioguardabaxo 3 жил өмнө
parent
commit
3bdea42f6d

+ 8 - 0
client/components/lists/listHeader.js

@@ -85,6 +85,14 @@ BlazeComponent.extendComponent({
     return limit >= 0 && count >= limit;
   },
 
+  cardsCountForListIsOne(count) {
+    if (count === 1) {
+      return TAPi18n.__('cards-count-one');
+    } else {
+      return TAPi18n.__('cards-count');
+    }
+  },
+
   events() {
     return [
       {