M5: storage usage, ZIP/TAR/GZ archives with zip-slip guard, thumbnails, viewers + 26 tests

This commit is contained in:
2026-10-14 16:29:08 +02:00
parent 2c86f3dc67
commit 3e39fc9b86
23 changed files with 1302 additions and 35 deletions
+28
View File
@@ -14,6 +14,8 @@
<string name="operation_copy_title">Copying files</string>
<string name="operation_move_title">Moving files</string>
<string name="operation_delete_title">Deleting files</string>
<string name="operation_compress_title">Creating the archive</string>
<string name="operation_extract_title">Extracting files</string>
<string name="notification_channel_name">File operations</string>
<string name="notification_channel_description">Shows progress while files are being copied, moved or deleted</string>
<!-- Both numbers are counts of entries, so this stays a plain substitution. -->
@@ -127,4 +129,30 @@
<item quantity="other">%1$d items could not be processed</item>
</plurals>
<string name="message_cancelled">Cancelled</string>
<string name="message_saved">Saved</string>
<string name="message_save_failed">The file could not be saved</string>
<string name="message_format_unsupported">This archive format is not supported</string>
<plurals name="message_compressed">
<item quantity="one">Compressed %1$d file</item>
<item quantity="other">Compressed %1$d files</item>
</plurals>
<plurals name="message_extracted">
<item quantity="one">Extracted %1$d file</item>
<item quantity="other">Extracted %1$d files</item>
</plurals>
<!-- ===== Archive + usage actions ===== -->
<string name="browser_action_compress">Compress to ZIP</string>
<string name="browser_action_extract">Extract here</string>
<string name="browser_action_disk_usage">Storage usage</string>
<!-- ===== Viewer / editor / usage ===== -->
<string name="browser_action_save">Save</string>
<string name="browser_action_close">Close</string>
<string name="usage_title">Storage usage</string>
<string name="usage_empty">Nothing to measure here</string>
<plurals name="usage_file_count">
<item quantity="one">%1$d file</item>
<item quantity="other">%1$d files</item>
</plurals>
</resources>