diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 00a35fe3c6..2ab6ddc1d0 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1138,8 +1138,9 @@ public class FragmentMessages extends FragmentBase { } private void onActionDeleteSelection() { + int count = selectionTracker.getSelection().size(); new DialogBuilderLifecycle(getContext(), getViewLifecycleOwner()) - .setMessage(R.string.title_ask_delete_selected) + .setMessage(getResources().getQuantityString(R.plurals.title_deleting_messages, count, count)) .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 165dcc4ac4..5d4cfdc43e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -47,6 +47,11 @@ Move %1$d messages to %2$s? + + Delete %1$d message permanently? + Delete %1$d messages permanently? + + Report %1$d message as spam? Report %1$d messages as spam? @@ -322,7 +327,6 @@ Some attachments are not downloaded and will not be added, continue? Some images are not downloaded and will not be added, continue? Delete message permanently? - Delete selected messages permanently? Delete reply template permanently? Delete rule permanently? Discard draft?