summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2020-05-01 11:33:05 +0200
committerGitHub <noreply@github.com>2020-05-01 11:33:05 +0200
commit5287322a89430b5148801c4604b8dda606ebcdea (patch)
tree1f9bc66450ed48cda4ec72415bbbff0ed77bb0ba /app
parent07636521994b669940d11db6e8142e81f6db4e62 (diff)
parent46ddcf3c49f6fc278530c4d73b076e79d5a9c993 (diff)
downloadAntennaPod-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.java3
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() {