Add group terminate support.

This commit is contained in:
Cody Henthorne
2026-03-19 16:10:26 -04:00
parent 0896718e5c
commit a0c0acb8fc
130 changed files with 1312 additions and 146 deletions

View File

@@ -519,6 +519,7 @@
<string name="ConversationActivity_unable_to_record_audio">Unable to record audio!</string>
<string name="ConversationActivity_you_cant_send_messages_to_this_group">You can\'t send messages to this group because you\'re no longer a member.</string>
<string name="DisabledInputView__incognito_mode" translatable="false">Incognito mode (Labs)</string>
<string name="ConversationActivity_you_cant_send_messages_because_group_ended">You can\'t send messages because the group was ended.</string>
<string name="ConversationActivity_only_s_can_send_messages">Only %1$s can send messages.</string>
<string name="ConversationActivity_admins">admins</string>
<string name="ConversationActivity_message_an_admin">Message an admin</string>
@@ -1882,6 +1883,12 @@
<string name="MessageRecord_left_group">You have left the group.</string>
<string name="MessageRecord_you_updated_group">You updated the group.</string>
<string name="MessageRecord_the_group_was_updated">The group was updated.</string>
<!-- Update message shown a group is terminated, but the person that terminated it is unknown. -->
<string name="MessageRecord_the_group_was_terminated">The group has been ended</string>
<!-- Update message shown when a group is terminated, placeholder is the name of the person that terminated the group. -->
<string name="MessageRecord_s_terminated_the_group">%1$s ended the group</string>
<!-- Update message shown when a group is terminated by you -->
<string name="MessageRecord_you_terminated_the_group">You ended the group</string>
<!-- Update message shown when placing an outgoing 1:1 voice/audio call -->
<string name="MessageRecord_outgoing_voice_call">Outgoing voice call</string>
<!-- Update message shown when placing an outgoing 1:1 video call -->
@@ -3616,6 +3623,8 @@
<!-- Accessibility content description describing how a user can lock voice note recording. -->
<string name="conversation_activity__quick_attachment_drawer_lock_record_description">Lock recording of audio attachment</string>
<string name="conversation_activity__message_could_not_be_sent">Message could not be sent. Check your connection and try again.</string>
<!-- Dialog body shown when tapping a failed message in a terminated group -->
<string name="conversation_activity__send_failed_group_ended">Send failed because the group was ended. You can no longer send and receive messages in this group.</string>
<!-- Dialog body when a message failed to delete and retry is possible. -->
<string name="conversation_activity__message_failed_to_delete_retry">Message failed to delete. Check your connection and try again.</string>
<!-- Dialog body when a message failed to delete. -->
@@ -6034,6 +6043,19 @@
<string name="ConversationSettingsFragment__get_badges">Get badges for your profile by supporting Signal. Tap on a badge to learn more.</string>
<!-- Error message shown when the user is trying to open a media that is not sent yet. -->
<string name="ConversationSettingsFragment__this_media_is_not_sent_yet">This media is not sent yet.</string>
<!-- End group option in group conversation settings screen -->
<string name="ConversationSettingsFragment__end_group">End group</string>
<!-- Banner shown at the top of group settings when the group has been ended -->
<string name="ConversationSettingsFragment__this_group_was_ended">This group was ended.</string>
<!-- Archive chat option in group conversation settings screen -->
<string name="ConversationSettingsFragment__archive_chat">Archive chat</string>
<!-- Delete chat option in group conversation settings screen -->
<string name="ConversationSettingsFragment__delete_chat">Delete chat</string>
<!-- Member section header for terminated groups. %1$d is the member count -->
<plurals name="ConversationSettingsFragment__d_former_members">
<item quantity="one">%1$d former member</item>
<item quantity="other">%1$d former members</item>
</plurals>
<!-- PermissionsSettingsFragment -->
<string name="PermissionsSettingsFragment__add_members">Add members</string>
@@ -8505,6 +8527,30 @@
<!-- Secondary action button on bottom sheet -->
<string name="MediaNoLongerAvailableSheet__not_now">Not now</string>
<!-- End group button label shown in confirmation dialogs -->
<string name="EndGroupDialog__end_group">End group</string>
<!-- Title of first end group confirmation dialog. %1$s is the group name -->
<string name="EndGroupDialog__end_s">End \"%1$s\"?</string>
<!-- Body of first end group confirmation dialog -->
<string name="EndGroupDialog__members_will_no_longer_be_able_to_send">Members will no longer be able to send messages or start calls in the group. They will be notified that you ended the group, and will still have access to message history.</string>
<!-- Body of second/final end group confirmation dialog -->
<string name="EndGroupDialog__this_will_end_the_group_permanently">This will end the group permanently. Are you sure you want to proceed?</string>
<!-- Progress message shown while ending a group -->
<string name="EndGroupDialog__ending_group">Ending group\u2026</string>
<!-- Message shown when ending a group fails -->
<string name="EndGroupDialog__ending_the_group_failed">Ending the group failed. Check your connection and try again.</string>
<!-- Retry button shown when ending a group fails -->
<string name="EndGroupDialog__try_again">Try again</string>
<!-- Title of bottom sheet shown when opening a terminated group for the first time, with admin name. %1$s is the admin's display name -->
<string name="TerminatedGroupBottomSheet__s_ended_the_group">%1$s Ended the Group</string>
<!-- Title of bottom sheet shown when opening a terminated group for the first time, without admin name -->
<string name="TerminatedGroupBottomSheet__the_group_has_been_ended">The group has been ended</string>
<!-- Body of bottom sheet shown when opening a terminated group -->
<string name="TerminatedGroupBottomSheet__you_can_no_longer_send_and_receive">You can no longer send and receive messages or calls in this group.</string>
<!-- Button label on terminated group bottom sheet -->
<string name="TerminatedGroupBottomSheet__okay">Okay</string>
<!-- Educational bottom sheet dialog title shown to notify about delete syncs causing deletes to happen across all devices -->
<string name="DeleteSyncEducation_title">Deleting is now synced across all of your devices</string>
<!-- Educational bottom sheet dialog message shown to notify about delete syncs causing deletes to happen across all devices -->