Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Search and sort Launchpad machines, and tidy the patch sheet

Lakrc3f7910c92f1
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad.xcodeproj/xcshareddata/xcschemes/VPhoneLaunchpad.xcscheme b/VPhoneLaunchpad/VPhoneLaunchpad.xcodeproj/xcshareddata/xcschemes/VPhoneLaunchpad.xcscheme
new file mode 100644
index 00000000..e8e6d4c8
--- /dev/null
+++ b/VPhoneLaunchpad/VPhoneLaunchpad.xcodeproj/xcshareddata/xcschemes/VPhoneLaunchpad.xcscheme
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "2700"
+ version = "1.7">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES"
+ buildArchitectures = "Automatic">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "5A1000000000000000000011"
+ BuildableName = "vphone-launchpad.app"
+ ReferencedContainer = "container:VPhoneLaunchpad.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ shouldAutocreateTestPlan = "YES">
+ </TestAction>
+ <LaunchAction
+ buildConfiguration = "Debug"
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ debugServiceExtension = "internal"
+ allowLocationSimulation = "YES"
+ queueDebuggingEnabled = "No">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "5A1000000000000000000011"
+ BuildableName = "vphone-launchpad.app"
+ ReferencedContainer = "container:VPhoneLaunchpad.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </LaunchAction>
+ <ProfileAction
+ buildConfiguration = "Release"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable
+ runnableDebuggingMode = "0">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "5A1000000000000000000011"
+ BuildableName = "vphone-launchpad.app"
+ ReferencedContainer = "container:VPhoneLaunchpad.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadPreview.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadPreview.swift
index 1ed7682e..44649adb 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadPreview.swift
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadPreview.swift
@@ -105,7 +105,10 @@
if let machine = model.machines.selected {
await sheet(.settings([machine]), "09-machine-settings", suffix)
}
- await sheet(.patches(labMachine), "09b-patch-settings", suffix)
+ await standalone("09b-patch-settings", suffix, size: NSSize(width: 920, height: 680)) {
+ VPhoneLaunchpadPatchSettingsView(initial: VPhoneLaunchpadPatchSelection()) { _ in }
+ .environment(model)
+ }
await sheet(.clone(labMachine), "10-clone", suffix)
await sheet(.export([labMachine]), "11-export", suffix)
await sheet(.console(path("research-01")), "12-console", suffix)
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadSearchField.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadSearchField.swift
new file mode 100644
index 00000000..c137225e
--- /dev/null
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Application/VPhoneLaunchpadSearchField.swift
@@ -0,0 +1,52 @@
+import AppKit
+import SwiftUI
+
+/// A native search field that can sit anywhere, including a toolbar item.
+///
+/// `.searchable` always puts its field at the window's trailing edge, past an
+/// inspector, where it reads as belonging to the inspector.
+struct VPhoneLaunchpadSearchField: NSViewRepresentable {
+ @Binding var text: String
+ let prompt: String
+
+ func makeNSView(context: Context) -> NSSearchField {
+ let field = NSSearchField()
+ field.placeholderString = prompt
+ field.sendsSearchStringImmediately = true
+ field.delegate = context.coordinator
+ // The clear button sends the action, not a text change.
+ field.target = context.coordinator
+ field.action = #selector(Coordinator.search(_:))
+ return field
+ }
+
+ func updateNSView(_ field: NSSearchField, context: Context) {
+ context.coordinator.text = $text
+ if field.stringValue != text {
+ field.stringValue = text
+ }
+ field.placeholderString = prompt
+ }
+
+ func makeCoordinator() -> Coordinator {
+ Coordinator(text: $text)
+ }
+
+ final class Coordinator: NSObject, NSSearchFieldDelegate {
+ var text: Binding<String>
+
+ init(text: Binding<String>) {
+ self.text = text
+ }
+
+ func controlTextDidChange(_ notification: Notification) {
+ if let field = notification.object as? NSSearchField {
+ search(field)
+ }
+ }
+
+ @objc func search(_ field: NSSearchField) {
+ text.wrappedValue = field.stringValue
+ }
+ }
+}
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Command/VPhoneLaunchpadCommandHistoryView.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Command/VPhoneLaunchpadCommandHistoryView.swift
index ffa04e5d..da2688c2 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Command/VPhoneLaunchpadCommandHistoryView.swift
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Command/VPhoneLaunchpadCommandHistoryView.swift
@@ -18,6 +18,9 @@ struct VPhoneLaunchpadCommandHistoryView: View {
} else {
table
}
+ } accessory: {
+ Button("Copy") { copy(selection) }
+ .disabled(selection.isEmpty)
} actions: {
Button("Done") { dismiss() }
.keyboardShortcut(.defaultAction)
@@ -25,18 +28,19 @@ struct VPhoneLaunchpadCommandHistoryView: View {
.frame(width: 760, height: 460)
}
+ /// The icon and time keep fixed widths, so the command gets the rest.
private var table: some View {
Table(entries, selection: $selection) {
TableColumn("") { entry in
VPhoneLaunchpadStatusIcon(status: entry.status.map { $0 == 0 ? .passed : .failed } ?? .running)
.help(entry.status.map { String(localized: "Exit status \($0)") } ?? "")
}
- .width(20)
+ .width(16)
TableColumn("Started") { entry in
Text(entry.date.formatted(date: .omitted, time: .standard))
.monospacedDigit()
}
- .width(min: 70, ideal: 80)
+ .width(64)
TableColumn("Command") { entry in
Text(verbatim: entry.text)
.font(.system(.body, design: .monospaced))
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/InfoPlist.xcstrings b/VPhoneLaunchpad/VPhoneLaunchpad/InfoPlist.xcstrings
index 65d175b8..01c83fee 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/InfoPlist.xcstrings
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/InfoPlist.xcstrings
@@ -1,108 +1,135 @@
{
- "sourceLanguage": "en",
- "strings": {
- "NSLocationUsageDescription": {
- "localizations": {
- "en": {
- "stringUnit": {
- "state": "translated",
- "value": "Shares your location with the virtual iPhone so apps running inside it see the same location."
+ "sourceLanguage" : "en",
+ "strings" : {
+ "CFBundleDisplayName" : {
+ "comment" : "Bundle display name",
+ "extractionState" : "extracted_with_value",
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "new",
+ "value" : "vphone-launchpad"
+ }
+ }
+ }
+ },
+ "CFBundleName" : {
+ "comment" : "Bundle name",
+ "extractionState" : "extracted_with_value",
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "new",
+ "value" : "vphone-launchpad"
+ }
+ }
+ }
+ },
+ "NSLocationAlwaysAndWhenInUseUsageDescription" : {
+ "comment" : "Privacy - Location Always and When In Use Usage Description",
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Shares your location with the virtual iPhone so apps running inside it see the same location."
}
},
- "zh-Hans": {
- "stringUnit": {
- "state": "translated",
- "value": "将您的位置共享给虚拟 iPhone,使其中运行的应用能获取相同的位置。"
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "位置情報を仮想 iPhone と共有し、その中のアプリにも同じ位置情報を提供します。"
}
},
- "ja": {
- "stringUnit": {
- "state": "translated",
- "value": "位置情報を仮想 iPhone と共有し、その中のアプリにも同じ位置情報を提供します。"
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "가상 iPhone과 위치를 공유하여 그 안에서 실행되는 앱이 동일한 위치를 사용하도록 합니다."
}
},
- "ko": {
- "stringUnit": {
- "state": "translated",
- "value": "가상 iPhone과 위치를 공유하여 그 안에서 실행되는 앱이 동일한 위치를 사용하도록 합니다."
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Chia sẻ vị trí của bạn với iPhone ảo để các ứng dụng bên trong sử dụng cùng vị trí."
}
},
- "vi": {
- "stringUnit": {
- "state": "translated",
- "value": "Chia sẻ vị trí của bạn với iPhone ảo để các ứng dụng bên trong sử dụng cùng vị trí."
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "将您的位置共享给虚拟 iPhone,使其中运行的应用能获取相同的位置。"
}
}
}
},
- "NSLocationWhenInUseUsageDescription": {
- "localizations": {
- "en": {
- "stringUnit": {
- "state": "translated",
- "value": "Shares your location with the virtual iPhone so apps running inside it see the same location."
+ "NSLocationUsageDescription" : {
+ "comment" : "Privacy - Location Usage Description",
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Shares your location with the virtual iPhone so apps running inside it see the same location."
}
},
- "zh-Hans": {
- "stringUnit": {
- "state": "translated",
- "value": "将您的位置共享给虚拟 iPhone,使其中运行的应用能获取相同的位置。"
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "位置情報を仮想 iPhone と共有し、その中のアプリにも同じ位置情報を提供します。"
}
},
- "ja": {
- "stringUnit": {
- "state": "translated",
- "value": "位置情報を仮想 iPhone と共有し、その中のアプリにも同じ位置情報を提供します。"
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "가상 iPhone과 위치를 공유하여 그 안에서 실행되는 앱이 동일한 위치를 사용하도록 합니다."
}
},
- "ko": {
- "stringUnit": {
- "state": "translated",
- "value": "가상 iPhone과 위치를 공유하여 그 안에서 실행되는 앱이 동일한 위치를 사용하도록 합니다."
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Chia sẻ vị trí của bạn với iPhone ảo để các ứng dụng bên trong sử dụng cùng vị trí."
}
},
- "vi": {
- "stringUnit": {
- "state": "translated",
- "value": "Chia sẻ vị trí của bạn với iPhone ảo để các ứng dụng bên trong sử dụng cùng vị trí."
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "将您的位置共享给虚拟 iPhone,使其中运行的应用能获取相同的位置。"
}
}
}
},
- "NSLocationAlwaysAndWhenInUseUsageDescription": {
- "localizations": {
- "en": {
- "stringUnit": {
- "state": "translated",
- "value": "Shares your location with the virtual iPhone so apps running inside it see the same location."
+ "NSLocationWhenInUseUsageDescription" : {
+ "comment" : "Privacy - Location When In Use Usage Description",
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Shares your location with the virtual iPhone so apps running inside it see the same location."
}
},
- "zh-Hans": {
- "stringUnit": {
- "state": "translated",
- "value": "将您的位置共享给虚拟 iPhone,使其中运行的应用能获取相同的位置。"
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "位置情報を仮想 iPhone と共有し、その中のアプリにも同じ位置情報を提供します。"
}
},
- "ja": {
- "stringUnit": {
- "state": "translated",
- "value": "位置情報を仮想 iPhone と共有し、その中のアプリにも同じ位置情報を提供します。"
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "가상 iPhone과 위치를 공유하여 그 안에서 실행되는 앱이 동일한 위치를 사용하도록 합니다."
}
},
- "ko": {
- "stringUnit": {
- "state": "translated",
- "value": "가상 iPhone과 위치를 공유하여 그 안에서 실행되는 앱이 동일한 위치를 사용하도록 합니다."
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Chia sẻ vị trí của bạn với iPhone ảo để các ứng dụng bên trong sử dụng cùng vị trí."
}
},
- "vi": {
- "stringUnit": {
- "state": "translated",
- "value": "Chia sẻ vị trí của bạn với iPhone ảo để các ứng dụng bên trong sử dụng cùng vị trí."
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "将您的位置共享给虚拟 iPhone,使其中运行的应用能获取相同的位置。"
}
}
}
}
},
- "version": "1.3"
-}
+ "version" : "1.3"
+}
\ No newline at end of file
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings b/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings
index c1978ee1..38a9bbe0 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings
@@ -1,70 +1,73 @@
{
"sourceLanguage" : "en",
"strings" : {
- "%@ Console" : {
+ "" : {
+
+ },
+ "%@ · %@ · Expires %@" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ Console"
+ "value" : "%@ · %@ · Expires %@"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ のコンソール"
+ "value" : "%1$@ · %2$@ · %3$@に期限切れ"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ 콘솔"
+ "value" : "%1$@ · %2$@ · %3$@ 만료"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Bảng điều khiển %@"
+ "value" : "%1$@ · %2$@ · Hết hạn %3$@"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ 控制台"
+ "value" : "%1$@ · %2$@ · 将于%3$@过期"
}
}
}
},
- "%@ Creation Log" : {
+ "%@ Console" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ Creation Log"
+ "value" : "%@ Console"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ の作成ログ"
+ "value" : "%@ のコンソール"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ 생성 로그"
+ "value" : "%@ 콘솔"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Nhật ký tạo %@"
+ "value" : "Bảng điều khiển %@"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ 创建日志"
+ "value" : "%@ 控制台"
}
}
}
@@ -103,6 +106,40 @@
}
}
},
+ "%@ Creation Log" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%@ Creation Log"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%@ の作成ログ"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%@ 생성 로그"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Nhật ký tạo %@"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%@ 创建日志"
+ }
+ }
+ }
+ },
"%@ does not contain VPhone.bundle at its top level." : {
"localizations" : {
"en" : {
@@ -138,6 +175,7 @@
}
},
"%@ exited with status %d." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -444,6 +482,7 @@
}
},
"%@ is too old" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -579,40 +618,6 @@
}
}
},
- "%@ · %@ · Expires %@" : {
- "localizations" : {
- "en" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "%@ · %@ · Expires %@"
- }
- },
- "ja" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "%1$@ · %2$@ · %3$@に期限切れ"
- }
- },
- "ko" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "%1$@ · %2$@ · %3$@ 만료"
- }
- },
- "vi" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "%1$@ · %2$@ · Hết hạn %3$@"
- }
- },
- "zh-Hans" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "%1$@ · %2$@ · 将于%3$@过期"
- }
- }
- }
- },
"%@; 8 cores, 16 GB recommended" : {
"localizations" : {
"en" : {
@@ -829,6 +834,40 @@
}
}
},
+ "%lld of %lld on" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%1$lld of %2$lld on"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%2$lld 件中 %1$lld 件がオン"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%2$lld개 중 %1$lld개 켬"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Đã bật %1$lld/%2$lld"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "已启用 %1$lld 个,共 %2$lld 个"
+ }
+ }
+ }
+ },
"%lld of %lld passed" : {
"localizations" : {
"en" : {
@@ -863,6 +902,74 @@
}
}
},
+ "%lld turned off, %lld turned on from the preset" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%1$lld turned off, %2$lld turned on from the preset"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "プリセットから %1$lld 件をオフ、%2$lld 件をオン"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "프리셋에서 %1$lld개 끔, %2$lld개 켬"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "So với cấu hình sẵn: tắt %1$lld, bật %2$lld"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "相对预设关闭 %1$lld 个,启用 %2$lld 个"
+ }
+ }
+ }
+ },
+ "^[%lld boot-essential patch](inflect: true) off: %@" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "^[%1$lld boot-essential patch](inflect: true) off: %2$@"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "起動に必要なパッチ %1$lld 件がオフ:%2$@"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "부팅에 필요한 패치 %1$lld개 꺼짐: %2$@"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%1$lld bản vá cần để khởi động đang tắt: %2$@"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%1$lld 个启动必需的补丁已关闭:%2$@"
+ }
+ }
+ }
+ },
"A Core Bundle can be installed once every required check passes." : {
"localizations" : {
"en" : {
@@ -1034,6 +1141,7 @@
}
},
"Administrator authorization failed (OSStatus %d)." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -1204,6 +1312,7 @@
}
},
"After allowing vphone-launchpad under Privacy & Security → Developer Tools, quit and reopen it." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -1237,6 +1346,40 @@
}
}
},
+ "All" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "All"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "すべて"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "전체"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Tất cả"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "全部"
+ }
+ }
+ }
+ },
"Allow bundle to run" : {
"localizations" : {
"en" : {
@@ -1441,6 +1584,40 @@
}
}
},
+ "Applies To" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Applies To"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "対象"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "적용 대상"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Áp dụng cho"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "适用于"
+ }
+ }
+ }
+ },
"Available" : {
"localizations" : {
"en" : {
@@ -1680,6 +1857,7 @@
}
},
"Cannot create an authorization (OSStatus %d)." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -1816,6 +1994,7 @@
}
},
"cfw install exited with status %d." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -2360,6 +2539,7 @@
}
},
"Cloning" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -2496,6 +2676,7 @@
}
},
"Closing this window keeps it running." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -2597,70 +2778,71 @@
}
}
},
- "Commands Launchpad runs appear here." : {
+ "Command" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Commands Launchpad runs appear here."
+ "value" : "Command"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Launchpad が実行したコマンドがここに表示されます。"
+ "value" : "コマンド"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Launchpad가 실행한 명령이 여기에 표시됩니다."
+ "value" : "명령"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Các lệnh Launchpad chạy sẽ hiển thị ở đây."
+ "value" : "Lệnh"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Launchpad 运行的命令会显示在这里。"
+ "value" : "命令"
}
}
}
},
- "Command" : {
+ "Commands Launchpad runs appear here." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Command"
+ "value" : "Commands Launchpad runs appear here."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "コマンド"
+ "value" : "Launchpad が実行したコマンドがここに表示されます。"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "명령"
+ "value" : "Launchpad가 실행한 명령이 여기에 표시됩니다."
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Lệnh"
+ "value" : "Các lệnh Launchpad chạy sẽ hiển thị ở đây."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "命令"
+ "value" : "Launchpad 运行的命令会显示在这里。"
}
}
}
@@ -2801,6 +2983,40 @@
}
}
},
+ "Copy" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Copy"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "コピー"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "복사"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Sao chép"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "拷贝"
+ }
+ }
+ }
+ },
"Copy Command" : {
"localizations" : {
"en" : {
@@ -2870,6 +3086,7 @@
}
},
"Core Bundle appears once every required check passes." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -3154,6 +3371,7 @@
}
},
"Create bundle" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -3255,70 +3473,70 @@
}
}
},
- "Creates a .tzst archive." : {
+ "Creates a .tzst archive for each machine in the folder you choose." : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Creates a .tzst archive."
+ "value" : "Creates a .tzst archive for each machine in the folder you choose."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : ".tzst アーカイブを作成します。"
+ "value" : "選択したフォルダに、マシンごとの .tzst アーカイブを作成します。"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : ".tzst 아카이브를 만듭니다."
+ "value" : "선택한 폴더에 머신마다 .tzst 아카이브를 만듭니다."
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Tạo tệp lưu trữ .tzst."
+ "value" : "Tạo một bản lưu trữ .tzst cho mỗi máy trong thư mục bạn chọn."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "生成 .tzst 归档。"
+ "value" : "在你选择的文件夹中为每台虚拟机创建一个 .tzst 归档。"
}
}
}
},
- "Creates a .tzst archive for each machine in the folder you choose." : {
+ "Creates a .tzst archive." : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Creates a .tzst archive for each machine in the folder you choose."
+ "value" : "Creates a .tzst archive."
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "選択したフォルダに、マシンごとの .tzst アーカイブを作成します。"
+ "value" : ".tzst アーカイブを作成します。"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "선택한 폴더에 머신마다 .tzst 아카이브를 만듭니다."
+ "value" : ".tzst 아카이브를 만듭니다."
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Tạo một bản lưu trữ .tzst cho mỗi máy trong thư mục bạn chọn."
+ "value" : "Tạo tệp lưu trữ .tzst."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "在你选择的文件夹中为每台虚拟机创建一个 .tzst 归档。"
+ "value" : "生成 .tzst 归档。"
}
}
}
@@ -3561,70 +3779,70 @@
}
}
},
- "Delete %lld Machines?" : {
+ "Delete %@?" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Delete %lld Machines?"
+ "value" : "Delete %@?"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%lld 台のマシンを削除しますか?"
+ "value" : "%@ を削除しますか?"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "머신 %lld대를 삭제하겠습니까?"
+ "value" : "%@을(를) 삭제하겠습니까?"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Xóa %lld máy?"
+ "value" : "Xóa %@?"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "删除 %lld 台虚拟机?"
+ "value" : "删除 %@?"
}
}
}
},
- "Delete %@?" : {
+ "Delete %lld Machines?" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Delete %@?"
+ "value" : "Delete %lld Machines?"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@ を削除しますか?"
+ "value" : "%lld 台のマシンを削除しますか?"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%@을(를) 삭제하겠습니까?"
+ "value" : "머신 %lld대를 삭제하겠습니까?"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Xóa %@?"
+ "value" : "Xóa %lld máy?"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "删除 %@?"
+ "value" : "删除 %lld 台虚拟机?"
}
}
}
@@ -3664,6 +3882,7 @@
}
},
"Deleting" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -3732,6 +3951,7 @@
}
},
"Densest compression" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -3799,6 +4019,40 @@
}
}
},
+ "Differs from the preset: %lld off, %lld on." : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Differs from the preset: %1$lld off, %2$lld on."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "プリセットとの差分:%1$lld 件オフ、%2$lld 件オン。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "프리셋과 다름: %1$lld개 끔, %2$lld개 켬."
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Khác cấu hình sẵn: tắt %1$lld, bật %2$lld."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "与预设不同:关闭 %1$lld 个,启用 %2$lld 个。"
+ }
+ }
+ }
+ },
"Disable dyld shared cache randomization" : {
"localizations" : {
"en" : {
@@ -3935,70 +4189,70 @@
}
}
},
- "Done" : {
+ "Don’t Skip" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Done"
+ "value" : "Don’t Skip"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "完了"
+ "value" : "スキップしない"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "완료"
+ "value" : "건너뛰지 않음"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Xong"
+ "value" : "Không bỏ qua"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "完成"
+ "value" : "不跳过"
}
}
}
},
- "Don’t Skip" : {
+ "Done" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Don’t Skip"
+ "value" : "Done"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "スキップしない"
+ "value" : "完了"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "건너뛰지 않음"
+ "value" : "완료"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Không bỏ qua"
+ "value" : "Xong"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "不跳过"
+ "value" : "完成"
}
}
}
@@ -4106,6 +4360,7 @@
}
},
"Downloading" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -4140,6 +4395,7 @@
}
},
"Downloading…" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -4411,138 +4667,139 @@
}
}
},
- "Exporting…" : {
+ "Export %lld Machines" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Exporting…"
+ "value" : "Export %lld Machines"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "書き出し中…"
+ "value" : "%lld 台のマシンを書き出す"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "내보내는 중…"
+ "value" : "머신 %lld대 내보내기"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Đang xuất…"
+ "value" : "Xuất %lld máy"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "正在导出…"
+ "value" : "导出 %lld 台虚拟机"
}
}
}
},
- "Export %lld Machines" : {
+ "Export…" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Export %lld Machines"
+ "value" : "Export…"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "%lld 台のマシンを書き出す"
+ "value" : "書き出す…"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "머신 %lld대 내보내기"
+ "value" : "내보내기…"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Xuất %lld máy"
+ "value" : "Xuất…"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "导出 %lld 台虚拟机"
+ "value" : "导出…"
}
}
}
},
- "Export…" : {
+ "Exporting" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Export…"
+ "value" : "Exporting"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "書き出す…"
+ "value" : "書き出し中"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "내보내기…"
+ "value" : "내보내는 중"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Xuất…"
+ "value" : "Đang xuất"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "导出…"
+ "value" : "正在导出"
}
}
}
},
- "Exporting" : {
+ "Exporting…" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Exporting"
+ "value" : "Exporting…"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "書き出し中"
+ "value" : "書き出し中…"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "내보내는 중"
+ "value" : "내보내는 중…"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Đang xuất"
+ "value" : "Đang xuất…"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "正在导出"
+ "value" : "正在导出…"
}
}
}
@@ -4582,6 +4839,40 @@
}
}
},
+ "Filter patches" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Filter patches"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "パッチを絞り込む"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "패치 필터"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Lọc bản vá"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "过滤补丁"
+ }
+ }
+ }
+ },
"Firmware" : {
"localizations" : {
"en" : {
@@ -4599,87 +4890,121 @@
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "펌웨어"
+ "value" : "펌웨어"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Firmware"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "固件"
+ }
+ }
+ }
+ },
+ "First available" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "First available"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "最初に利用可能なもの"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "첫 번째 사용 가능한 인터페이스"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Firmware"
+ "value" : "Giao diện khả dụng đầu tiên"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "固件"
+ "value" : "第一个可用接口"
}
}
}
},
- "First available" : {
+ "First boot" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "First available"
+ "value" : "First boot"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "最初に利用可能なもの"
+ "value" : "初回起動"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "첫 번째 사용 가능한 인터페이스"
+ "value" : "첫 부팅"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Giao diện khả dụng đầu tiên"
+ "value" : "Khởi động lần đầu"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "第一个可用接口"
+ "value" : "首次启动"
}
}
}
},
- "First boot" : {
+ "Fixed once the machine is installed" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "First boot"
+ "value" : "Fixed once the machine is installed"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "初回起動"
+ "value" : "マシンのインストール後は変更できません"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "첫 부팅"
+ "value" : "머신을 설치한 후에는 변경할 수 없음"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Khởi động lần đầu"
+ "value" : "Không thể thay đổi sau khi cài máy ảo"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "首次启动"
+ "value" : "虚拟机安装后无法更改"
}
}
}
@@ -4787,6 +5112,7 @@
}
},
"GitHub answered the release list with an error." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -5059,6 +5385,7 @@
}
},
"Host preflight did not pass." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -5127,6 +5454,7 @@
}
},
"Host preflight failed. Fix the issue below, then choose Run Preflight Again." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -5228,6 +5556,40 @@
}
}
},
+ "Identifier" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Identifier"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "識別子"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "식별자"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Mã định danh"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "标识符"
+ }
+ }
+ }
+ },
"Identity" : {
"localizations" : {
"en" : {
@@ -5841,6 +6203,7 @@
}
},
"Installing %@" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -6181,6 +6544,7 @@
}
},
"Latest Release" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -6248,7 +6612,76 @@
}
}
},
+ "Leave ^[%lld boot-essential patch](inflect: true) off?" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Leave ^[%lld boot-essential patch](inflect: true) off?"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "起動に必要なパッチ %lld 件をオフのままにしますか?"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "부팅에 필요한 패치 %lld개를 끈 상태로 둘까요?"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Để tắt %lld bản vá cần để khởi động?"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "要让 %lld 个启动必需的补丁保持关闭吗?"
+ }
+ }
+ }
+ },
+ "Leave Them Off" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Leave Them Off"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "オフのままにする"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "끈 상태로 두기"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Vẫn tắt"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "保持关闭"
+ }
+ }
+ }
+ },
"Letters, digits, dots, dashes and underscores." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -6317,6 +6750,7 @@
}
},
"List releases again and rerun host preflight" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -6385,6 +6819,7 @@
}
},
"Loading fw catalog…" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -6555,6 +6990,7 @@
}
},
"Machines appears once a bundle is installed and passes host preflight." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -7099,6 +7535,7 @@
}
},
"No core bundle is active." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -7268,6 +7705,40 @@
}
}
},
+ "No Patch List" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "No Patch List"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "パッチ一覧がありません"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "패치 목록 없음"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Không có danh sách bản vá"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "无补丁列表"
+ }
+ }
+ }
+ },
"No Selection" : {
"localizations" : {
"en" : {
@@ -7676,6 +8147,40 @@
}
}
},
+ "On" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "On"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "オン"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "켬"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Bật"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "启用"
+ }
+ }
+ }
+ },
"Only the settings you change are applied to each machine." : {
"localizations" : {
"en" : {
@@ -7949,6 +8454,7 @@
}
},
"Owner" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -8016,6 +8522,40 @@
}
}
},
+ "Patch" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Patch"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "パッチ"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "패치"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Bản vá"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "补丁"
+ }
+ }
+ }
+ },
"Patch boot chain" : {
"localizations" : {
"en" : {
@@ -8050,138 +8590,173 @@
}
}
},
- "Physical Mac" : {
+ "Patch Set" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Physical Mac"
+ "value" : "Patch Set"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "物理 Mac"
+ "value" : "パッチセット"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "물리적 Mac"
+ "value" : "패치 세트"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Máy Mac vật lý"
+ "value" : "Bộ bản vá"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "实体 Mac"
+ "value" : "补丁集"
}
}
}
},
- "Policy exception" : {
+ "Patch Settings…" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Policy exception"
+ "value" : "Patch Settings…"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "ポリシーの例外"
+ "value" : "パッチ設定…"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "정책 예외"
+ "value" : "패치 설정…"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Ngoại lệ chính sách"
+ "value" : "Cài đặt bản vá…"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "策略例外"
+ "value" : "补丁设置…"
}
}
}
},
- "Patch Settings…" : {
+ "Patches" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Patch Settings…"
+ "value" : "Patches"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "パッチ設定…"
+ "value" : "パッチ"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "패치 설정…"
+ "value" : "패치"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Bản vá"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "补丁"
+ }
+ }
+ }
+ },
+ "Physical Mac" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Physical Mac"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "物理 Mac"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "물리적 Mac"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Cài đặt bản vá…"
+ "value" : "Máy Mac vật lý"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "补丁设置…"
+ "value" : "实体 Mac"
}
}
}
},
- "Patches" : {
+ "Policy exception" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Patches"
+ "value" : "Policy exception"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "パッチ"
+ "value" : "ポリシーの例外"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "패치"
+ "value" : "정책 예외"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Bản vá"
+ "value" : "Ngoại lệ chính sách"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "补丁"
+ "value" : "策略例外"
}
}
}
@@ -8221,6 +8796,7 @@
}
},
"Preflight" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -8561,6 +9137,7 @@
}
},
"Quitting stops the New Machine pipeline. You can retry it later from the step it stopped at." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -8697,6 +9274,7 @@
}
},
"Recommended pairings for %@ from vphone-cli fw catalog." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -8731,6 +9309,7 @@
}
},
"Relax kernel restrictions for Frida Stalker" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -8833,6 +9412,7 @@
}
},
"Reload releases and run host preflight again." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -9071,6 +9651,7 @@
}
},
"Renaming" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -9274,6 +9855,40 @@
}
}
},
+ "Required to boot" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Required to boot"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "起動に必須"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "부팅에 필수"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Bắt buộc để khởi động"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "启动必需"
+ }
+ }
+ }
+ },
"Requires VPhone.bundle %@ or newer." : {
"localizations" : {
"en" : {
@@ -9445,6 +10060,7 @@
}
},
"root:wheel, written only by the helper" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -9717,6 +10333,7 @@
}
},
"Saving settings" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -9819,6 +10436,7 @@
}
},
"Section" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -9886,6 +10504,40 @@
}
}
},
+ "Select a patch to see what it changes." : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Select a patch to see what it changes."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "パッチを選択すると変更内容が表示されます。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "패치를 선택하면 변경 내용이 표시됩니다."
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Chọn một bản vá để xem nó thay đổi gì."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "选择一个补丁以查看其改动。"
+ }
+ }
+ }
+ },
"Set Up…" : {
"localizations" : {
"en" : {
@@ -9921,6 +10573,7 @@
}
},
"Set VPHONE_LAUNCHPAD_TEAM, rebuild, and sign the app before installing the helper." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -10090,40 +10743,6 @@
}
}
},
- "Show the command" : {
- "localizations" : {
- "en" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "Show the command"
- }
- },
- "ja" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "コマンドを表示"
- }
- },
- "ko" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "명령 보기"
- }
- },
- "vi" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "Hiển thị lệnh"
- }
- },
- "zh-Hans" : {
- "stringUnit" : {
- "state" : "translated",
- "value" : "显示命令"
- }
- }
- }
- },
"Show Patch Log" : {
"localizations" : {
"en" : {
@@ -10158,70 +10777,70 @@
}
}
},
- "View Details" : {
+ "Show Progress" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "View Details"
+ "value" : "Show Progress"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "詳細を表示"
+ "value" : "進行状況を表示"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "세부 정보 보기"
+ "value" : "진행 상황 보기"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Xem chi tiết"
+ "value" : "Hiển thị tiến trình"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "查看详情"
+ "value" : "显示进度"
}
}
}
},
- "Show Progress" : {
+ "Show the command" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Show Progress"
+ "value" : "Show the command"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
- "value" : "進行状況を表示"
+ "value" : "コマンドを表示"
}
},
"ko" : {
"stringUnit" : {
"state" : "translated",
- "value" : "진행 상황 보기"
+ "value" : "명령 보기"
}
},
"vi" : {
"stringUnit" : {
"state" : "translated",
- "value" : "Hiển thị tiến trình"
+ "value" : "Hiển thị lệnh"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
- "value" : "显示进度"
+ "value" : "显示命令"
}
}
}
@@ -10772,6 +11391,7 @@
}
},
"Stop creating the machine?" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -10840,6 +11460,7 @@
}
},
"Stop VM" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -10908,6 +11529,7 @@
}
},
"Stopping" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -10976,6 +11598,7 @@
}
},
"Store" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11044,6 +11667,7 @@
}
},
"The clone boots as a new device. SEP storage is copied as is, so a restored machine may need restoring again." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11078,6 +11702,7 @@
}
},
"The clone starts as a new device. Its Secure Enclave data is copied unchanged, so you may need to restore the clone again." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11112,6 +11737,7 @@
}
},
"The command failed." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11146,6 +11772,7 @@
}
},
"The DFU boot did not write udid-prediction.txt within 30 seconds." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11180,6 +11807,7 @@
}
},
"The DFU boot exited." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11248,6 +11876,7 @@
}
},
"The download does not match the published SHA-256." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11282,6 +11911,7 @@
}
},
"The download of %@ failed." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11316,6 +11946,7 @@
}
},
"The guest panicked on first boot." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11350,6 +11981,7 @@
}
},
"The helper connection has the wrong interface." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11384,6 +12016,7 @@
}
},
"The helper could not be installed." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11452,6 +12085,7 @@
}
},
"The install failed." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11689,6 +12323,74 @@
}
}
},
+ "The machine may not boot without %@." : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "The machine may not boot without %@."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%@ がないとマシンが起動しない可能性があります。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "%@ 없이는 머신이 부팅되지 않을 수 있습니다."
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Máy ảo có thể không khởi động nếu thiếu %@."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "缺少 %@ 时,虚拟机可能无法启动。"
+ }
+ }
+ }
+ },
+ "The machine may not boot without this patch." : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "The machine may not boot without this patch."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "このパッチがないとマシンが起動しない可能性があります。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "이 패치 없이는 머신이 부팅되지 않을 수 있습니다."
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Máy ảo có thể không khởi động nếu thiếu bản vá này."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "缺少此补丁时,虚拟机可能无法启动。"
+ }
+ }
+ }
+ },
"The machine stopped before first boot finished." : {
"localizations" : {
"en" : {
@@ -11860,6 +12562,7 @@
}
},
"The VM exited before vphoned answered." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -11996,6 +12699,7 @@
}
},
"This build has no signing team." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -12064,6 +12768,7 @@
}
},
"Timed out waiting for the device to enter recovery mode." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -12166,6 +12871,7 @@
}
},
"udid-prediction.txt has no ECID." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -12437,6 +13143,40 @@
}
}
},
+ "Unable to list the bundle's patches." : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Unable to list the bundle's patches."
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "バンドルのパッチ一覧を取得できません。"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "번들의 패치 목록을 가져올 수 없습니다."
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Không thể liệt kê các bản vá của bundle."
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "无法列出 bundle 的补丁。"
+ }
+ }
+ }
+ },
"Unable to load GitHub Actions builds. Try again later." : {
"localizations" : {
"en" : {
@@ -12744,6 +13484,7 @@
}
},
"Unknown error" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13151,7 +13892,42 @@
}
}
},
+ "View Details" : {
+ "localizations" : {
+ "en" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "View Details"
+ }
+ },
+ "ja" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "詳細を表示"
+ }
+ },
+ "ko" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "세부 정보 보기"
+ }
+ },
+ "vi" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "Xem chi tiết"
+ }
+ },
+ "zh-Hans" : {
+ "stringUnit" : {
+ "state" : "translated",
+ "value" : "查看详情"
+ }
+ }
+ }
+ },
"VPhone.bundle %@ could not be removed." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13185,12 +13961,12 @@
}
}
},
- "VPhone.bundle %1$@ is not supported. Use version %2$@ or newer." : {
+ "VPhone.bundle %@ is not supported. Use version %@ or newer." : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "VPhone.bundle %1$@ is not supported. Use version %2$@ or newer."
+ "value" : "VPhone.bundle %@ is not supported. Use version %@ or newer."
}
},
"ja" : {
@@ -13219,12 +13995,13 @@
}
}
},
- "VPhone.bundle %@ is not supported. Use version %@ or newer." : {
+ "VPhone.bundle %1$@ is not supported. Use version %2$@ or newer." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
- "value" : "VPhone.bundle %@ is not supported. Use version %@ or newer."
+ "value" : "VPhone.bundle %1$@ is not supported. Use version %2$@ or newer."
}
},
"ja" : {
@@ -13254,6 +14031,7 @@
}
},
"vphoned did not answer within 300 seconds." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13356,6 +14134,7 @@
}
},
"Waiting for an administrator…" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13424,6 +14203,7 @@
}
},
"Writes a .txz archive with xz -9. Smaller, and much slower." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13458,6 +14238,7 @@
}
},
"Writes a .tzst archive with zstd -3." : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13526,6 +14307,7 @@
}
},
"Zero the dyld cache maxSlide" : {
+ "extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
@@ -13595,4 +14377,4 @@
}
},
"version" : "1.0"
-}
+}
\ No newline at end of file
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachineLibrary.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachineLibrary.swift
index ef85a90d..612e7e91 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachineLibrary.swift
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachineLibrary.swift
@@ -331,17 +331,6 @@ final class VPhoneLaunchpadMachineLibrary {
await perform(String(localized: "Saving settings…"), on: machine, arguments)
}
- /// Records the machine's patch choice. `fw set-patches` writes the plist, so
- /// nothing here reaches into a VM bundle itself. The choice applies the next
- /// time the boot chain is patched.
- func setPatches(_ machine: Path, _ selection: VPhoneLaunchpadPatchSelection) async {
- await perform(
- String(localized: "Saving patch settings…"),
- on: machine,
- ["fw", "set-patches", machine.name] + selection.setPatchesArguments + machine.libraryArguments,
- )
- }
-
func rename(_ machine: Path, to newName: String) async {
if await perform(String(localized: "Renaming…"), on: machine, ["vm", "rename", machine.name, newName] + machine.libraryArguments) {
selection = [Path(libraryRoot: machine.libraryRoot, name: newName)]
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachinesView.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachinesView.swift
index 955bca4d..daaa5d96 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachinesView.swift
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadMachinesView.swift
@@ -8,7 +8,6 @@ struct VPhoneLaunchpadMachinesView: View {
case newMachine
case creation(MachinePath)
case settings([VPhoneLaunchpadMachine])
- case patches(MachinePath)
case rename(MachinePath)
case clone(MachinePath)
case export([MachinePath])
@@ -19,7 +18,6 @@ struct VPhoneLaunchpadMachinesView: View {
case .newMachine: "new"
case let .creation(machine): "creation-\(machine.url.path)"
case let .settings(machines): "settings-\(machines.map(\.path.url.path).joined(separator: "|"))"
- case let .patches(machine): "patches-\(machine.url.path)"
case let .rename(machine): "rename-\(machine.url.path)"
case let .clone(machine): "clone-\(machine.url.path)"
case let .export(machines): "export-\(machines.map(\.url.path).joined(separator: "|"))"
@@ -60,7 +58,6 @@ struct VPhoneLaunchpadMachinesView: View {
table(selection: $library.selection)
}
}
- .searchable(text: $filter, placement: .toolbar, prompt: Text("Search machines"))
// A hidden machine stays out of the selection, so Start, Delete and
// the inspector act only on rows the table shows.
.onChange(of: filter) {
@@ -162,10 +159,14 @@ struct VPhoneLaunchpadMachinesView: View {
.help("Create a machine")
.disabled(model.bundles.activeVersion == nil)
}
- // Without it, macOS 15 puts the field at the window's trailing edge,
- // past the inspector.
+ // Without it, macOS 26 draws New Machine and the search field in
+ // one glass capsule.
if #available(macOS 26, *) {
- DefaultToolbarItem(kind: .search)
+ ToolbarSpacer(.fixed)
+ }
+ ToolbarItem(placement: .automatic) {
+ VPhoneLaunchpadSearchField(text: $filter, prompt: String(localized: "Search machines"))
+ .frame(width: 200)
}
}
@@ -282,8 +283,6 @@ struct VPhoneLaunchpadMachinesView: View {
Divider()
Button("Settings…") { sheet = .settings([machine]) }
.disabled(!isStopped)
- Button("Patch Settings…") { sheet = .patches(machine.path) }
- .disabled(!isStopped)
Button("Rename…") { sheet = .rename(machine.path) }
.disabled(!isStopped)
Button("Clone…") { sheet = .clone(machine.path) }
@@ -396,12 +395,6 @@ struct VPhoneLaunchpadMachinesView: View {
}
case let .settings(machines):
VPhoneLaunchpadMachineSettingsView(machines: machines)
- case let .patches(path):
- // The machine's own record is what the editor starts from, so it reads
- // it back through `fw patches` rather than being handed a copy.
- VPhoneLaunchpadPatchSettingsView(machine: path) { selection in
- Task { await library.setPatches(path, selection) }
- }
case let .rename(path):
VPhoneLaunchpadNameSheet(title: "Rename \(path.name)", action: "Rename", initial: path.name, machine: path) { newName in
Task { await library.rename(path, to: newName) }
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineAdvancedView.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineAdvancedView.swift
index 0ff81f0c..e30b82b6 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineAdvancedView.swift
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineAdvancedView.swift
@@ -50,7 +50,7 @@ struct VPhoneLaunchpadNewMachineAdvancedView: View {
.frame(width: 520)
.fixedSize(horizontal: false, vertical: true)
.sheet(isPresented: $showsPatchSettings) {
- VPhoneLaunchpadPatchSettingsView(machine: nil, initial: patches) { selection in
+ VPhoneLaunchpadPatchSettingsView(initial: patches) { selection in
patches = selection
reloadPatches()
}
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadPatchSettingsView.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadPatchSettingsView.swift
index f6896514..1cf31f0c 100644
--- a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadPatchSettingsView.swift
+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadPatchSettingsView.swift
@@ -1,7 +1,10 @@
import SwiftUI
-/// The patch editor: a preset, and a checkmark for every patch the bundle
-/// declares.
+/// The patch editor New Machine opens: a preset, and a checkmark for every
+/// patch the bundle declares.
+///
+/// Only a machine that does not exist yet has one. Once installed, its
+/// firmware is patched and the choice is fixed.
///
/// The list is never a copy of the catalogue — it is whatever
/// `vphone-cli fw patches --json` reports, so a patch set added to the bundle
@@ -11,14 +14,9 @@ import SwiftUI
struct VPhoneLaunchpadPatchSettingsView: View {
typealias Catalog = VPhoneLaunchpadPatchCatalog
- /// The machine whose record this edits, or nil while New Machine is still
- /// composing one that no directory exists for yet.
- let machine: VPhoneLaunchpadMachinePath?
- /// What the boxes start from. An existing machine has its own record, read
- /// back through `fw patches`, so only New Machine passes one.
+ /// What the boxes start from.
let initial: VPhoneLaunchpadPatchSelection
- /// Hands the edited choice back. An existing machine's caller writes it with
- /// `fw set-patches`; New Machine holds it until the VM exists.
+ /// Hands the edited choice back; New Machine holds it until the VM exists.
let onSave: (VPhoneLaunchpadPatchSelection) -> Void
@Environment(VPhoneLaunchpadModel.self) private var model
@@ -37,11 +35,9 @@ struct VPhoneLaunchpadPatchSettingsView: View {
@State private var confirmsBootEssential = false
init(
- machine: VPhoneLaunchpadMachinePath?,
- initial: VPhoneLaunchpadPatchSelection = VPhoneLaunchpadPatchSelection(),
+ initial: VPhoneLaunchpadPatchSelection,
onSave: @escaping (VPhoneLaunchpadPatchSelection) -> Void,
) {
- self.machine = machine
self.initial = initial
self.onSave = onSave
_selection = State(initialValue: initial)
@@ -52,7 +48,7 @@ struct VPhoneLaunchpadPatchSettingsView: View {
}
var body: some View {
- VPhoneLaunchpadSheet(machine.map { Text("\($0.name) Patches") } ?? Text("Patches")) {
+ VPhoneLaunchpadSheet(Text("Patches")) {
VStack(spacing: 0) {
header
Divider()
@@ -68,7 +64,7 @@ struct VPhoneLaunchpadPatchSettingsView: View {
} actions: {
Button("Cancel") { dismiss() }
.keyboardShortcut(.cancelAction)
- Button(machine == nil ? "Done" : "Save") { commit() }
+ Button("Done") { commit() }
.keyboardShortcut(.defaultAction)
.disabled(catalog == nil)
}
@@ -81,28 +77,29 @@ struct VPhoneLaunchpadPatchSettingsView: View {
} message: {
Text("The machine may not boot without \(essentialOff.map(\.identifier).joined(separator: ", ")).")
}
- .task { await load(preset: machine == nil ? initial.preset : nil) }
+ .task { await load(preset: initial.preset) }
}
// MARK: - Preset
private var header: some View {
- VStack(alignment: .leading, spacing: 8) {
- HStack(spacing: 12) {
+ VStack(alignment: .leading, spacing: 6) {
+ HStack(spacing: 8) {
+ // Sized to its content, so the label sits against the menu
+ // and lines up with the summary under it.
Picker("Preset", selection: presetBinding) {
ForEach(catalog?.presets ?? []) { preset in
Text(verbatim: preset.displayTitle).tag(preset.identifier)
}
}
+ .fixedSize()
.disabled(catalog == nil || isLoading)
- .frame(width: 280)
if isLoading {
ProgressView().controlSize(.small)
}
Spacer()
- TextField("Filter", text: $filter, prompt: Text("Filter patches"))
- .textFieldStyle(.roundedBorder)
- .frame(width: 200)
+ VPhoneLaunchpadSearchField(text: $filter, prompt: String(localized: "Filter patches"))
+ .frame(width: 220)
}
if let summary = catalog?.preset(selection.preset)?.displaySummary, !summary.isEmpty {
Text(verbatim: summary)
@@ -111,7 +108,8 @@ struct VPhoneLaunchpadPatchSettingsView: View {
.fixedSize(horizontal: false, vertical: true)
}
}
- .padding(12)
+ .padding(.horizontal, 16)
+ .padding(.vertical, 12)
}
/// Switching preset clears both override lists: the checkmarks are read as a
@@ -168,23 +166,33 @@ struct VPhoneLaunchpadPatchSettingsView: View {
))
.labelsHidden()
}
- .width(28)
+ .width(36)
+ // Most patches are boot-essential, so a mark on each would say
+ // nothing. It shows only on one that is off.
TableColumn("Patch", value: \.title) { patch in
- Text(verbatim: patch.title)
- .lineLimit(1)
- .help(patch.summary)
+ HStack(spacing: 4) {
+ Text(verbatim: patch.title)
+ .lineLimit(1)
+ if patch.bootEssential, !selection.isOn(patch) {
+ Image(systemName: "exclamationmark.triangle.fill")
+ .foregroundStyle(.orange)
+ .help(String(localized: "The machine may not boot without this patch."))
+ }
+ }
+ .help(patch.summary)
}
- .width(min: 130, ideal: 180)
+ .width(min: 160, ideal: 220)
TableColumn("Identifier", value: \.identifier) { patch in
Text(verbatim: patch.identifier)
.font(.system(.callout, design: .monospaced))
+ .foregroundStyle(.secondary)
.lineLimit(1)
.truncationMode(.middle)
.help(patch.identifier)
}
- .width(min: 200, ideal: 350)
+ .width(min: 180, ideal: 300)
TableColumn("Patch Set", value: \.patchSetName) { patch in
Text(verbatim: patch.patchSetName).lineLimit(1)
@@ -195,21 +203,10 @@ struct VPhoneLaunchpadPatchSettingsView: View {
if patch.isVersionGated {
Text(verbatim: patch.applicability).lineLimit(1)
} else {
- Text("Any version").foregroundStyle(.tertiary).lineLimit(1)
+ Text("All").foregroundStyle(.tertiary).lineLimit(1)
}
}
.width(min: 80, ideal: 110)
-
- TableColumn("Boot") { patch in
- if patch.bootEssential {
- Image(systemName: "exclamationmark.triangle")
- .foregroundStyle(selection.isOn(patch) ? AnyShapeStyle(.secondary) : AnyShapeStyle(.orange))
- .help(selection.isOn(patch)
- ? String(localized: "Boot-essential")
- : String(localized: "Boot-essential, and off"))
- }
- }
- .width(32)
}
}
@@ -230,7 +227,8 @@ struct VPhoneLaunchpadPatchSettingsView: View {
detail
}
.frame(maxWidth: .infinity, alignment: .leading)
- .padding(12)
+ .padding(.horizontal, 16)
+ .padding(.vertical, 12)
}
@ViewBuilder
@@ -241,57 +239,61 @@ struct VPhoneLaunchpadPatchSettingsView: View {
Text(verbatim: patch.summary)
.lineLimit(2)
.fixedSize(horizontal: false, vertical: true)
- Text(verbatim: patch.isVersionGated
- ? "\(patch.patchSetName) · \(patch.target) · \(patch.applicability)"
- : "\(patch.patchSetName) · \(patch.target)")
+ Text(verbatim: facts(patch).joined(separator: " · "))
.font(.caption)
.foregroundStyle(.secondary)
}
.frame(height: 62, alignment: .topLeading)
} else {
- Text("Select a patch to read what it changes.")
+ Text("Select a patch to see what it changes.")
.foregroundStyle(.secondary)
.frame(height: 62, alignment: .topLeading)
}
}
+ /// The line under a patch's summary: where it comes from, what it
+ /// applies to, and whether the machine boots without it.
+ private func facts(_ patch: Catalog.Patch) -> [String] {
+ var facts = [patch.patchSetName, patch.target]
+ if patch.isVersionGated {
+ facts.append(patch.applicability)
+ }
+ if patch.bootEssential {
+ facts.append(String(localized: "Required to boot"))
+ }
+ return facts
+ }
+
/// What is on, what differs from the preset, and when the choice takes effect.
private var status: String {
guard let catalog else {
return ""
}
let on = catalog.patches.count(where: { selection.isOn($0) })
- var text = String(localized: "\(on) of \(catalog.patches.count) patches on.")
+ var parts = [String(localized: "\(on) of \(catalog.patches.count) on")]
if selection.hasOverrides {
- text += String(localized: " Differs from the preset: \(selection.blocked.count) off, \(selection.allowed.count) on.")
+ parts.append(String(localized: "\(selection.blocked.count) turned off, \(selection.allowed.count) turned on from the preset"))
}
- return machine == nil
- ? text + String(localized: " Recorded when the machine is created.")
- : text + String(localized: " Applies the next time the boot chain is patched.")
+ parts.append(String(localized: "Fixed once the machine is installed"))
+ return parts.joined(separator: " · ")
}
// MARK: - Actions
- private func load(preset: String?) async {
+ private func load(preset: String) async {
isLoading = true
defer { isLoading = false }
do {
let catalog = try await Catalog.read(
using: model.bundles.commandLine(),
- machine: machine,
+ machine: nil,
preset: preset,
)
// A second switch of the picker may have overtaken this read.
- guard preset == nil || preset == selection.preset else {
+ guard preset == selection.preset else {
return
}
- // A nil preset means "report what the VM has recorded", so its own
- // choice is what the boxes start from.
selection.preset = catalog.activePreset
- if preset == nil {
- selection.blocked = Set(catalog.blockedPatches)
- selection.allowed = Set(catalog.allowedPatches)
- }
selection.normalize(against: catalog)
self.catalog = catalog
// The detail pane reserves its space either way, so it starts with