File tree Expand file tree Collapse file tree 2 files changed +68
-3
lines changed
Expand file tree Collapse file tree 2 files changed +68
-3
lines changed Original file line number Diff line number Diff line change 76017601 "nl" : {
76027602 "stringUnit" : {
76037603 "state" : "translated",
7604- "value" : "Verwijder %#@arg1@, bewaar %#@arg2@"
7604+ "value" : "Verwijder %#@arg1@, behoud %#@arg2@"
76057605 },
76067606 "substitutions" : {
76077607 "arg1" : {
1453014530 }
1453114531 }
1453214532 },
14533+ "Keep %lld files" : {
14534+ "localizations" : {
14535+ "de" : {
14536+ "stringUnit" : {
14537+ "state" : "translated",
14538+ "value" : "%lld Dateien behalten"
14539+ }
14540+ },
14541+ "es" : {
14542+ "stringUnit" : {
14543+ "state" : "translated",
14544+ "value" : "Mantener %lld archivos"
14545+ }
14546+ },
14547+ "it" : {
14548+ "stringUnit" : {
14549+ "state" : "translated",
14550+ "value" : "Mantieni %lld file"
14551+ }
14552+ },
14553+ "nl" : {
14554+ "variations" : {
14555+ "plural" : {
14556+ "one" : {
14557+ "stringUnit" : {
14558+ "state" : "translated",
14559+ "value" : "Behoud één bestand"
14560+ }
14561+ },
14562+ "other" : {
14563+ "stringUnit" : {
14564+ "state" : "translated",
14565+ "value" : "Behoud %lld bestanden"
14566+ }
14567+ },
14568+ "zero" : {
14569+ "stringUnit" : {
14570+ "state" : "translated",
14571+ "value" : "Behoud geen bestanden"
14572+ }
14573+ }
14574+ }
14575+ }
14576+ },
14577+ "uk" : {
14578+ "stringUnit" : {
14579+ "state" : "translated",
14580+ "value" : "Залишити %lld файлів"
14581+ }
14582+ },
14583+ "zh-Hans" : {
14584+ "stringUnit" : {
14585+ "state" : "translated",
14586+ "value" : "保留 %lld 个文件"
14587+ }
14588+ }
14589+ }
14590+ },
1453314591 "Keep conflicting versions" : {
1453414592 "localizations" : {
1453514593 "de" : {
Original file line number Diff line number Diff line change @@ -122,8 +122,15 @@ struct ExtraFilesView: View {
122122 isPresented: $showApplyConfirmation,
123123 titleVisibility: . visible
124124 ) {
125- Button ( " Delete \( deleteCount) files, keep \( keepCount) files " , role: . destructive) {
126- Task { await self . apply ( ) }
125+ if deleteCount > 0 {
126+ Button ( " Delete \( deleteCount) files, keep \( keepCount) files " , role: . destructive) {
127+ Task { await self . apply ( ) }
128+ }
129+ }
130+ else {
131+ Button ( " Keep \( keepCount) files " ) {
132+ Task { await self . apply ( ) }
133+ }
127134 }
128135 }
129136 } )
You can’t perform that action at this time.
0 commit comments