mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-10 16:06:34 +01:00
Allow plural of 'x selected' string
This commit is contained in:
parent
8c9e78a417
commit
46ddcf3c49
@ -410,7 +410,8 @@ public class EpisodesApplyActionFragment extends Fragment {
|
||||
}
|
||||
ActivityCompat.invalidateOptionsMenu(EpisodesApplyActionFragment.this.getActivity());
|
||||
showSpeedDialIfAnyChecked();
|
||||
toolbar.setTitle(getString(R.string.num_selected_label, checkedIds.size()));
|
||||
toolbar.setTitle(getResources().getQuantityString(R.plurals.num_selected_label,
|
||||
checkedIds.size(), checkedIds.size()));
|
||||
}
|
||||
|
||||
private void queueChecked() {
|
||||
|
@ -116,7 +116,9 @@
|
||||
<item quantity="one">1 day after finishing</item>
|
||||
<item quantity="other">%d days after finishing</item>
|
||||
</plurals>
|
||||
<string name="num_selected_label">%d selected</string>
|
||||
<plurals name="num_selected_label">
|
||||
<item quantity="other">%d selected</item>
|
||||
</plurals>
|
||||
<string name="loading_more">Loading more…</string>
|
||||
|
||||
<!-- Actions on feeds -->
|
||||
|
Loading…
Reference in New Issue
Block a user