feat(storage): confirm the count shown, and say a backup or a missing install id held the cleanup

Confirm sends the count the admin saw and waits for its answer; a stale
count reloads the state. A running backup is named as a skip reason, a
missing installation id and a stale count as errors, and the switch's
hint no longer promises removal right away: deleted files go a day
later, once no undo can bring them back. Strings in all 28 languages.
This commit is contained in:
Maurice
2026-11-01 18:14:49 +01:00
parent 10ad64d170
commit 9d2ffc91af
40 changed files with 250 additions and 81 deletions
+7 -2
View File
@@ -155,7 +155,7 @@ const storage: TranslationStrings = {
'storage.reclaim.never': 'Jeszcze nie sprawdzono',
'storage.reclaim.delete': 'Usuń pliki bez powiązań',
'storage.reclaim.deleteHint':
'Wyłączone: nocna kontrola tylko raportuje. Włączone: plik, którego nic nie używało przez tydzień, jest usuwany. Pliki usunięte w TREK znikają od razu w obu przypadkach.',
'Wyłączone: nocna kontrola tylko raportuje. Włączone: plik, którego nic nie używało przez tydzień, jest usuwany. Pliki usunięte w TREK są w obu przypadkach usuwane dzień później, gdy żadne cofnięcie nie może ich już przywrócić.',
'storage.reclaim.freeable': 'Można zwolnić',
'storage.reclaim.waiting': 'Nieużywane krócej niż tydzień',
'storage.reclaim.deleted': 'Zwolniono podczas ostatniego nocnego czyszczenia',
@@ -176,9 +176,14 @@ const storage: TranslationStrings = {
'storage.reclaim.confirmNeeded':
'Ponad jedna piąta tych plików wygląda na nieużywane. Nic tutaj nie zostanie usunięte, dopóki nie potwierdzisz, że tak ma być.',
'storage.reclaim.confirm': 'Potwierdź',
'storage.reclaim.confirmed': 'Potwierdzono. Nocne czyszczenie może teraz usunąć te pliki.',
'storage.reclaim.confirmed': 'Potwierdzono na najbliższe 14 dni.',
'storage.reclaim.error.reclaim_busy': 'Trwa inne zadanie magazynu. Spróbuj ponownie za chwilę.',
'storage.reclaim.error.reclaim_demo': 'Niedostępne w instancji demo.',
'storage.reclaim.error.reclaim_nothing_to_confirm': 'Nie ma już nic do potwierdzenia. Najpierw uruchom kontrolę.',
'storage.reclaim.skip.backup_running': 'Pominięto: trwało tworzenie kopii zapasowej',
'storage.reclaim.error.reclaim_confirm_stale':
'Liczba zmieniła się od czasu jej wyświetlenia. Sprawdź nową wartość i potwierdź ponownie.',
'storage.reclaim.error.reclaim_install_unknown':
'TREK nie mógł odczytać identyfikatora instalacji, więc niczego nie usuwa. Sprawdź folder danych.',
};
export default storage;