mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 10:29:58 +02:00
feat(apple): add a Free up space action to reclaim leaked storage
Delete all transfers only clears core records, and the blob-store cache is reclaimed by the core's own timer. Neither touches the app's temporary directory (leftover picker/staging copies — hundreds of MB on macOS) or the stray .Trash folders that accumulate in app-owned directories and can't be removed via Files/Finder. Add a non-destructive Free up space button that empties the temp directory and removes .Trash folders under the core data dir (and, on iOS, the fixed Documents receive folder), reporting the bytes reclaimed. Guarded against running while a transfer is in flight; never touches received files, the core database, or user-chosen macOS receive folders.
This commit is contained in:
@@ -203,6 +203,10 @@
|
||||
<string name="status_receiving">A receber</string>
|
||||
<string name="status_stopped">Parada</string>
|
||||
<string name="storage_calculating">A calcular…</string>
|
||||
<string name="storage_cleaning">A limpar…</string>
|
||||
<string name="storage_cleanup_busy">Conclui as transferências ativas antes de libertar espaço</string>
|
||||
<string name="storage_cleanup_freed">Libertado %1$s</string>
|
||||
<string name="storage_free_up_space">Libertar espaço</string>
|
||||
<string name="storage_delete_transfers">Eliminar todas as transferências</string>
|
||||
<string name="storage_delete_transfers_description">Isto elimina do histórico todos os registos de transferências enviadas e recebidas. Os ficheiros recebidos não são eliminados. O conteúdo partilhado em cache que já não é necessário é recuperado automaticamente, o que pode demorar algum tempo. Esta ação não pode ser anulada.</string>
|
||||
<string name="storage_app_data">Dados da aplicação</string>
|
||||
|
||||
Reference in New Issue
Block a user