From 1c71dc964f133f9b583fba3c3c60f0d60677e632 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Sun, 5 Jan 2020 00:50:08 +0100 Subject: [PATCH] Rename barcodecount to card count because barcodeless card support --- .../main/java/protect/card_locker/LoyaltyCardCursorAdapter.java | 2 +- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardCursorAdapter.java b/app/src/main/java/protect/card_locker/LoyaltyCardCursorAdapter.java index 81f348b3a..94801878c 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardCursorAdapter.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardCursorAdapter.java @@ -57,7 +57,7 @@ class LoyaltyCardCursorAdapter extends CursorAdapter noteField.setVisibility(View.VISIBLE); if(cardCount > 1) { - noteField.setText(context.getResources().getString(R.string.cardBarcodeCount, cardCount)); + noteField.setText(context.getResources().getString(R.string.cardCount, cardCount)); } else { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index bb6a51305..be132dd78 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -7,7 +7,7 @@ You don\'t have any loyalty cards at the moment. Click the "+" (plus) button up top to get started.\n\nLoyalty Card Locker lets you carry your loyalty cards on your phone, so they are always within reach. No loyalty cards match the search filter. Please try some different terms. - %1$d barcodes + %1$d cards Store Note