use val instead of val, make sentence more natural
This commit is contained in:
parent
0ae4d1369d
commit
85e16afaa0
|
@ -189,7 +189,7 @@ class FeedGroupDialog : DialogFragment() {
|
||||||
val groupAdapter = GroupAdapter<GroupieViewHolder>()
|
val groupAdapter = GroupAdapter<GroupieViewHolder>()
|
||||||
groupAdapter.spanCount = if (useGridLayout) 4 else 1
|
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)
|
val selectedCountText = resources.getQuantityString(R.plurals.feed_group_dialog_selection_count, subscriptionsCount, subscriptionsCount)
|
||||||
selected_subscription_count_view.text = selectedCountText
|
selected_subscription_count_view.text = selectedCountText
|
||||||
subscriptions_selector_header_info.text = selectedCountText
|
subscriptions_selector_header_info.text = selectedCountText
|
||||||
|
@ -235,7 +235,7 @@ class FeedGroupDialog : DialogFragment() {
|
||||||
item.isSelected = isSelected
|
item.isSelected = isSelected
|
||||||
item.notifyChanged(PickerSubscriptionItem.UPDATE_SELECTED)
|
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)
|
val updateSelectedCountText = resources.getQuantityString(R.plurals.feed_group_dialog_selection_count, subscriptionsCount, subscriptionsCount)
|
||||||
selected_subscription_count_view.text = updateSelectedCountText
|
selected_subscription_count_view.text = updateSelectedCountText
|
||||||
subscriptions_selector_header_info.text = updateSelectedCountText
|
subscriptions_selector_header_info.text = updateSelectedCountText
|
||||||
|
|
|
@ -570,8 +570,8 @@
|
||||||
<string name="feed_processing_message">Procesante abonfluon…</string>
|
<string name="feed_processing_message">Procesante abonfluon…</string>
|
||||||
<string name="feed_group_dialog_select_subscriptions">Seletkti abonojn</string>
|
<string name="feed_group_dialog_select_subscriptions">Seletkti abonojn</string>
|
||||||
<plurals name="feed_group_dialog_selection_count">
|
<plurals name="feed_group_dialog_selection_count">
|
||||||
<item quantity="one">Selektita: %d</item>
|
<item quantity="one">%d selektita</item>
|
||||||
<item quantity="other">Selektitaj: %d</item>
|
<item quantity="other">%d selektitaj</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<string name="feed_group_dialog_empty_selection">No subscription selected</string>
|
<string name="feed_group_dialog_empty_selection">No subscription selected</string>
|
||||||
<string name="feed_group_dialog_empty_name">Malplena grupa nomo</string>
|
<string name="feed_group_dialog_empty_name">Malplena grupa nomo</string>
|
||||||
|
|
|
@ -577,8 +577,8 @@
|
||||||
<string name="feed_group_dialog_select_subscriptions">Choisir les abonnements</string>
|
<string name="feed_group_dialog_select_subscriptions">Choisir les abonnements</string>
|
||||||
<string name="feed_group_dialog_empty_selection">Aucun abonnement sélectionné</string>
|
<string name="feed_group_dialog_empty_selection">Aucun abonnement sélectionné</string>
|
||||||
<plurals name="feed_group_dialog_selection_count">
|
<plurals name="feed_group_dialog_selection_count">
|
||||||
<item quantity="one">Sélectionné : %d</item>
|
<item quantity="one">%d sélectionné</item>
|
||||||
<item quantity="other">Sélectionnés : %d</item>
|
<item quantity="other">%d sélectionnés</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<string name="feed_group_dialog_empty_name">Nom de groupe vide</string>
|
<string name="feed_group_dialog_empty_name">Nom de groupe vide</string>
|
||||||
<string name="feed_group_dialog_name_input">Nom</string>
|
<string name="feed_group_dialog_name_input">Nom</string>
|
||||||
|
|
|
@ -625,8 +625,8 @@
|
||||||
<string name="feed_group_dialog_select_subscriptions">Select subscriptions</string>
|
<string name="feed_group_dialog_select_subscriptions">Select subscriptions</string>
|
||||||
<string name="feed_group_dialog_empty_selection">No subscription selected</string>
|
<string name="feed_group_dialog_empty_selection">No subscription selected</string>
|
||||||
<plurals name="feed_group_dialog_selection_count">
|
<plurals name="feed_group_dialog_selection_count">
|
||||||
<item quantity="one">Selected: %d</item>
|
<item quantity="one">%d selected</item>
|
||||||
<item quantity="other">Selected: %d</item>
|
<item quantity="other">%d selected</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<string name="feed_group_dialog_empty_name">Empty group name</string>
|
<string name="feed_group_dialog_empty_name">Empty group name</string>
|
||||||
<string name="feed_group_dialog_name_input">Name</string>
|
<string name="feed_group_dialog_name_input">Name</string>
|
||||||
|
|
Loading…
Reference in New Issue