Show warning dialog when attempting to save optimized media.

This commit is contained in:
Cody Henthorne
2026-03-09 14:00:37 -04:00
committed by jeffrey-signal
parent c554c0d456
commit 6a3d1634b9
4 changed files with 87 additions and 5 deletions

View File

@@ -3395,6 +3395,17 @@
<!-- Message explaining that it is not possible to save media to the device storage after the user denied the system save to storage permission. -->
<string name="AttachmentSaver__unable_to_write_to_external_storage_without_permission">Unable to save to external storage without permissions</string>
<!-- Dialog title shown when attempting to save media that has been offloaded from the device by the storage optimization feature. -->
<string name="AttachmentSaver__cant_save_media">Can\'t save media</string>
<!-- Dialog message explaining that media cannot be saved because it has been offloaded from the device by the storage optimization feature. -->
<string name="AttachmentSaver__media_offloaded_message">This media has been offloaded from your device because \"Optimize on-device storage\" is turned on. You can download items one-by-one, or turn off \"Optimize on-device storage\" to download all media to your device.</string>
<!-- Dialog title shown when attempting to save multiple media items, some of which have been offloaded from the device by the storage optimization feature. -->
<string name="AttachmentSaver__cant_save_all_items">Can\'t save all items</string>
<!-- Dialog message explaining that some selected media cannot be saved because it has been offloaded from the device by the storage optimization feature. -->
<string name="AttachmentSaver__some_media_offloaded_message">Some media you\'ve selected has been offloaded from your device because \"Optimize on-device storage\" is turned on. You can save items one-by-one, or turn off \"Optimize on-device storage\" to download all media to your device.</string>
<!-- Button label in the offloaded media dialog that navigates to the storage settings screen. -->
<string name="AttachmentSaver__view_storage_settings">View storage settings</string>
<!-- SearchToolbar -->
<string name="SearchToolbar_search">Search</string>
<!-- Hint when searching filtered chat content -->