Notify a user when they link a device.

This commit is contained in:
Michelle Tang
2025-01-10 17:27:32 -05:00
committed by Greyson Parrelli
parent 919648b94b
commit d4c8c16df3
22 changed files with 382 additions and 91 deletions

View File

@@ -1020,6 +1020,12 @@
<string name="LinkDeviceFragment__linking_cancelled">Linking cancelled</string>
<!-- Message shown in progress dialog telling users to avoid closing the app while messages are being synced -->
<string name="LinkDeviceFragment__do_not_close">Do not close app</string>
<!-- Dialog title shown when a device is unlinked -->
<string name="LinkDeviceFragment__device_unlinked">Device unlinked</string>
<!-- Dialog body shown when a device is unlinked where %1$s is when the device was originally linked -->
<string name="LinkDeviceFragment__the_device_that_was">The device that was recently linked at %1$s is no longer linked.</string>
<!-- Button to dismiss dialog -->
<string name="LinkDeviceFragment__ok">OK</string>
<!-- EditDeviceNameFragment -->
<!-- App bar title when editing the name of a device -->
@@ -1065,6 +1071,11 @@
<!-- Description in bottom sheet of what not transferring history will do -->
<string name="LinkDeviceSyncBottomSheet_no_old_messages">No old messages or media will be transferred to your linked device</string>
<!-- Title of notification telling users that a device was linked to their account -->
<string name="NewLinkedDeviceNotification__you_linked_new_device">You linked a new device</string>
<!-- Message body of notification telling users that a device was linked to their account. %1$s is the time it was linked -->
<string name="NewLinkedDeviceNotification__a_new_device_was_linked">A new device was linked to your account at %1$s. Tap to view.</string>
<!-- DeviceListActivity -->
<string name="DeviceListActivity_unlink_s">Unlink \"%s\"?</string>
<string name="DeviceListActivity_by_unlinking_this_device_it_will_no_longer_be_able_to_send_or_receive">By unlinking this device, it will no longer be able to send or receive messages.</string>
@@ -1650,6 +1661,13 @@
<string name="Megaphones_chat_colors">Chat colors</string>
<string name="Megaphones_add_a_profile_photo">Add a profile photo</string>
<!-- Message body of megaphone telling users that a device was linked to their account. %1$s is the time it was linked -->
<string name="NewLinkedDeviceMegaphone__a_new_device_was_linked">A new device was linked to your account at %1$s.</string>
<!-- Button shown on megaphone that will redirect to the linked devices screen -->
<string name="NewLinkedDeviceMegaphone__view_device">View device</string>
<!-- Button shown on megaphone to acknowledge and dismiss the megaphone -->
<string name="NewLinkedDeviceMegaphone__ok">OK</string>
<!-- Title of a bottom sheet to render messages that all quote a specific message -->
<string name="MessageQuotesBottomSheet_replies">Replies</string>
@@ -2942,6 +2960,8 @@
<string name="NotificationChannel_critical_app_alerts">Critical app alerts</string>
<!-- Notification channel name for other notifications related to messages. Will appear in the system notification settings as the title of this notification channel. -->
<string name="NotificationChannel_additional_message_notifications">Additional message notifications</string>
<!-- Notification channel name for notifications sent when a device has been linked -->
<string name="NotificationChannel_new_linked_device">New linked device</string>
<!-- ProfileEditNameFragment -->