Skip to content

Commit c8fe06e

Browse files
committed
feat: add ability to decide what to do with a subdirectory in extra files view
Signed-off-by: Tommy van der Vorst <tommy@pixelspark.nl>
1 parent e6e792b commit c8fe06e

File tree

5 files changed

+354
-21
lines changed

5 files changed

+354
-21
lines changed

Localizable.xcstrings

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4508,6 +4508,52 @@
45084508
}
45094509
}
45104510
},
4511+
"Always keep this subdirectory" : {
4512+
"localizations" : {
4513+
"de" : {
4514+
"stringUnit" : {
4515+
"state" : "translated",
4516+
"value" : "Diesen Unterordner immer behalten"
4517+
}
4518+
},
4519+
"es" : {
4520+
"stringUnit" : {
4521+
"state" : "translated",
4522+
"value" : "Mantener siempre este subdirectorio"
4523+
}
4524+
},
4525+
"it" : {
4526+
"stringUnit" : {
4527+
"state" : "translated",
4528+
"value" : "Mantieni sempre questa sottocartella"
4529+
}
4530+
},
4531+
"ja" : {
4532+
"stringUnit" : {
4533+
"state" : "translated",
4534+
"value" : "常にこのサブディレクトリを保持"
4535+
}
4536+
},
4537+
"nl" : {
4538+
"stringUnit" : {
4539+
"state" : "translated",
4540+
"value" : "Bewaar altijd deze subdirectory"
4541+
}
4542+
},
4543+
"uk" : {
4544+
"stringUnit" : {
4545+
"state" : "translated",
4546+
"value" : "Завжди зберігати цю піддиректорію"
4547+
}
4548+
},
4549+
"zh-Hans" : {
4550+
"stringUnit" : {
4551+
"state" : "translated",
4552+
"value" : "始终保留此子目录"
4553+
}
4554+
}
4555+
}
4556+
},
45114557
"An encrypted version of the folder is shared with this device." : {
45124558
"localizations" : {
45134559
"de" : {
@@ -9938,6 +9984,52 @@
99389984
}
99399985
}
99409986
},
9987+
"Delete all files in here" : {
9988+
"localizations" : {
9989+
"de" : {
9990+
"stringUnit" : {
9991+
"state" : "translated",
9992+
"value" : "Alle Dateien hier löschen"
9993+
}
9994+
},
9995+
"es" : {
9996+
"stringUnit" : {
9997+
"state" : "translated",
9998+
"value" : "Eliminar todos los archivos aquí"
9999+
}
10000+
},
10001+
"it" : {
10002+
"stringUnit" : {
10003+
"state" : "translated",
10004+
"value" : "Elimina tutti i file qui"
10005+
}
10006+
},
10007+
"ja" : {
10008+
"stringUnit" : {
10009+
"state" : "translated",
10010+
"value" : "ここにあるすべてのファイルを削除"
10011+
}
10012+
},
10013+
"nl" : {
10014+
"stringUnit" : {
10015+
"state" : "translated",
10016+
"value" : "Verwijder alle bestanden hier"
10017+
}
10018+
},
10019+
"uk" : {
10020+
"stringUnit" : {
10021+
"state" : "translated",
10022+
"value" : "Видалити всі файли тут"
10023+
}
10024+
},
10025+
"zh-Hans" : {
10026+
"stringUnit" : {
10027+
"state" : "translated",
10028+
"value" : "删除此处所有文件"
10029+
}
10030+
}
10031+
}
10032+
},
994110033
"Delete file" : {
994210034
"localizations" : {
994310035
"de" : {
@@ -18812,6 +18904,52 @@
1881218904
}
1881318905
}
1881418906
},
18907+
"Keep all files in here" : {
18908+
"localizations" : {
18909+
"de" : {
18910+
"stringUnit" : {
18911+
"state" : "translated",
18912+
"value" : "Alle Dateien hier aufbewahren"
18913+
}
18914+
},
18915+
"es" : {
18916+
"stringUnit" : {
18917+
"state" : "translated",
18918+
"value" : "Mantén todos los archivos aquí"
18919+
}
18920+
},
18921+
"it" : {
18922+
"stringUnit" : {
18923+
"state" : "translated",
18924+
"value" : "Conserva tutti i file qui"
18925+
}
18926+
},
18927+
"ja" : {
18928+
"stringUnit" : {
18929+
"state" : "translated",
18930+
"value" : "すべてのファイルをここに保管"
18931+
}
18932+
},
18933+
"nl" : {
18934+
"stringUnit" : {
18935+
"state" : "translated",
18936+
"value" : "Houd alle bestanden hier"
18937+
}
18938+
},
18939+
"uk" : {
18940+
"stringUnit" : {
18941+
"state" : "translated",
18942+
"value" : "Зберігайте всі файли тут"
18943+
}
18944+
},
18945+
"zh-Hans" : {
18946+
"stringUnit" : {
18947+
"state" : "translated",
18948+
"value" : "保留所有文件在这里"
18949+
}
18950+
}
18951+
}
18952+
},
1881518953
"Keep conflicting versions" : {
1881618954
"localizations" : {
1881718955
"de" : {
@@ -18904,6 +19042,52 @@
1890419042
}
1890519043
}
1890619044
},
19045+
"Keep files" : {
19046+
"localizations" : {
19047+
"de" : {
19048+
"stringUnit" : {
19049+
"state" : "translated",
19050+
"value" : "Dateien behalten"
19051+
}
19052+
},
19053+
"es" : {
19054+
"stringUnit" : {
19055+
"state" : "translated",
19056+
"value" : "Mantener archivos"
19057+
}
19058+
},
19059+
"it" : {
19060+
"stringUnit" : {
19061+
"state" : "translated",
19062+
"value" : "Mantieni i file"
19063+
}
19064+
},
19065+
"ja" : {
19066+
"stringUnit" : {
19067+
"state" : "translated",
19068+
"value" : "ファイルを保持"
19069+
}
19070+
},
19071+
"nl" : {
19072+
"stringUnit" : {
19073+
"state" : "translated",
19074+
"value" : "Bestanden bewaren"
19075+
}
19076+
},
19077+
"uk" : {
19078+
"stringUnit" : {
19079+
"state" : "translated",
19080+
"value" : "Зберегти файли"
19081+
}
19082+
},
19083+
"zh-Hans" : {
19084+
"stringUnit" : {
19085+
"state" : "translated",
19086+
"value" : "保留文件"
19087+
}
19088+
}
19089+
}
19090+
},
1890719091
"Last address" : {
1890819092
"localizations" : {
1890919093
"de" : {

Sushitrain/DecrypterView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ import SwiftUI
301301

302302
var body: some View {
303303
List(selection: $selectedDecryptedPaths) {
304-
PathsOutlineGroup(paths: decryptedPaths) { decryptedPath, isIntermediate in
304+
PathsOutlineGroup(paths: decryptedPaths, disableIntermediateSelection: true) { decryptedPath, isIntermediate in
305305
Text(decryptedPath.lastPathComponent)
306306
}
307307
}

0 commit comments

Comments
 (0)