better confirmation message

This commit is contained in:
B. Petersen
2024-10-11 01:32:29 +02:00
committed by bjoern
parent d3328df6f2
commit 86a9da5062
2 changed files with 3 additions and 2 deletions
@@ -678,7 +678,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
}
private void askSendingFiles(ArrayList<Uri> uriList, Runnable onConfirm) {
String message = String.format(getString(R.string.ask_send_files_to_selected_chat), uriList.size());
String message = String.format(getString(R.string.ask_send_files_to_chat), uriList.size(), dcChat.getName());
if (SendRelayedMessageUtil.containsVideoType(context, uriList)) {
message += "\n\n" + getString(R.string.videos_sent_without_recoding);
}
+2 -1
View File
@@ -656,7 +656,8 @@
<!-- share and forward messages -->
<!-- Translators: shown above a chat/contact list when selecting recipients to forward messages -->
<string name="forward_to">Forward to…</string>
<string name="ask_send_files_to_selected_chat">Send %1$d files to the selected chat?</string>
<!-- first placeholder is replaced by the number of files (always 2 or more); second placeholder is replaced by a chat name -->
<string name="ask_send_files_to_chat">Send %1$d files to \"%2$s\"?</string>
<string name="ask_send_files_to_selected_chats">Send %1$d file(s) to %2$d chats?</string>
<string name="videos_sent_without_recoding">(Videos are sent as original, big files. To send videos as smaller files, attach them separately)</string>
<string name="share_text_multiple_chats">Send this text to %1$d chats?\n\n\"%2$s\"</string>