diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-05-01 11:33:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 11:33:05 +0200 |
commit | 5287322a89430b5148801c4604b8dda606ebcdea (patch) | |
tree | 1f9bc66450ed48cda4ec72415bbbff0ed77bb0ba /app | |
parent | 07636521994b669940d11db6e8142e81f6db4e62 (diff) | |
parent | 46ddcf3c49f6fc278530c4d73b076e79d5a9c993 (diff) | |
download | AntennaPod-5287322a89430b5148801c4604b8dda606ebcdea.zip |
Merge pull request #4088 from ByteHamster/selected-quantity
Allow plural of 'x selected' string
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java index 7e052b445..9198c7a3e 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/EpisodesApplyActionFragment.java @@ -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() { |