Skip to content

Commit

Permalink
better confirmation message
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Oct 14, 2024
1 parent d3328df commit 86a9da5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ private void handleForwarding() {
}

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);
}
Expand Down
3 changes: 2 additions & 1 deletion src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 86a9da5

Please sign in to comment.