From 85e16afaa0dab266e005d554969d825584fee574 Mon Sep 17 00:00:00 2001 From: bopol Date: Wed, 18 Mar 2020 18:42:47 +0100 Subject: [PATCH] use val instead of val, make sentence more natural --- .../newpipe/local/subscription/dialog/FeedGroupDialog.kt | 4 ++-- app/src/main/res/values-eo/strings.xml | 4 ++-- app/src/main/res/values-fr/strings.xml | 4 ++-- app/src/main/res/values/strings.xml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/local/subscription/dialog/FeedGroupDialog.kt b/app/src/main/java/org/schabi/newpipe/local/subscription/dialog/FeedGroupDialog.kt index eecbf515d..b1fef5671 100644 --- a/app/src/main/java/org/schabi/newpipe/local/subscription/dialog/FeedGroupDialog.kt +++ b/app/src/main/java/org/schabi/newpipe/local/subscription/dialog/FeedGroupDialog.kt @@ -189,7 +189,7 @@ class FeedGroupDialog : DialogFragment() { val groupAdapter = GroupAdapter() groupAdapter.spanCount = if (useGridLayout) 4 else 1 - var subscriptionsCount = this.selectedSubscriptions.size + val subscriptionsCount = this.selectedSubscriptions.size val selectedCountText = resources.getQuantityString(R.plurals.feed_group_dialog_selection_count, subscriptionsCount, subscriptionsCount) selected_subscription_count_view.text = selectedCountText subscriptions_selector_header_info.text = selectedCountText @@ -235,7 +235,7 @@ class FeedGroupDialog : DialogFragment() { item.isSelected = isSelected item.notifyChanged(PickerSubscriptionItem.UPDATE_SELECTED) - subscriptionsCount = this.selectedSubscriptions.size + val subscriptionsCount = this.selectedSubscriptions.size val updateSelectedCountText = resources.getQuantityString(R.plurals.feed_group_dialog_selection_count, subscriptionsCount, subscriptionsCount) selected_subscription_count_view.text = updateSelectedCountText subscriptions_selector_header_info.text = updateSelectedCountText diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index e4e3d708d..ef5b13df8 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -570,8 +570,8 @@ Procesante abonfluon… Seletkti abonojn - Selektita: %d - Selektitaj: %d + %d selektita + %d selektitaj No subscription selected Malplena grupa nomo diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 876900688..42a9fd410 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -577,8 +577,8 @@ Choisir les abonnements Aucun abonnement sélectionné - Sélectionné : %d - Sélectionnés : %d + %d sélectionné + %d sélectionnés Nom de groupe vide Nom diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3f4ff7c00..174fd6c00 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -625,8 +625,8 @@ Select subscriptions No subscription selected - Selected: %d - Selected: %d + %d selected + %d selected Empty group name Name