1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-16 13:50:49 +01:00

use val instead of val, make sentence more natural

This commit is contained in:
bopol 2020-03-18 18:42:47 +01:00 committed by Mauricio Colli
parent 0ae4d1369d
commit 85e16afaa0
4 changed files with 8 additions and 8 deletions

View File

@ -189,7 +189,7 @@ class FeedGroupDialog : DialogFragment() {
val groupAdapter = GroupAdapter<GroupieViewHolder>()
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

View File

@ -570,8 +570,8 @@
<string name="feed_processing_message">Procesante abonfluon…</string>
<string name="feed_group_dialog_select_subscriptions">Seletkti abonojn</string>
<plurals name="feed_group_dialog_selection_count">
<item quantity="one">Selektita: %d</item>
<item quantity="other">Selektitaj: %d</item>
<item quantity="one">%d selektita</item>
<item quantity="other">%d selektitaj</item>
</plurals>
<string name="feed_group_dialog_empty_selection">No subscription selected</string>
<string name="feed_group_dialog_empty_name">Malplena grupa nomo</string>

View File

@ -577,8 +577,8 @@
<string name="feed_group_dialog_select_subscriptions">Choisir les abonnements</string>
<string name="feed_group_dialog_empty_selection">Aucun abonnement sélectionné</string>
<plurals name="feed_group_dialog_selection_count">
<item quantity="one">Sélectionné : %d</item>
<item quantity="other">Sélectionnés : %d</item>
<item quantity="one">%d sélectionné</item>
<item quantity="other">%d sélectionnés</item>
</plurals>
<string name="feed_group_dialog_empty_name">Nom de groupe vide</string>
<string name="feed_group_dialog_name_input">Nom</string>

View File

@ -625,8 +625,8 @@
<string name="feed_group_dialog_select_subscriptions">Select subscriptions</string>
<string name="feed_group_dialog_empty_selection">No subscription selected</string>
<plurals name="feed_group_dialog_selection_count">
<item quantity="one">Selected: %d</item>
<item quantity="other">Selected: %d</item>
<item quantity="one">%d selected</item>
<item quantity="other">%d selected</item>
</plurals>
<string name="feed_group_dialog_empty_name">Empty group name</string>
<string name="feed_group_dialog_name_input">Name</string>