Change dialog title

This commit is contained in:
Thomas 2023-12-15 13:48:51 +01:00
parent 0ea5791fbd
commit c895b1c4af
2 changed files with 2 additions and 1 deletions

View file

@ -542,7 +542,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
//User asked to be prompted for threading long messages //User asked to be prompted for threading long messages
if(defaultFormat.compareToIgnoreCase("ASK") == 0) { if(defaultFormat.compareToIgnoreCase("ASK") == 0) {
AlertDialog.Builder threadConfirm = new MaterialAlertDialogBuilder(context); AlertDialog.Builder threadConfirm = new MaterialAlertDialogBuilder(context);
threadConfirm.setTitle(context.getString(R.string.thread_long_message)); threadConfirm.setTitle(context.getString(R.string.thread_long_this_message));
threadConfirm.setMessage(context.getString(R.string.thread_long_message_message)); threadConfirm.setMessage(context.getString(R.string.thread_long_message_message));
threadConfirm.setNegativeButton(R.string.thread_long_message_no, (dialog, which) -> dialog.dismiss()); threadConfirm.setNegativeButton(R.string.thread_long_message_no, (dialog, which) -> dialog.dismiss());
threadConfirm.setPositiveButton(R.string.thread_long_message_yes, (dialog, which) -> { threadConfirm.setPositiveButton(R.string.thread_long_message_yes, (dialog, which) -> {

View file

@ -1873,6 +1873,7 @@
<string name="mute_tag">Are you sure to mute the tag %1$s?</string> <string name="mute_tag">Are you sure to mute the tag %1$s?</string>
<string name="type_of_theme">Pickup a mode for the theme</string> <string name="type_of_theme">Pickup a mode for the theme</string>
<string name="thread_long_message">Divide long messages in replies</string> <string name="thread_long_message">Divide long messages in replies</string>
<string name="thread_long_this_message">Divide this messages in replies?</string>
<string name="thread_long_message_no">Don\'t divide it</string> <string name="thread_long_message_no">Don\'t divide it</string>
<string name="thread_long_message_yes">Divide the message</string> <string name="thread_long_message_yes">Divide the message</string>
<string name="thread_long_message_message">The message will be divided in several replies to follow your instance max characters.</string> <string name="thread_long_message_message">The message will be divided in several replies to follow your instance max characters.</string>