Add support for scheduled message sends.

This commit is contained in:
Clark
2023-01-26 10:37:08 -05:00
committed by Greyson Parrelli
parent df695f7611
commit f3e715e069
59 changed files with 1948 additions and 90 deletions

View File

@@ -630,6 +630,47 @@
<string name="DateUtils_minutes_ago">%dm</string>
<string name="DateUtils_today">Today</string>
<string name="DateUtils_yesterday">Yesterday</string>
<!-- When scheduling a message, %1$s replaced with either today, tonight, or tomorrow. %2$s replaced with the time. e.g. Tonight at 9:00pm -->
<string name="DateUtils_schedule_at">%1$s at %2$s</string>
<!-- Used when getting a time in the future. For example, Tomorrow at 9:00pm -->
<string name="DateUtils_tomorrow">Tomorrow</string>
<!-- Used in the context: Tonight at 9:00pm for example. Specifically this is after 7pm -->
<string name="DateUtils_tonight">Tonight</string>
<!-- Scheduled Messages -->
<!-- Title for dialog that shows all the users scheduled messages for a chat -->
<string name="ScheduledMessagesBottomSheet__schedules_messages">Scheduled messages</string>
<!-- Option when scheduling a message to select a specific date and time to send a message -->
<string name="ScheduledMessages_pick_time">Pick Date &amp; Time</string>
<!-- Title for dialog explaining to users how the scheduled messages work -->
<string name="ScheduleMessageFTUXBottomSheet__title">Scheduled messages</string>
<!-- Disclaimer text for scheduled messages explaining to users that the scheduled messages will only send if connected to the internet -->
<string name="ScheduleMessageFTUXBottomSheet__disclaimer">When you send a scheduled message, make sure your device will be on and connected to the internet at the time of sending. If not, your message will send when your device reconnects.</string>
<!-- Confirmation button text acknowledging the user understands the disclaimer -->
<string name="ScheduleMessageFTUXBottomSheet__okay">Okay</string>
<!-- Title of dialog with a calendar to select the date the user wants to schedule a message. -->
<string name="ScheduleMessageTimePickerBottomSheet__select_date_title">Select date</string>
<!-- Title of dialog with a clock to select the time at which the user wants to schedule a message. -->
<string name="ScheduleMessageTimePickerBottomSheet__select_time_title">Select time</string>
<!-- Title of dialog that allows user to set the time and day that their message will be sent -->
<string name="ScheduleMessageTimePickerBottomSheet__dialog_title">Schedule message</string>
<!-- Text for confirmation button when scheduling messages that allows the user to confirm and schedule the sending time -->
<string name="ScheduleMessageTimePickerBottomSheet__schedule_send">Schedule send</string>
<!-- Disclaimer in message scheduling dialog. %1$s replaced with a GMT offset (e.g. GMT-05:00), and %2$s is replaced with the time zone name (e.g. Eastern Standard Time) -->
<string name="ScheduleMessageTimePickerBottomSheet__timezone_disclaimer">All times in (%1$s) %2$s</string>
<!-- Context menu option to send a scheduled message now -->
<string name="ScheduledMessagesBottomSheet_menu_send_now">Send now</string>
<!-- Context menu option to reschedule a selected message -->
<string name="ScheduledMessagesBottomSheet_menu_reschedule">Reschedule</string>
<!-- Button in dialog asking user if they are sure they want to delete the selected scheduled message -->
<string name="ScheduledMessagesBottomSheet_delete_dialog_action">Delete</string>
<!-- Button in dialog asking user if they are sure they want to delete the selected scheduled message -->
<string name="ScheduledMessagesBottomSheet_delete_dialog_message">Delete selected scheduled message?</string>
<!-- Progress message shown while deleting selected scheduled message -->
<string name="ScheduledMessagesBottomSheet_deleting_progress_message">Deleting scheduled message…</string>
<!-- DecryptionFailedDialog -->
<string name="DecryptionFailedDialog_chat_session_refreshed">Chat session refreshed</string>
@@ -2212,6 +2253,8 @@
<string name="conversation_activity__type_message_push">Signal message</string>
<string name="conversation_activity__type_message_sms_insecure">Unsecured SMS</string>
<string name="conversation_activity__type_message_mms_insecure">Unsecured MMS</string>
<!-- Option in send button context menu to schedule the message instead of sending it directly -->
<string name="conversation_activity__option_schedule_message">Schedule message</string>
<string name="conversation_activity__from_sim_name">From %1$s</string>
<string name="conversation_activity__sim_n">SIM %1$d</string>
<string name="conversation_activity__send">Send</string>
@@ -3100,6 +3143,16 @@
<!-- conversation_callable_insecure -->
<string name="conversation_add_to_contacts__menu_add_to_contacts">Add to contacts</string>
<!-- conversation scheduled messages bar -->
<!-- Label for button in a banner to show all messages currently scheduled -->
<string name="conversation_scheduled_messages_bar__see_all">See all</string>
<!-- Body text for banner to show all scheduled messages for the chat that tells the user how many scheduled messages there are -->
<plurals name="conversation_scheduled_messages_bar__number_of_messages">
<item quantity="one">%1$d message scheduled</item>
<item quantity="other">%1$d messages scheduled</item>
</plurals>
<!-- conversation_group_options -->
<string name="convesation_group_options__recipients_list">Recipients list</string>
<string name="conversation_group_options__delivery">Delivery</string>