Merge pull request #4088 from ByteHamster/selected-quantity
Allow plural of 'x selected' string
This commit is contained in:
commit
5287322a89
|
@ -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