Add message editing feature.

This commit is contained in:
Clark
2023-04-14 16:29:26 -04:00
committed by Cody Henthorne
parent 4f06a0d27c
commit 07f6baf7c1
73 changed files with 2051 additions and 304 deletions

View File

@@ -301,9 +301,13 @@
<string name="ConversationItem_cant_download_image_you_will_need_to_send_it_again">Can\'t download image. You will need to send it again.</string>
<!-- Dialog error message shown when user can\'t download a their own video message via a linked device due to a permanent failure (e.g., unable to decrypt) -->
<string name="ConversationItem_cant_download_video_you_will_need_to_send_it_again">Can\'t download video. You will need to send it again.</string>
<!-- Display as the timestamp footer in a message bubble in a conversation when a message has been edited. The timestamp will go from '11m' to 'edited 11m' -->
<string name="ConversationItem_edited_timestamp_footer">edited %1$s</string>
<!-- ConversationActivity -->
<string name="ConversationActivity_add_attachment">Add attachment</string>
<!-- Accessibility text associated with image button to send an edited message. -->
<string name="ConversationActivity_send_edit">Send edit</string>
<string name="ConversationActivity_select_contact_info">Select contact info</string>
<string name="ConversationActivity_compose_message">Compose message</string>
<string name="ConversationActivity_sorry_there_was_an_error_setting_your_attachment">Sorry, there was an error setting your attachment.</string>
@@ -311,6 +315,13 @@
<string name="ConversationActivity_message_is_empty_exclamation">Message is empty!</string>
<string name="ConversationActivity_group_members">Group members</string>
<string name="ConversationActivity__tap_here_to_start_a_group_call">Tap here to start a group call</string>
<!-- Warning toast shown to user if they somehow try to edit an sms/mms message -->
<string name="ConversationActivity_edit_sms_message_error">Unable to edit SMS messages</string>
<!-- Warning dialog text shown to user if they try to send a message edit that is too old where %1$d is replaced with the amount of hours, e.g. 3 -->
<plurals name="ConversationActivity_edit_message_too_old">
<item quantity="one">Edits can only be applied within %1$d hour from the time you sent this message.</item>
<item quantity="other">Edits can only be applied within %1$d hours from the time you sent this message.</item>
</plurals>
<string name="ConversationActivity_invalid_recipient">Invalid recipient!</string>
<string name="ConversationActivity_added_to_home_screen">Added to home screen</string>
@@ -1075,6 +1086,8 @@
<string name="InputPanel_tap_and_hold_to_record_a_voice_message_release_to_send">Tap and hold to record a voice message, release to send</string>
<!-- Message shown if the user tries to switch a conversation from Signal to SMS -->
<string name="InputPanel__sms_messaging_is_no_longer_supported_in_signal">SMS messaging is no longer supported in Signal.</string>
<!-- When editing a message, label shown above the text input field in the composer -->
<string name="InputPanel_edit_message">Edit message</string>
<!-- InviteActivity -->
<string name="InviteActivity_share">Share</string>
@@ -2653,6 +2666,8 @@
<!-- message_Details_recipient -->
<string name="message_details_recipient__failed_to_send">Failed to send</string>
<string name="message_details_recipient__new_safety_number">New safety number</string>
<!-- Button text shown in message details when the message has an edit history and this will let them view the history -->
<string name="MessageDetails__view_edit_history">View edit history</string>
<!-- AndroidManifest.xml -->
<string name="AndroidManifest__create_passphrase">Create passphrase</string>
@@ -3188,6 +3203,8 @@
<string name="conversation_selection__menu_forward">Forward</string>
<!-- Button to reply to a message; Action item with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="conversation_selection__menu_reply">Reply</string>
<!-- Button to edit a message; Action item with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="conversation_selection__menu_edit">Edit</string>
<!-- Button to save a message attachment (image, file etc.); Action item with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="conversation_selection__menu_save">Save</string>
<!-- Button to retry sending a message; Action item with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
@@ -5928,5 +5945,8 @@
<!-- Toggle button label for compact size -->
<string name="ChooseNavigationBarStyleFragment__compact">Compact</string>
<!-- Title shown at top of bottom sheet dialog for displaying a message's edit history -->
<string name="EditMessageHistoryDialog_title">Edit history</string>
<!-- EOF -->
</resources>