Add basic pinned message support.

This commit is contained in:
Michelle Tang
2025-11-24 13:18:36 -05:00
committed by jeffrey-signal
parent 22701da765
commit 80598d42cc
70 changed files with 2162 additions and 89 deletions

View File

@@ -682,6 +682,22 @@
<string name="ConversationFragment_group_names">Group names</string>
<!-- Snackbar toast message shown when a profile cannot be downloaded and to try again. -->
<string name="ConversationFragment_photo_failed">Photo failed to download. Try again.</string>
<!-- Dialog for how to long to keep a messaged pinned for -->
<string name="ConversationFragment__keep_pinned">Keep pinned for…</string>
<!-- Dialog option to keep message pin for 24 hours -->
<string name="ConversationFragment__24_hours">24 hours</string>
<!-- Dialog option to keep message pin for 7 days -->
<string name="ConversationFragment__7_days">7 days</string>
<!-- Dialog option to keep message pin for 30 days -->
<string name="ConversationFragment__30_days">30 days</string>
<!-- Dialog option to keep message pin forever -->
<string name="ConversationFragment__forever">Forever</string>
<!-- Dialog title when replacing the oldest pin -->
<string name="ConversationFragment__replace_title">Replace oldest pin?</string>
<!-- Dialog body when replacing the oldest pin -->
<string name="ConversationFragment__replace_body">Pinning message will replace the oldest one</string>
<!-- Dialog button when replacing the oldest pin -->
<string name="ConversationFragment__replace">Replace</string>
<!-- Title of Safety Tips bottom sheet dialog -->
<string name="SafetyTips_title">Safety Tips</string>
@@ -4466,6 +4482,10 @@
<string name="conversation_selection__menu_payment_details">Payment details</string>
<!-- Button to end a poll -->
<string name="conversation_selection__menu_end_poll">End poll</string>
<!-- Button to pin a message -->
<string name="conversation_selection__menu_pin_message">Pin message</string>
<!-- Button to unpin a message -->
<string name="conversation_selection__menu_unpin_message">Unpin message</string>
<!-- conversation_expiring_on -->
@@ -9006,5 +9026,42 @@
<!-- Displayed as a snackbar after submitting feedback -->
<string name="CallQualitySheet__thanks_for_your_feedback">Thanks for your feedback!</string>
<!-- Message body when someone pins a message where %1$s is the name of the person -->
<string name="PinnedMessage__s_pinned_a_message">%1$s pinned a message</string>
<!-- Message body when you pin a message -->
<string name="PinnedMessage__you_pinned_a_message">You pinned a message</string>
<!-- Button body to go to the pinned message -->
<string name="PinnedMessage__go_to_message">Go to message</string>
<!-- Toast shown when a pinned message is not found -->
<string name="PinnedMessage__not_found">Message not found</string>
<!-- Content description for the pin icon -->
<string name="PinnedMessage__pinned">Pinned</string>
<!-- Caption shown when the pinned message is a photo -->
<string name="PinnedMessage__photo">Photo</string>
<!-- Caption shown when the pinned message is a video -->
<string name="PinnedMessage__video">Video</string>
<!-- Caption shown when the pinned message is a sticker -->
<string name="PinnedMessage__sticker">Sticker</string>
<!-- Caption shown when the pinned message is a voice message -->
<string name="PinnedMessage__voice">Voice message</string>
<!-- Caption shown when the pinned message is a gif -->
<string name="PinnedMessage__gif">GIF</string>
<!-- Caption shown when the pinned message is a view once media -->
<string name="PinnedMessage__view_once">View-once media</string>
<!-- Context menu option to unpin the message -->
<string name="PinnedMessage__unpin_message">Unpin message</string>
<!-- Context menu option to view all the message -->
<string name="PinnedMessage__view_all_messages">View all messages</string>
<!-- Text to unpin all messages -->
<string name="PinnedMessage__unpin_all_messages">Unpin All Messages</string>
<!-- Title of bottom sheet when pinning a disappearing message -->
<string name="PinnedMessage__disappearing_message_title">Pinning disappearing messages</string>
<!-- Body of bottom sheet when pinning a disappearing message -->
<string name="PinnedMessage__disappearing_message_body">Disappearing messages will be unpinned when their timer expires and the message is removed from the chat.</string>
<!-- Confirmation button for bottom sheet -->
<string name="PinnedMessage__got_it">Got it</string>
<!-- Content description of disappearing timer icon -->
<string name="PinnedMessage__disappearing_message_content_description">Disappearing message</string>
<!-- EOF -->
</resources>