Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
iOS shell: redesign the button mapping card, texts in frontend/l10n
v0lumehi1dc2b72ce3e4
diff --git a/frontend-ios/README.md b/frontend-ios/README.mdindex 83d61aa5..e8a97667 100644--- a/frontend-ios/README.md+++ b/frontend-ios/README.md@@ -33,7 +33,7 @@ All boundary types are in `Sources/ShellUI/ShellInputs.swift` and `ShellArtwork.- `ShellActions`: selection, Play, setting changes, game-data and cloud-folder requests, reset, log, app update and Back. The game ID is always passed.- `ShellInput`: an optional semantic controller event with an increasing sequence and the device that sent it (`InputDevice`: a controller family or the keyboard), so the hints draw that device's glyphs.-`ShellControllers` is a separate library target, not part of the views: `GamepadAdapter` reads every GameController controller (D-pad and left stick with a deadzone and the Mac's repeat on hold, A activates, B goes back, X and Menu open game settings, Y opens Controllers, by label so each family confirms with its own button) and reports `ShellInput` actions and the connected controllers with their battery. Its pure mapping (`PadMapper`, `RepeatTiming`) is unit tested. The Controllers page also opens a Button mapping card for the global physical-controller button mappings, including Swap A and B, laid out like the language list: the rows with their values, and a row's options in place of them once picked. These affect games only. Its Button test card draws an Xbox-style controller and lights up each button, trigger and stick of the first controller as it is pressed (hold B to close). Shell menus keep A to confirm and B to go back. Each game's settings have one Button mapping row that opens the same card for that game, which can follow global, override individual buttons, disable a button, or explicitly turn the swap off. The demo uses it, the real shell can too.+`ShellControllers` is a separate library target, not part of the views: `GamepadAdapter` reads every GameController controller (D-pad and left stick with a deadzone and the Mac's repeat on hold, A activates, B goes back, X and Menu open game settings, Y opens Controllers, by label so each family confirms with its own button) and reports `ShellInput` actions and the connected controllers with their battery. Its pure mapping (`PadMapper`, `RepeatTiming`) is unit tested. The Controllers page also opens a Button mapping card for all games: Swap A and B as a segmented choice, then the 16 buttons in four groups (face buttons, shoulders and triggers, D-pad, more), each row the button's glyph, where it sits and what it sends, with a cream dot on a row that differs and Reset in a footer that does not scroll. The buttons are named as on a Switch controller, by position, as the engine maps every controller. A row picked shows the buttons it can send as a grid of glyphs, and None. These affect games only. Its Button test card draws an Xbox-style controller and lights up each button, trigger and stick of the controller that moved as it is pressed (hold B to close), and forgets a controller that disconnects. Shell menus keep A to confirm and B to go back. Each game's settings have one Button mapping row that opens the same card for that game, which can follow all games, override single buttons, turn a button off, or explicitly keep A and B unswapped. `PadMappingCaptureTests` renders these views on the Mac (`NX_SHELL_CAPTURE_DIR`, `NX_SHELL_CAPTURE_LANG`). The demo uses it, the real shell can too.```swiftLibraryView(diff --git a/frontend-ios/Sources/ShellHost/GamePadMapStore.swift b/frontend-ios/Sources/ShellHost/GamePadMapStore.swiftindex 714f3bcf..5b57c07b 100644--- a/frontend-ios/Sources/ShellHost/GamePadMapStore.swift+++ b/frontend-ios/Sources/ShellHost/GamePadMapStore.swift@@ -37,20 +37,17 @@ public struct GamePadMapStore {}public func reset() { defaults.removeObject(forKey: GameDefaults.padMapKey) }- public func section(global: PadMap) -> SettingSection {- func follow(_ label: String) -> SettingOption { SettingOption("follow", hostText("Follow global (\(label))")) }- let on = hostText("On"), off = hostText("Off")- var swapOptions = [follow(global.swapAB ? on : off), SettingOption("on", on), SettingOption("off", off)]- // A single-button edit need not be a complete swap or an explicit off. Show that state truthfully.- if swapValue == "custom" { swapOptions.append(SettingOption("custom", hostText("Custom"))) }- var rows = [SettingRow(id: "pad.swapAB", label: hostText("Swap A and B"),- note: hostText("Only affects physical controllers in games. Shell menus keep A to confirm and B to go back."),- kind: .choice(swapOptions), value: swapValue, fromShell: swapValue == "follow")]- rows += PadMap.buttons.map { button in- SettingRow(id: "pad.\(button)", label: PadMap.label(button),- kind: .choice([follow(PadMap.label(global.output(for: button)))] + PadMap.options),- value: entries[button] ?? "follow", fromShell: entries[button] == nil)- }+ /// The rows of the game's mapping card. A row that follows the shell's map holds "follow". The swap holds "custom" while+ /// A and B are changed to something that is neither the swap nor explicitly off: no segment is chosen then.+ public func section() -> SettingSection {+ let follow = SettingOption("follow", hostText("Same as all games"))+ let rows = [SettingRow(id: "pad.swapAB", label: hostText("Swap A and B"),+ kind: .choice([follow, SettingOption("on", hostText("On")), SettingOption("off", hostText("Off"))]),+ value: swapValue, fromShell: swapValue == "follow")]+ + PadMap.buttons.map { button in+ SettingRow(id: "pad.\(button)", label: PadMap.label(button), kind: .choice([follow] + PadMap.options),+ value: entries[button] ?? "follow", fromShell: entries[button] == nil)+ }return SettingSection(id: "pad", title: hostText("Controller"), rows: rows)}}diff --git a/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings b/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstringsindex 6a7503ff..32fcc912 100644--- a/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings+++ b/frontend-ios/Sources/ShellHost/Resources/Localizable.xcstrings@@ -225,6 +225,40 @@}}},+ "Controller": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Controller"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Manette"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Controller"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Handkontroll"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "手柄"+ }+ }+ }+ },"Done": {"localizations": {"en": {@@ -385,6 +419,86 @@}}},+ "Off": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Aus"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Off"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Désactivé"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Disattivato"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Av"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "关"+ }+ }+ }+ },+ "On": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "An"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "On"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Activé"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Attivato"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "På"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "开"+ }+ }+ }+ },"Only the end of the log is shown.": {"localizations": {"en": {@@ -417,6 +531,46 @@}}},+ "Same as all games": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Wie alle Spiele"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Same as all games"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Comme tous les jeux"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Come tutti i giochi"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Som alla spel"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "与所有游戏相同"+ }+ }+ }+ },"Settings list damaged": {"localizations": {"en": {@@ -521,6 +675,46 @@}}},+ "Swap A and B": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "A und B tauschen"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Swap A and B"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Inverser A et B"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Scambia A e B"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Byt A och B"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "交换 A 和 B"+ }+ }+ }+ },"That folder could not be remembered. Try a different one.": {"localizations": {"en": {@@ -984,119 +1178,7 @@}}}- },- "Swap A and B": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Swap A and B"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "交换 A 和 B"- }- }- }- },- "Controller": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Controller"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "手柄"- }- }- }- },- "Follow global (%@)": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Follow global (%@)"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "跟随全局(%@)"- }- }- }- },- "On": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "On"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "开"- }- }- }- },- "Off": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Off"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "关"- }- }- }- },- "Custom": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Custom"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "自定义"- }- }- }- },- "Only affects physical controllers in games. Shell menus keep A to confirm and B to go back.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Only affects physical controllers in games. Shell menus keep A to confirm and B to go back."- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "仅影响游戏内的实体手柄。shell 菜单始终使用 A 确认、B 返回。"- }- }- }}},"version": "1.0"-}+}\ No newline at end of filediff --git a/frontend-ios/Sources/ShellHost/ShellHostModel.swift b/frontend-ios/Sources/ShellHost/ShellHostModel.swiftindex 62a6986e..02898cb0 100644--- a/frontend-ios/Sources/ShellHost/ShellHostModel.swift+++ b/frontend-ios/Sources/ShellHost/ShellHostModel.swift@@ -243,7 +243,7 @@ public struct ShellHostConfig: Sendable {let pad = GamePadMapStore(defaults: config.defaults(entry.id))let sections = SettingsPresenter.sections(profile: profile, values: store.values(), fromShell: fromShell)// A profile-provided DM_PAD_MAP row owns the mapping, so do not offer conflicting shell overrides.- let padSections = profile.settings.contains { $0.env == "DM_PAD_MAP" } ? [] : [pad.section(global: shellSettings.padMap)]+ let padSections = profile.settings.contains { $0.env == "DM_PAD_MAP" } ? [] : [pad.section()]return GameDetail(game: tile, sections: sections + padSections,dataSource: dataSource(data), dataNote: dataNote(data, found: data.found),diff --git a/frontend-ios/Sources/ShellUI/ControllersView.swift b/frontend-ios/Sources/ShellUI/ControllersView.swiftindex 091fb2d9..09f975e5 100644--- a/frontend-ios/Sources/ShellUI/ControllersView.swift+++ b/frontend-ios/Sources/ShellUI/ControllersView.swift@@ -77,7 +77,7 @@ public struct ControllersView: View {/// The mapping and the test, each a compact row that opens a card of its own.private var mapping: some View {VStack(alignment: .leading, spacing: 14) {- SectionHeading(title: ShellStrings.text("Button mapping"))+ SectionHeading(title: ShellStrings.text("Buttons"))PadMappingEntryRow(gameID: Self.mappingID, rows: PadMappingRows.global(padMap), targetID: "ctl.mapping").id("ctl.mapping")ButtonTestEntryRow().id("ctl.test")}diff --git a/frontend-ios/Sources/ShellUI/GameDetailView.swift b/frontend-ios/Sources/ShellUI/GameDetailView.swiftindex 63cc4d5b..0bb006f6 100644--- a/frontend-ios/Sources/ShellUI/GameDetailView.swift+++ b/frontend-ios/Sources/ShellUI/GameDetailView.swift@@ -232,13 +232,44 @@ struct SettingControl: View, Equatable {if row.fromShell { FromSettingsMark() }}}- /// The Mac's segmented choice, across the whole card: a dim track, equal segments, the chosen value in cream.private func segmented(_ rows: [[SettingOption]]) -> some View {+ SegmentedChoice(label: row.label, rows: rows, value: row.value, targetPrefix: "\(targetPrefix)\(row.id).", enabled: row.enabled,+ change: change)+ }+ /// Many or long options: label and current value in one compact row that opens the list.+ private func valueRow(_ options: [SettingOption]) -> some View {+ ChoiceValueRow(row: row, valueLabel: options.first { $0.id == row.value }?.label ?? row.value) {+ pickChoice?(ChoiceRequest(gameID: gameID, row: row))+ }+ .shellTarget("\(targetPrefix)\(row.id)", enabled: row.enabled, radius: 11) { pickChoice?(ChoiceRequest(gameID: gameID, row: row)) }+ }+ private func rangeButton(_ symbol: String, min: Double, max: Double, delta: Double) -> some View {+ let action = { change(String(Swift.min(max, Swift.max(min, (Double(row.value) ?? min) + delta)))) }+ return Button(action: action) {+ Image(systemName: symbol).font(.system(size: 14, weight: .semibold)).frame(width: 44, height: 44)+ }+ .buttonStyle(.plain).background(.white.opacity(0.055), in: Circle())+ .overlay(Circle().strokeBorder(.white.opacity(0.10)))+ .accessibilityLabel(ShellStrings.text(symbol == "minus" ? "Decrease" : "Increase") + " " + row.label)+ .shellTarget("\(targetPrefix)\(row.id).\(symbol)", enabled: row.enabled, radius: 22, action: action)+ }+}++/// The Mac's segmented choice, across the whole card: a dim track, equal segments, the chosen value in cream. Each inner+/// array is one line of segments. A focus target per option, `targetPrefix` plus the option's ID.+struct SegmentedChoice: View {+ let label: String+ let rows: [[SettingOption]]+ let value: String+ let targetPrefix: String+ var enabled = true+ let change: (String) -> Void+ var body: some View {VStack(spacing: 2) {ForEach(Array(rows.enumerated()), id: \.offset) { _, options inEqualRow(spacing: 2) {ForEach(options) { option in- let chosen = row.value == option.id+ let chosen = value == option.idButton { change(option.id) } label: {Text(option.label).shellText(13.5, chosen ? .bold : .medium).lineLimit(1).padding(.horizontal, 14).frame(maxWidth: .infinity, minHeight: 40)@@ -247,9 +278,9 @@ struct SettingControl: View, Equatable {.contentShape(RoundedRectangle(cornerRadius: 8))}.buttonStyle(.plain)- .accessibilityLabel(row.label + ", " + option.label)+ .accessibilityLabel(label + ", " + option.label).accessibilityAddTraits(chosen ? .isSelected : [])- .shellTarget("\(targetPrefix)\(row.id).\(option.id)", enabled: row.enabled, radius: 8) { change(option.id) }+ .shellTarget(targetPrefix + option.id, enabled: enabled, radius: 8) { change(option.id) }}}}@@ -258,23 +289,6 @@ struct SettingControl: View, Equatable {.background(.white.opacity(0.055), in: RoundedRectangle(cornerRadius: 11)).overlay(RoundedRectangle(cornerRadius: 11).strokeBorder(.white.opacity(0.08)))}- /// Many or long options: label and current value in one compact row that opens the list.- private func valueRow(_ options: [SettingOption]) -> some View {- ChoiceValueRow(row: row, valueLabel: options.first { $0.id == row.value }?.label ?? row.value) {- pickChoice?(ChoiceRequest(gameID: gameID, row: row))- }- .shellTarget("\(targetPrefix)\(row.id)", enabled: row.enabled, radius: 11) { pickChoice?(ChoiceRequest(gameID: gameID, row: row)) }- }- private func rangeButton(_ symbol: String, min: Double, max: Double, delta: Double) -> some View {- let action = { change(String(Swift.min(max, Swift.max(min, (Double(row.value) ?? min) + delta)))) }- return Button(action: action) {- Image(systemName: symbol).font(.system(size: 14, weight: .semibold)).frame(width: 44, height: 44)- }- .buttonStyle(.plain).background(.white.opacity(0.055), in: Circle())- .overlay(Circle().strokeBorder(.white.opacity(0.10)))- .accessibilityLabel(ShellStrings.text(symbol == "minus" ? "Decrease" : "Increase") + " " + row.label)- .shellTarget("\(targetPrefix)\(row.id).\(symbol)", enabled: row.enabled, radius: 22, action: action)- }}/// Says that a row shows the shell settings' choice, because the game has none of its own.diff --git a/frontend-ios/Sources/ShellUI/LibraryView.swift b/frontend-ios/Sources/ShellUI/LibraryView.swiftindex 62dcacea..eb5e2ef8 100644--- a/frontend-ios/Sources/ShellUI/LibraryView.swift+++ b/frontend-ios/Sources/ShellUI/LibraryView.swift@@ -215,7 +215,8 @@ public struct LibraryView: View {Color.black.opacity(0.55).ignoresSafeArea().accessibilityHidden(true).onTapGesture { closePadMapping() }.transition(.opacity)- PadMappingCard(title: padMappingTitle(padMapping.gameID), rows: padMappingRows(padMapping.gameID), openRow: padMapping.row,+ PadMappingCard(title: padMappingTitle(padMapping.gameID), rows: padMappingRows(padMapping.gameID),+ inherited: padMapping.gameID == ControllersView.mappingID ? nil : globalPadMap, openRow: padMapping.row,open: openPadRow, pick: pickPadValue, backToList: closePadRow, reset: resetPadMapping, close: closePadMapping).padding(.horizontal, 16).padding(.vertical, 12).frame(maxWidth: .infinity, maxHeight: .infinity)@@ -448,14 +449,16 @@ public struct LibraryView: View {return games.first { $0.id == id }.map(PadMappingRows.game) ?? []}private func padMappingTitle(_ id: String) -> String {- if id == ControllersView.mappingID { return ShellStrings.text("For every game") }+ if id == ControllersView.mappingID { return ShellStrings.text("All games") }return games.first { $0.id == id }?.game.title ?? ""}private func openPadMapping(_ id: String) {noteTouch()returnFocus = focus.idpadMapping = PadMappingState(gameID: id)- focus.id = "map.row." + (padMappingRows(id).first?.id ?? "")+ // The swap's current segment, or the first button while a game's swap is neither on, off nor the shell's.+ let swap = padMappingRows(id).first+ focus.id = swap?.value == "custom" ? "map.row.pad.A" : "map.swap." + (swap?.value ?? "")}private func closePadMapping() { padMapping = nil; focus.id = returnFocus }private func openPadRow(_ row: String) {@@ -477,8 +480,10 @@ public struct LibraryView: View {private func resetPadMapping() {noteTouch()guard let id = padMapping?.gameID else { return }- if id == ControllersView.mappingID { actions.onGlobalPadMapReset() } else { actions.onChange(id, PadMappingRows.resetID, "") }- focus.id = "map.row." + (padMappingRows(id).first?.id ?? "")+ let global = id == ControllersView.mappingID+ if global { actions.onGlobalPadMapReset() } else { actions.onChange(id, PadMappingRows.resetID, "") }+ // Reset is disabled now: the focus goes to the swap, which is back at its default.+ focus.id = "map.swap." + (global ? "0" : PadMappingRows.follow)}private func openButtonTest() { noteTouch(); buttonTestOpen = true; focus.id = "test.close"; actions.onButtonTest(true) }private func closeButtonTest() {diff --git a/frontend-ios/Sources/ShellUI/PadMap.swift b/frontend-ios/Sources/ShellUI/PadMap.swiftindex 61a0985b..5c56a1dd 100644--- a/frontend-ios/Sources/ShellUI/PadMap.swift+++ b/frontend-ios/Sources/ShellUI/PadMap.swift@@ -48,4 +48,36 @@ public struct PadMap: Equatable, Sendable {}}public static var options: [SettingOption] { (buttons + ["none"]).map { SettingOption($0, label($0)) } }++ /// The 16 buttons in the four groups the mapping card shows, each with its heading. The D-pad reads up, down, left, right.+ static var groups: [(title: String, buttons: [String])] {+ [(ShellStrings.text("Face buttons"), ["A", "B", "X", "Y"]),+ (ShellStrings.text("Shoulders and triggers"), ["L", "R", "ZL", "ZR"]),+ (ShellStrings.text("D-pad"), ["Up", "Down", "Left", "Right"]),+ (ShellStrings.text("More buttons"), ["LS", "RS", "Plus", "Minus"])]+ }++ /// Where a button sits on the controller, next to its glyph. The names are a Switch controller's, by position, as the+ /// engine maps every controller: A is the right face button, B the bottom one.+ static func place(_ button: String) -> String {+ switch button {+ case "A": ShellStrings.text("Right button")+ case "B": ShellStrings.text("Bottom button")+ case "X": ShellStrings.text("Top button")+ case "Y": ShellStrings.text("Left button")+ case "L": ShellStrings.text("Left shoulder")+ case "R": ShellStrings.text("Right shoulder")+ case "ZL": ShellStrings.text("Left trigger")+ case "ZR": ShellStrings.text("Right trigger")+ case "Up": ShellStrings.text("Up")+ case "Down": ShellStrings.text("Down")+ case "Left": ShellStrings.text("Left")+ case "Right": ShellStrings.text("Right")+ case "LS": ShellStrings.text("Left stick press")+ case "RS": ShellStrings.text("Right stick press")+ case "Plus": ShellStrings.text("Plus")+ case "Minus": ShellStrings.text("Minus")+ default: label(button)+ }+ }}diff --git a/frontend-ios/Sources/ShellUI/PadMappingView.swift b/frontend-ios/Sources/ShellUI/PadMappingView.swiftindex a4772436..68c397f2 100644--- a/frontend-ios/Sources/ShellUI/PadMappingView.swift+++ b/frontend-ios/Sources/ShellUI/PadMappingView.swift@@ -32,7 +32,6 @@ public enum PadMappingRows {/// The shell's map as rows: Swap A and B, then the 16 buttons.static func global(_ map: PadMap) -> [SettingRow] {let swap = SettingRow(id: "swapAB", label: ShellStrings.text("Swap A and B"),- note: ShellStrings.text("Only affects physical controllers in games, not shell menus. Each game can override these settings."),kind: .choice([SettingOption("0", ShellStrings.text("Off")), SettingOption("1", ShellStrings.text("On"))]),value: map.swapAB ? "1" : "0", fromShell: !map.swapAB)return [swap] + PadMap.buttons.map { button in@@ -47,16 +46,23 @@ public enum PadMappingRows {static let sectionID = "pad"/// The setting a game's card sends to forget the game's own mapping.public static let resetID = "pad.reset"- static func valueLabel(_ row: SettingRow) -> String {- if case .choice(let options) = row.kind { return options.first { $0.id == row.value }?.label ?? row.value }- return row.value+ /// What a game's button row holds while it follows the shell's map.+ static let follow = "follow"+ /// The button a row is for: the shell's rows go by the button, a game's by `pad.<button>`.+ static func button(of row: SettingRow) -> String { row.id.hasPrefix("pad.") ? String(row.id.dropFirst(4)) : row.id }+ /// What a row's button sends: its own value, or the shell's for a game's row that follows it.+ static func output(of row: SettingRow, inherited: PadMap?) -> String {+ row.value == follow ? (inherited ?? PadMap()).output(for: button(of: row)) : row.value}- /// The compact row's value: nothing changed, or how much.+ /// The compact row's value: nothing changed, only A and B swapped (or kept for one game), or a custom map.static func summary(_ rows: [SettingRow], game: Bool) -> String {let changed = Set(rows.filter { !$0.fromShell }.map(\.id))- guard let swap = rows.first, !changed.isEmpty else { return ShellStrings.text(game ? "Follow global" : "Default") }- // Swapping A and B changes the rows of A and B too: only those three changed reads as the swap's own value.- if changed.contains(swap.id) && changed.isSubset(of: Set(rows.prefix(3).map(\.id))) { return swap.label + ": " + valueLabel(swap) }+ guard let swap = rows.first, !changed.isEmpty else { return ShellStrings.text(game ? "Same as all games" : "Default") }+ // Swapping A and B changes the rows of A and B too: only those three changed reads as the swap itself.+ if changed.contains(swap.id) && changed.isSubset(of: Set(rows.prefix(3).map(\.id))) {+ if swap.value == "1" || swap.value == "on" { return ShellStrings.text("A and B swapped") }+ if swap.value == "off" { return ShellStrings.text("A and B not swapped") }+ }return ShellStrings.text("Custom")}}@@ -70,7 +76,7 @@ struct PadMappingEntryRow: View {var body: some View {let isGame = gameID != ControllersView.mappingIDlet row = SettingRow(id: "padMapping", label: ShellStrings.text("Button mapping"),- note: ShellStrings.text(isGame ? "Overrides the global mapping for this game only." : "What each button of a physical controller sends in games."),+ note: ShellStrings.text(isGame ? "Change buttons for this game only." : "What each button sends in games."),kind: .choice([]), value: "")ChoiceValueRow(row: row, valueLabel: PadMappingRows.summary(rows, game: isGame), hint: ShellStrings.text("Opens the button mapping")) {openMapping?(gameID)@@ -80,12 +86,17 @@ struct PadMappingEntryRow: View {}}-/// The button mapping in a card of its own, as a long choice list is: the rows with their current values, and a row's-/// options in place of the rows once it is picked. D-pad and keys move through `map.` targets, A picks, B goes back to-/// the rows and then closes.+/// The button mapping in a card of its own. The list: Swap A and B as a segmented choice, then the 16 buttons in four+/// grouped cards (face buttons, shoulders and triggers, D-pad, more), each row the button's glyph, where it sits and what it+/// sends, a cream dot on a row that differs. Reset stays in a footer under the scrolling list. A row picked shows the+/// buttons it can send as a grid of glyphs, in the same groups. D-pad and keys move through `map.` targets, A picks, B goes+/// back to the rows and then closes.struct PadMappingCard: View {+ /// The game's title, or All games for the shell's map.let title: Stringlet rows: [SettingRow]+ /// The shell's map, which a game's rows follow until they are changed. Nil on the shell's own card.+ var inherited: PadMap?let openRow: String?let open: (String) -> Voidlet pick: (String, String) -> Void@@ -96,147 +107,300 @@ struct PadMappingCard: View {@Environment(\.shellFocus) private var focusprivate var shown: SettingRow? { openRow.flatMap { id in rows.first { $0.id == id } } }+ private var isGame: Bool { inherited != nil }+ private var swapRow: SettingRow? { rows.first { PadMappingRows.button(of: $0) == "swapAB" } }+ private var changedAny: Bool { !rows.allSatisfy(\.fromShell) }var body: some View {- ViewThatFits(in: .vertical) {- content(scrolls: false)- content(scrolls: true)- }- .frame(maxWidth: 460)- .background(Color(red: 0.075, green: 0.075, blue: 0.082), in: RoundedRectangle(cornerRadius: 26))- .overlay(RoundedRectangle(cornerRadius: 26).strokeBorder(.white.opacity(0.10)))- .shadow(color: .black.opacity(0.5), radius: 40)- .accessibilityElement(children: .contain)- .accessibilityAddTraits(.isModal)- .accessibilityIdentifier("padMapping.card")- }-- private func content(scrolls: Bool) -> some View {VStack(alignment: .leading, spacing: 0) {headerRectangle().fill(ShellPalette.hairline).frame(height: 1)- if scrolls {+ ViewThatFits(in: .vertical) {+ content.fixedSize(horizontal: false, vertical: true)ScrollViewReader { proxy in- ScrollView { body(of: shown) }+ ScrollView { content }.scrollIndicators(.hidden).onAppear { if let id = focus.id { proxy.scrollTo(id, anchor: .center) } }.onChange(of: focus.id) { _, id in- guard let id, id.hasPrefix("map.") else { return }- withAnimation(reduceMotion ? nil : .easeOut(duration: 0.15)) {- proxy.scrollTo(id, anchor: id == "map.close" || id == "map.back" ? .top : .center)- }+ guard let id, id.hasPrefix("map."), id != "map.close", id != "map.back", id != "map.reset" else { return }+ withAnimation(reduceMotion ? nil : .easeOut(duration: 0.15)) { proxy.scrollTo(id, anchor: .center) }}}- } else {- body(of: shown)+ }+ if shown == nil {+ Rectangle().fill(ShellPalette.hairline).frame(height: 1)+ footer}}+ .frame(maxWidth: 480)+ .background(Color(red: 0.075, green: 0.075, blue: 0.082), in: RoundedRectangle(cornerRadius: 26))+ .clipShape(RoundedRectangle(cornerRadius: 26))+ .overlay(RoundedRectangle(cornerRadius: 26).strokeBorder(.white.opacity(0.10)))+ .shadow(color: .black.opacity(0.5), radius: 40)+ .accessibilityElement(children: .contain)+ .accessibilityAddTraits(.isModal)+ .accessibilityIdentifier("padMapping.card")+ }++ @ViewBuilder private var content: some View {+ if let shown { options(shown) } else { list }}+ // MARK: Header and footer+private var header: some View {HStack(alignment: .center, spacing: 12) {if shown != nil {- Button(action: backToList) {- Image(systemName: "chevron.left").font(.system(size: 14, weight: .semibold)).frame(width: 44, height: 44)- .background(.white.opacity(0.08), in: Circle()).contentShape(Circle())- }- .buttonStyle(.plain)- .accessibilityLabel(ShellStrings.text("Button mapping"))- .accessibilityIdentifier("padMapping.back")- .shellTarget("map.back", radius: 22, action: backToList)+ roundButton("chevron.left", label: ShellStrings.text("Button mapping"), id: "padMapping.back", target: "map.back", action: backToList)}- VStack(alignment: .leading, spacing: 2) {- Text(shown?.label ?? ShellStrings.text("Button mapping")).shellType(ShellType.flowTitle(20)).lineLimit(2)- .accessibilityAddTraits(.isHeader).accessibilityIdentifier("padMapping.title")- Text(shown == nil ? title : ShellStrings.text("Sends in games")).shellType(ShellType.note)- .foregroundStyle(.white.opacity(0.5)).lineLimit(2)+ if let shown {+ let button = PadMappingRows.button(of: shown)+ PadGlyph(button: button)+ VStack(alignment: .leading, spacing: 2) {+ Text(PadMap.place(button)).shellType(ShellType.flowTitle(20)).lineLimit(2)+ .accessibilityAddTraits(.isHeader).accessibilityIdentifier("padMapping.title")+ .accessibilityLabel(PadMap.label(button) + ", " + PadMap.place(button))+ Text(ShellStrings.text("Sends in games")).shellType(ShellType.note).foregroundStyle(.white.opacity(0.5)).lineLimit(2)+ }+ } else {+ VStack(alignment: .leading, spacing: 2) {+ Text(ShellStrings.text("Button mapping")).shellType(ShellType.flowTitle(20)).lineLimit(2)+ .accessibilityAddTraits(.isHeader).accessibilityIdentifier("padMapping.title")+ Text(title).shellType(ShellType.note).foregroundStyle(.white.opacity(0.5)).lineLimit(2)+ }}Spacer(minLength: 8)- Button(action: close) {- Image(systemName: "xmark").font(.system(size: 14, weight: .semibold)).frame(width: 44, height: 44)- .background(.white.opacity(0.08), in: Circle()).contentShape(Circle())- }- .buttonStyle(.plain)- .accessibilityLabel(ShellStrings.text("Close"))- .accessibilityIdentifier("padMapping.close")- .shellTarget("map.close", radius: 22, action: close)+ roundButton("xmark", label: ShellStrings.text("Close"), id: "padMapping.close", target: "map.close", action: close)}- .padding(.horizontal, 20).padding(.top, 14).padding(.bottom, 8)+ .padding(.horizontal, 20).padding(.top, 14).padding(.bottom, 10)}- @ViewBuilder private func body(of row: SettingRow?) -> some View {- if let row { options(row) } else { list }+ private func roundButton(_ symbol: String, label: String, id: String, target: String, action: @escaping () -> Void) -> some View {+ Button(action: action) {+ Image(systemName: symbol).font(.system(size: 14, weight: .semibold)).frame(width: 44, height: 44)+ .background(.white.opacity(0.08), in: Circle()).contentShape(Circle())+ }+ .buttonStyle(.plain)+ .accessibilityLabel(label)+ .accessibilityIdentifier(id)+ .shellTarget(target, radius: 22, action: action)+ }++ /// The key to the cream dot, and Reset, which is there whatever the list scrolls to.+ private var footer: some View {+ HStack(spacing: 12) {+ HStack(spacing: 8) {+ ChangedDot()+ Text(ShellStrings.text("Changed")).shellType(ShellType.note).foregroundStyle(.white.opacity(0.55))+ }+ .opacity(changedAny ? 1 : 0)+ .accessibilityHidden(true)+ Spacer(minLength: 8)+ Button(action: reset) { Text(ShellStrings.text("Reset")) }+ .buttonStyle(ShellButtonStyle())+ .accessibilityHint(ShellStrings.text(isGame ? "Every button does what it does in all games." : "Every button does what it does by default."))+ .disabled(!changedAny)+ .accessibilityIdentifier("padMapping.reset")+ .shellTarget("map.reset", enabled: changedAny, radius: 9, action: reset)+ }+ .padding(.horizontal, 20).padding(.vertical, 12)}+ // MARK: The list+private var list: some View {- VStack(alignment: .leading, spacing: 4) {- ForEach(rows) { row in- rowButton(row)- if row.id == rows.first?.id {- if !row.note.isEmpty {- Text(row.note).shellType(ShellType.note).foregroundStyle(.white.opacity(0.45))- .fixedSize(horizontal: false, vertical: true).padding(.horizontal, 14).padding(.bottom, 8)+ VStack(alignment: .leading, spacing: 22) {+ Text(ShellStrings.text(isGame ? "For this game only. A button left alone does what it does in all games."+ : "For controllers in games only. This app’s menus keep A to confirm and B to go back."))+ .shellType(ShellType.note).foregroundStyle(.white.opacity(0.5)).fixedSize(horizontal: false, vertical: true)+ if let swapRow { swap(swapRow) }+ ForEach(PadMap.groups, id: \.title) { group in+ VStack(alignment: .leading, spacing: 10) {+ SectionHeading(title: group.title)+ VStack(spacing: 0) {+ ForEach(Array(group.buttons.enumerated()), id: \.element) { index, button in+ if index > 0 { Rectangle().fill(.white.opacity(0.06)).frame(height: 1).padding(.leading, 62) }+ if let row = rows.first(where: { PadMappingRows.button(of: $0) == button }) { buttonRow(row) }+ }+ }+ .background(ShellPalette.surface, in: RoundedRectangle(cornerRadius: 14))+ .overlay(RoundedRectangle(cornerRadius: 14).strokeBorder(ShellPalette.hairline))+ if group.buttons.first == "A" {+ Text(ShellStrings.text("Named as on a Switch controller, by where they sit."))+ .shellType(ShellType.note).foregroundStyle(.white.opacity(0.4)).fixedSize(horizontal: false, vertical: true)+ .padding(.horizontal, 4)}- Text(ShellStrings.text("Buttons").uppercased()).shellText(10.5, .bold, relativeTo: .caption2).tracking(1.4)- .foregroundStyle(.white.opacity(0.45)).padding(.horizontal, 14).padding(.top, 6).padding(.bottom, 2)- .accessibilityAddTraits(.isHeader)}}- Button(action: reset) { Text(ShellStrings.text("Reset to default")) }- .buttonStyle(ChipButtonStyle())- .disabled(rows.allSatisfy(\.fromShell))- .accessibilityIdentifier("padMapping.reset")- .shellTarget("map.reset", enabled: !rows.allSatisfy(\.fromShell), action: reset)- .padding(.horizontal, 6).padding(.top, 10)}- .padding(10)+ .padding(.horizontal, 20).padding(.vertical, 18)}- private func rowButton(_ row: SettingRow) -> some View {+ /// Swap A and B: Off and On, and for a game first the shell's choice. Equal segments, stacked when they do not fit.+ private func swap(_ row: SettingRow) -> some View {+ // The shell's choice reads All games in a segment, short enough for three segments on a phone.+ let options: [SettingOption] = if case .choice(let o) = row.kind {+ o.filter { $0.id != "custom" }.map { $0.id == PadMappingRows.follow ? SettingOption($0.id, ShellStrings.text("All games")) : $0 }+ } else { [] }+ let control = { (lines: [[SettingOption]]) in+ SegmentedChoice(label: row.label, rows: lines, value: row.value, targetPrefix: "map.swap.") { pick(row.id, $0) }+ }+ return VStack(alignment: .leading, spacing: 12) {+ HStack(spacing: 8) {+ Text(row.label).shellType(ShellType.settingLabel)+ if !row.fromShell { ChangedDot() }+ }+ Text(ShellStrings.text("Puts A on the bottom button, where Xbox and PlayStation controllers confirm."))+ .shellType(ShellType.note).foregroundStyle(.white.opacity(0.5)).fixedSize(horizontal: false, vertical: true)+ ViewThatFits(in: .horizontal) {+ control([options])+ control(options.map { [$0] })+ }+ }+ .padding(16)+ .background(ShellPalette.surface, in: RoundedRectangle(cornerRadius: 14))+ .overlay(RoundedRectangle(cornerRadius: 14).strokeBorder(ShellPalette.hairline))+ .accessibilityElement(children: .contain)+ .accessibilityIdentifier("padMapping.row.\(row.id)")+ }++ private func buttonRow(_ row: SettingRow) -> some View {+ let button = PadMappingRows.button(of: row)+ let output = PadMappingRows.output(of: row, inherited: inherited)let changed = !row.fromShellreturn Button { open(row.id) } label: {HStack(spacing: 12) {- Text(row.label).shellText(15, .medium).fixedSize(horizontal: false, vertical: true)+ PadGlyph(button: button).frame(width: 36)+ Text(PadMap.place(button)).shellType(ShellType.settingLabel)+ .foregroundStyle(.white.opacity(changed ? 1 : 0.85)).fixedSize(horizontal: false, vertical: true)Spacer(minLength: 8)- Text(PadMappingRows.valueLabel(row)).shellText(14.5, changed ? .bold : .medium)- .foregroundStyle(changed ? ShellPalette.cream : .white.opacity(0.5)).multilineTextAlignment(.trailing)- Image(systemName: "chevron.right").font(.system(size: 13, weight: .bold)).foregroundStyle(.white.opacity(0.4))- .accessibilityHidden(true)+ if changed { ChangedDot() }+ Image(systemName: "arrow.right").font(.system(size: 11, weight: .bold)).foregroundStyle(.white.opacity(changed ? 0.5 : 0.25))+ PadGlyph(button: output, lit: changed, dim: !changed).frame(minWidth: 36)+ Image(systemName: "chevron.right").font(.system(size: 13, weight: .bold)).foregroundStyle(.white.opacity(0.3))}- .padding(.horizontal, 14).padding(.vertical, 8).frame(minHeight: 44)- .background(.white.opacity(changed ? 0.07 : 0.0), in: RoundedRectangle(cornerRadius: 10))- .contentShape(RoundedRectangle(cornerRadius: 10))+ .padding(.horizontal, 14).padding(.vertical, 6).frame(minHeight: 50)+ .contentShape(Rectangle())}.buttonStyle(.plain)- .accessibilityLabel(row.label)- .accessibilityValue(PadMappingRows.valueLabel(row))+ .accessibilityLabel(PadMap.label(button) + ", " + PadMap.place(button))+ .accessibilityValue(PadMap.label(output) + (changed ? ", " + ShellStrings.text("Changed") : ""))+ .accessibilityHint(ShellStrings.text("Opens the list of choices")).accessibilityIdentifier("padMapping.row.\(row.id)")- .shellTarget("map.row.\(row.id)", radius: 10) { open(row.id) }+ .shellTarget("map.row.\(row.id)", radius: 12) { open(row.id) }+ .id("map.row.\(row.id)")}+ // MARK: A row's options++ /// The buttons a row can send, as glyphs in the list's groups, None last, and on a game's card the shell's choice first.private func options(_ row: SettingRow) -> some View {- let options: [SettingOption] = if case .choice(let o) = row.kind { o } else { [] }- return VStack(spacing: 4) {- ForEach(options) { option in- let chosen = row.value == option.id- Button { pick(row.id, option.id) } label: {- HStack(spacing: 12) {- Text(option.label).shellText(15, chosen ? .bold : .medium).fixedSize(horizontal: false, vertical: true)- Spacer(minLength: 8)- if chosen { Image(systemName: "checkmark").font(.system(size: 14, weight: .bold)).accessibilityHidden(true) }+ let button = PadMappingRows.button(of: row)+ let columns = Array(repeating: GridItem(.flexible(), spacing: 8), count: 4)+ return VStack(alignment: .leading, spacing: 18) {+ if let inherited {+ wideOption(row, id: PadMappingRows.follow, label: ShellStrings.text("Same as all games"),+ glyph: inherited.output(for: button))+ }+ ForEach(PadMap.groups, id: \.title) { group in+ VStack(alignment: .leading, spacing: 10) {+ SectionHeading(title: group.title)+ LazyVGrid(columns: columns, spacing: 8) {+ ForEach(group.buttons, id: \.self) { option in chip(row, option: option, isDefault: option == button) }}- .padding(.horizontal, 14).padding(.vertical, 8).frame(minHeight: 44)- .foregroundStyle(chosen ? ShellPalette.cream : .white.opacity(0.8))- .background(.white.opacity(chosen ? 0.09 : 0.0), in: RoundedRectangle(cornerRadius: 10))- .contentShape(RoundedRectangle(cornerRadius: 10))}- .buttonStyle(.plain)- .accessibilityLabel(option.label)- .accessibilityAddTraits(chosen ? .isSelected : [])- .accessibilityIdentifier("padMapping.option.\(option.id)")- .shellTarget("map.opt.\(option.id)", radius: 10) { pick(row.id, option.id) }+ }+ wideOption(row, id: "none", label: ShellStrings.text("None"), glyph: "none")+ }+ .padding(.horizontal, 20).padding(.vertical, 18)+ }++ private func chip(_ row: SettingRow, option: String, isDefault: Bool) -> some View {+ let chosen = row.value == option+ return Button { pick(row.id, option) } label: {+ PadGlyph(button: option, inverted: chosen)+ .frame(maxWidth: .infinity, minHeight: 52)+ .background(chosen ? ShellPalette.cream : .white.opacity(0.055), in: RoundedRectangle(cornerRadius: 12))+ .overlay(RoundedRectangle(cornerRadius: 12).strokeBorder(.white.opacity(chosen ? 0 : 0.08)))+ .overlay(alignment: .topTrailing) {+ // The button's own place: what it sends when nothing is changed.+ if isDefault { Circle().fill(chosen ? .black.opacity(0.5) : .white.opacity(0.35)).frame(width: 5, height: 5).padding(7) }+ }+ .contentShape(RoundedRectangle(cornerRadius: 12))+ }+ .buttonStyle(.plain)+ .accessibilityLabel(PadMap.label(option) + ", " + PadMap.place(option))+ .accessibilityValue(isDefault ? ShellStrings.text("Default") : "")+ .accessibilityAddTraits(chosen ? .isSelected : [])+ .accessibilityIdentifier("padMapping.option.\(option)")+ .shellTarget("map.opt.\(option)", radius: 12) { pick(row.id, option) }+ .id("map.opt.\(option)")+ }++ private func wideOption(_ row: SettingRow, id: String, label: String, glyph: String) -> some View {+ let chosen = row.value == id+ return Button { pick(row.id, id) } label: {+ HStack(spacing: 12) {+ Text(label).shellText(15, chosen ? .bold : .medium).fixedSize(horizontal: false, vertical: true)+ Spacer(minLength: 8)+ PadGlyph(button: glyph, inverted: chosen)+ if chosen { Image(systemName: "checkmark").font(.system(size: 14, weight: .bold)).accessibilityHidden(true) }+ }+ .padding(.horizontal, 16).frame(minHeight: 52)+ .foregroundStyle(chosen ? .black : .white.opacity(0.85))+ .background(chosen ? ShellPalette.cream : .white.opacity(0.055), in: RoundedRectangle(cornerRadius: 12))+ .overlay(RoundedRectangle(cornerRadius: 12).strokeBorder(.white.opacity(chosen ? 0 : 0.08)))+ .contentShape(RoundedRectangle(cornerRadius: 12))+ }+ .buttonStyle(.plain)+ .accessibilityLabel(label)+ .accessibilityValue(id == PadMappingRows.follow ? PadMap.label(glyph) : "")+ .accessibilityAddTraits(chosen ? .isSelected : [])+ .accessibilityIdentifier("padMapping.option.\(id)")+ .shellTarget("map.opt.\(id)", radius: 12) { pick(row.id, id) }+ .id("map.opt.\(id)")+ }+}++/// The cream dot on what differs from the default (the shell's map) or from all games (a game's).+private struct ChangedDot: View {+ var body: some View { Circle().fill(ShellPalette.cream).frame(width: 7, height: 7).accessibilityHidden(true) }+}++/// A controller button drawn as it looks on a Switch controller: the face buttons and + and − round, the shoulders and+/// triggers as a rounded bar, the D-pad as its arrow, the stick presses as a stick. `lit` draws it in cream (a changed value),+/// `inverted` in black for a cream background (the chosen chip), `dim` quieter (an unchanged value).+struct PadGlyph: View {+ let button: String+ var lit = false+ var inverted = false+ var dim = false+ var body: some View {+ let ink: Color = inverted ? .black : lit ? ShellPalette.cream : .white.opacity(dim ? 0.45 : 0.9)+ let line: Color = inverted ? .black.opacity(0.55) : lit ? ShellPalette.cream.opacity(0.9) : .white.opacity(dim ? 0.2 : 0.4)+ Group {+ switch button {+ case "A", "B", "X", "Y":+ Text(verbatim: button).font(ShellFonts.fixed(12, weight: .heavy)).frame(width: 26, height: 26)+ .overlay(Circle().strokeBorder(line, lineWidth: 1.4))+ case "Plus", "Minus":+ Image(systemName: button == "Plus" ? "plus" : "minus").font(.system(size: 10, weight: .heavy)).frame(width: 22, height: 22)+ .overlay(Circle().strokeBorder(line, lineWidth: 1.4))+ case "Up", "Down", "Left", "Right":+ // The arm's direction alone: the whole cross with one arm filled reads alike at this size.+ Image(systemName: "arrowtriangle.\(button.lowercased()).fill").font(.system(size: 10, weight: .bold)).frame(width: 24, height: 24)+ .overlay(RoundedRectangle(cornerRadius: 6).strokeBorder(line, lineWidth: 1.4))+ case "LS", "RS":+ Image(systemName: button == "LS" ? "l.joystick.press.down" : "r.joystick.press.down").font(.system(size: 19, weight: .regular))+ .frame(width: 26, height: 26)+ case "none":+ Image(systemName: "nosign").font(.system(size: 15, weight: .semibold)).frame(width: 26, height: 26)+ default:+ Text(verbatim: button).font(ShellFonts.fixed(11, weight: .heavy)).padding(.horizontal, 8).frame(minWidth: 32, minHeight: 22)+ .overlay(RoundedRectangle(cornerRadius: 7, style: .continuous).strokeBorder(line, lineWidth: 1.4))}}- .padding(10)+ .foregroundStyle(ink)+ .accessibilityHidden(true)}}diff --git a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstringsindex 50ed344a..cd80ebce 100644--- a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings+++ b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings@@ -97,6 +97,86 @@}}},+ "A and B not swapped": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "A und B nicht getauscht"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "A and B not swapped"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "A et B non inversés"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "A e B non scambiati"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "A och B inte bytta"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "不交换 A 和 B"+ }+ }+ }+ },+ "A and B swapped": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "A und B getauscht"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "A and B swapped"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "A et B inversés"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "A e B scambiati"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "A och B bytta"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "已交换 A 和 B"+ }+ }+ }+ },"A little room for adventure": {"localizations": {"en": {@@ -153,6 +233,46 @@}}},+ "All games": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Alle Spiele"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "All games"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Tous les jeux"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Tutti i giochi"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Alla spel"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "所有游戏"+ }+ }+ }+ },"Also delete saves": {"localizations": {"de": {@@ -265,6 +385,46 @@}}},+ "Bottom button": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Untere Taste"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Bottom button"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Bouton du bas"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Tasto in basso"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Nedre knappen"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "下方按键"+ }+ }+ }+ },"Brazilian Portuguese": {"localizations": {"de": {@@ -377,3574 +537,5206 @@}}},- "Canadian French": {+ "Button mapping": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Kanadisches Französisch"+ "value": "Tastenbelegung"}},"en": {"stringUnit": {"state": "translated",- "value": "Canadian French"+ "value": "Button mapping"}},"fr": {"stringUnit": {"state": "translated",- "value": "Français (Canada)"+ "value": "Attribution des boutons"}},"it": {"stringUnit": {"state": "translated",- "value": "Francese canadese"+ "value": "Mappatura tasti"}},"sv": {"stringUnit": {"state": "translated",- "value": "Kanadensisk franska"+ "value": "Knapptilldelning"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "加拿大法语"+ "value": "按键映射"}}}},- "Cancel": {+ "Button test": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Abbrechen"+ "value": "Tastentest"}},"en": {"stringUnit": {"state": "translated",- "value": "Cancel"+ "value": "Button test"}},"fr": {"stringUnit": {"state": "translated",- "value": "Annuler"+ "value": "Test des boutons"}},"it": {"stringUnit": {"state": "translated",- "value": "Annulla"+ "value": "Test dei tasti"}},"sv": {"stringUnit": {"state": "translated",- "value": "Avbryt"+ "value": "Knapptest"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "取消"+ "value": "按键测试"}}}},- "Charging": {+ "Buttons": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Charging"+ "value": "Tasten"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "充电中"+ "value": "Buttons"}- }- }- },- "Choose": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Choose"+ "value": "Boutons"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "选择"+ "value": "Tasti"}- }- }- },- "Choose folder…": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Choose folder…"+ "value": "Knappar"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "选择文件夹…"+ "value": "按键"}}}},- "Choose game data…": {+ "Canadian French": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Choose game data…"+ "value": "Kanadisches Französisch"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "选择游戏数据…"+ "value": "Canadian French"}- }- }- },- "Choose the same iCloud Drive folder you use on your Mac.": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Choose the same iCloud Drive folder you use on your Mac."+ "value": "Français (Canada)"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "选择与 Mac 上相同的 iCloud Drive 文件夹。"+ "value": "Francese canadese"}- }- }- },- "Choose this game's data to get ready to play.": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Choose this game's data to get ready to play."+ "value": "Kanadensisk franska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "选择此游戏的数据以开始游戏。"+ "value": "加拿大法语"}}}},- "Choose…": {+ "Cancel": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Choose…"+ "value": "Abbrechen"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "选择…"+ "value": "Cancel"}- }- }- },- "Close controllers": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Close controllers"+ "value": "Annuler"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "关闭手柄列表"+ "value": "Annulla"}- }- }- },- "Cloud saves": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Cloud saves"+ "value": "Avbryt"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "云存档"+ "value": "取消"}}}},- "Connect a controller in Bluetooth settings. Touch controls are always available in the library.": {+ "Change buttons for this game only.": {"localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Tasten nur für dieses Spiel ändern."+ }+ },"en": {"stringUnit": {"state": "translated",- "value": "Connect a controller in Bluetooth settings. Touch controls are always available in the library."+ "value": "Change buttons for this game only."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Modifier les boutons pour ce jeu uniquement."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Cambia i tasti solo per questo gioco."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Ändra knappar bara för det här spelet."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "在蓝牙设置中连接手柄。触屏控制始终可用。"+ "value": "仅为此游戏更改按键。"}}}},- "Console mode": {+ "Changed": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Konsolenmodus"+ "value": "Geändert"}},"en": {"stringUnit": {"state": "translated",- "value": "Console mode"+ "value": "Changed"}},"fr": {"stringUnit": {"state": "translated",- "value": "Mode de la console"+ "value": "Modifié"}},"it": {"stringUnit": {"state": "translated",- "value": "Modalità console"+ "value": "Modificato"}},"sv": {"stringUnit": {"state": "translated",- "value": "Konsolläge"+ "value": "Ändrad"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "主机模式"+ "value": "已更改"}}}},- "Controllers": {+ "Charging": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Controllers"+ "value": "Charging"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "手柄"+ "value": "充电中"}}}},- "Controls": {+ "Choose": {"localizations": {- "de": {- "stringUnit": {- "state": "translated",- "value": "Steuerung"- }- },"en": {"stringUnit": {"state": "translated",- "value": "Controls"- }- },- "fr": {- "stringUnit": {- "state": "translated",- "value": "Commandes"+ "value": "Choose"}},- "it": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Comandi"+ "value": "选择"}- },- "sv": {+ }+ }+ },+ "Choose folder…": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Kontroller"+ "value": "Choose folder…"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "控制"+ "value": "选择文件夹…"}}}},- "Decrease": {+ "Choose game data…": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Decrease"+ "value": "Choose game data…"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "减小"+ "value": "选择游戏数据…"}}}},- "Delete game": {+ "Choose the same iCloud Drive folder you use on your Mac.": {"localizations": {- "de": {+ "en": {"stringUnit": {"state": "translated",- "value": "Spiel löschen"+ "value": "Choose the same iCloud Drive folder you use on your Mac."}},- "en": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Delete game"+ "value": "选择与 Mac 上相同的 iCloud Drive 文件夹。"}- },- "fr": {+ }+ }+ },+ "Choose this game's data to get ready to play.": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Supprimer le jeu"+ "value": "Choose this game's data to get ready to play."}},- "it": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Elimina gioco"+ "value": "选择此游戏的数据以开始游戏。"}- },- "sv": {+ }+ }+ },+ "Choose…": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Radera spelet"+ "value": "Choose…"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "删除游戏"+ "value": "选择…"}}}},- "Delete game and saves": {+ "Close": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Spiel und Spielstände löschen"+ "value": "Schließen"}},"en": {"stringUnit": {"state": "translated",- "value": "Delete game and saves"+ "value": "Close"}},"fr": {"stringUnit": {"state": "translated",- "value": "Supprimer le jeu et les sauvegardes"+ "value": "Fermer"}},"it": {"stringUnit": {"state": "translated",- "value": "Elimina gioco e salvataggi"+ "value": "Chiudi"}},"sv": {"stringUnit": {"state": "translated",- "value": "Radera spelet och sparfilerna"+ "value": "Stäng"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "删除游戏和存档"+ "value": "关闭"}}}},- "Delete game…": {+ "Close controllers": {"localizations": {- "de": {+ "en": {"stringUnit": {"state": "translated",- "value": "Spiel löschen …"+ "value": "Close controllers"}},- "en": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Delete game…"+ "value": "关闭手柄列表"}- },- "fr": {+ }+ }+ },+ "Cloud saves": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Supprimer le jeu…"+ "value": "Cloud saves"}},- "it": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Elimina gioco…"+ "value": "云存档"}- },- "sv": {+ }+ }+ },+ "Connect a controller in Bluetooth settings. Touch controls are always available in the library.": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Radera spelet …"+ "value": "Connect a controller in Bluetooth settings. Touch controls are always available in the library."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "删除游戏…"+ "value": "在蓝牙设置中连接手柄。触屏控制始终可用。"}}}},- "Delete “%@”?": {+ "Console mode": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "„%@“ löschen?"+ "value": "Konsolenmodus"}},"en": {"stringUnit": {"state": "translated",- "value": "Delete “%@”?"+ "value": "Console mode"}},"fr": {"stringUnit": {"state": "translated",- "value": "Supprimer « %@ » ?"+ "value": "Mode de la console"}},"it": {"stringUnit": {"state": "translated",- "value": "Eliminare “%@”?"+ "value": "Modalità console"}},"sv": {"stringUnit": {"state": "translated",- "value": "Radera ”%@”?"+ "value": "Konsolläge"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "删除“%@”?"+ "value": "主机模式"}}}},- "Deletes the game’s data on this device. You choose whether its saves go too.": {+ "Controller": {"localizations": {- "de": {- "stringUnit": {- "state": "translated",- "value": "Löscht die Spieldaten auf diesem Gerät. Du entscheidest, ob die Spielstände mitgehen."- }- },"en": {"stringUnit": {"state": "translated",- "value": "Deletes the game’s data on this device. You choose whether its saves go too."+ "value": "Controller"}},"fr": {"stringUnit": {"state": "translated",- "value": "Supprime les données du jeu sur cet appareil. Vous choisissez si ses sauvegardes partent aussi."+ "value": "Manette"}},"it": {"stringUnit": {"state": "translated",- "value": "Elimina i dati del gioco su questo dispositivo. Scegli tu se eliminare anche i salvataggi."+ "value": "Controller"}},"sv": {"stringUnit": {"state": "translated",- "value": "Raderar speldatan på den här enheten. Du väljer om sparfilerna också ska bort."+ "value": "Handkontroll"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "删除这台设备上的游戏数据。是否一并删除存档由你决定。"+ "value": "手柄"}}}},- "Details": {+ "Controllers": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Details"+ "value": "Controllers"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "详情"+ "value": "手柄"}}}},- "Display mode": {+ "Controls": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Anzeigemodus"+ "value": "Steuerung"}},"en": {"stringUnit": {"state": "translated",- "value": "Display mode"+ "value": "Controls"}},"fr": {"stringUnit": {"state": "translated",- "value": "Mode d’affichage"+ "value": "Commandes"}},"it": {"stringUnit": {"state": "translated",- "value": "Modalità di visualizzazione"+ "value": "Comandi"}},"sv": {"stringUnit": {"state": "translated",- "value": "Visningsläge"+ "value": "Kontroller"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "显示模式"+ "value": "控制"}}}},- "Docked": {+ "Custom": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Angedockt"+ "value": "Eigene"}},"en": {"stringUnit": {"state": "translated",- "value": "Docked"+ "value": "Custom"}},"fr": {"stringUnit": {"state": "translated",- "value": "TV"+ "value": "Personnalisé"}},"it": {"stringUnit": {"state": "translated",- "value": "TV"+ "value": "Personalizzata"}},"sv": {"stringUnit": {"state": "translated",- "value": "Dockad"+ "value": "Anpassad"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "底座模式"+ "value": "自定义"}}}},- "Done": {+ "D-pad": {"localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Steuerkreuz"+ }+ },"en": {"stringUnit": {"state": "translated",- "value": "Done"+ "value": "D-pad"}},- "zh-Hans": {+ "fr": {"stringUnit": {"state": "translated",- "value": "完成"+ "value": "Croix directionnelle"}- }- }- },- "Double-tap to select": {- "localizations": {- "en": {+ },+ "it": {"stringUnit": {"state": "translated",- "value": "Double-tap to select"+ "value": "Croce direzionale"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Styrkors"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "轻点两下以选择"+ "value": "十字键"}}}},- "Dutch": {+ "D-pad down": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Niederländisch"+ "value": "Steuerkreuz unten"}},"en": {"stringUnit": {"state": "translated",- "value": "Dutch"+ "value": "D-pad down"}},"fr": {"stringUnit": {"state": "translated",- "value": "Néerlandais"+ "value": "Croix bas"}},"it": {"stringUnit": {"state": "translated",- "value": "Olandese"+ "value": "Croce giù"}},"sv": {"stringUnit": {"state": "translated",- "value": "Nederländska"+ "value": "Styrkors ned"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "荷兰语"+ "value": "十字键下"}}}},- "Dynamic resolution": {+ "D-pad left": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Dynamische Auflösung"+ "value": "Steuerkreuz links"}},"en": {"stringUnit": {"state": "translated",- "value": "Dynamic resolution"+ "value": "D-pad left"}},"fr": {"stringUnit": {"state": "translated",- "value": "Résolution dynamique"+ "value": "Croix gauche"}},"it": {"stringUnit": {"state": "translated",- "value": "Risoluzione dinamica"+ "value": "Croce sinistra"}},"sv": {"stringUnit": {"state": "translated",- "value": "Dynamisk upplösning"+ "value": "Styrkors vänster"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "动态分辨率"+ "value": "十字键左"}}}},- "Encode thread": {+ "D-pad right": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Encode-Thread"+ "value": "Steuerkreuz rechts"}},"en": {"stringUnit": {"state": "translated",- "value": "Encode thread"+ "value": "D-pad right"}},"fr": {"stringUnit": {"state": "translated",- "value": "Thread d’encodage"+ "value": "Croix droite"}},"it": {"stringUnit": {"state": "translated",- "value": "Thread di codifica"+ "value": "Croce destra"}},"sv": {"stringUnit": {"state": "translated",- "value": "Kodningstråd"+ "value": "Styrkors höger"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "编码线程"+ "value": "十字键右"}}}},- "For a bug report": {+ "D-pad up": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "For a bug report"+ "value": "Steuerkreuz oben"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "用于问题报告"+ "value": "D-pad up"}- }- }- },- "Frame buffering": {- "localizations": {- "de": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Bildpufferung"+ "value": "Croix haut"}},- "en": {+ "it": {"stringUnit": {"state": "translated",- "value": "Frame buffering"+ "value": "Croce su"}},- "fr": {+ "sv": {"stringUnit": {"state": "translated",- "value": "Mise en mémoire tampon"+ "value": "Styrkors upp"}},- "it": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Buffer dei fotogrammi"+ "value": "十字键上"}- },- "sv": {+ }+ }+ },+ "Decrease": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Bildbuffring"+ "value": "Decrease"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "帧缓冲"+ "value": "减小"}}}},- "Frame rate": {+ "Default": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Bildrate"+ "value": "Standard"}},"en": {"stringUnit": {"state": "translated",- "value": "Frame rate"+ "value": "Default"}},"fr": {"stringUnit": {"state": "translated",- "value": "Fréquence d’images"+ "value": "Par défaut"}},"it": {"stringUnit": {"state": "translated",- "value": "Frequenza fotogrammi"+ "value": "Predefinita"}},"sv": {"stringUnit": {"state": "translated",- "value": "Bildfrekvens"+ "value": "Standard"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "帧率"+ "value": "默认"}}}},- "Frame-rate counter": {+ "Delete game": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Bildraten-Anzeige"+ "value": "Spiel löschen"}},"en": {"stringUnit": {"state": "translated",- "value": "Frame-rate counter"+ "value": "Delete game"}},"fr": {"stringUnit": {"state": "translated",- "value": "Compteur d’images par seconde"+ "value": "Supprimer le jeu"}},"it": {"stringUnit": {"state": "translated",- "value": "Contatore fotogrammi"+ "value": "Elimina gioco"}},"sv": {"stringUnit": {"state": "translated",- "value": "Bildfrekvensräknare"+ "value": "Radera spelet"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "帧率显示"+ "value": "删除游戏"}}}},- "French": {+ "Delete game and saves": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Französisch"+ "value": "Spiel und Spielstände löschen"}},"en": {"stringUnit": {"state": "translated",- "value": "French"+ "value": "Delete game and saves"}},"fr": {"stringUnit": {"state": "translated",- "value": "Français"+ "value": "Supprimer le jeu et les sauvegardes"}},"it": {"stringUnit": {"state": "translated",- "value": "Francese"+ "value": "Elimina gioco e salvataggi"}},"sv": {"stringUnit": {"state": "translated",- "value": "Franska"+ "value": "Radera spelet och sparfilerna"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "法语"+ "value": "删除游戏和存档"}}}},- "From Settings": {+ "Delete game…": {"localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Spiel löschen …"+ }+ },"en": {"stringUnit": {"state": "translated",- "value": "From Settings"+ "value": "Delete game…"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Supprimer le jeu…"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Elimina gioco…"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Radera spelet …"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "来自设置"+ "value": "删除游戏…"}}}},- "Fullscreen": {+ "Delete “%@”?": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Vollbild"+ "value": "„%@“ löschen?"}},"en": {"stringUnit": {"state": "translated",- "value": "Fullscreen"+ "value": "Delete “%@”?"}},"fr": {"stringUnit": {"state": "translated",- "value": "Plein écran"+ "value": "Supprimer « %@ » ?"}},"it": {"stringUnit": {"state": "translated",- "value": "Schermo intero"+ "value": "Eliminare “%@”?"}},"sv": {"stringUnit": {"state": "translated",- "value": "Helskärm"+ "value": "Radera ”%@”?"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "全屏"+ "value": "删除“%@”?"}}}},- "Game": {+ "Deletes the game’s data on this device. You choose whether its saves go too.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Spiel"+ "value": "Löscht die Spieldaten auf diesem Gerät. Du entscheidest, ob die Spielstände mitgehen."}},"en": {"stringUnit": {"state": "translated",- "value": "Game"+ "value": "Deletes the game’s data on this device. You choose whether its saves go too."}},"fr": {"stringUnit": {"state": "translated",- "value": "Jeu"+ "value": "Supprime les données du jeu sur cet appareil. Vous choisissez si ses sauvegardes partent aussi."}},"it": {"stringUnit": {"state": "translated",- "value": "Gioco"+ "value": "Elimina i dati del gioco su questo dispositivo. Scegli tu se eliminare anche i salvataggi."}},"sv": {"stringUnit": {"state": "translated",- "value": "Spel"+ "value": "Raderar speldatan på den här enheten. Du väljer om sparfilerna också ska bort."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏"+ "value": "删除这台设备上的游戏数据。是否一并删除存档由你决定。"}}}},- "Game data": {+ "Details": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Game data"+ "value": "Details"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏数据"+ "value": "详情"}}}},- "Game language": {+ "Display mode": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Spielsprache"+ "value": "Anzeigemodus"}},"en": {"stringUnit": {"state": "translated",- "value": "Game language"+ "value": "Display mode"}},"fr": {"stringUnit": {"state": "translated",- "value": "Langue du jeu"+ "value": "Mode d’affichage"}},"it": {"stringUnit": {"state": "translated",- "value": "Lingua del gioco"+ "value": "Modalità di visualizzazione"}},"sv": {"stringUnit": {"state": "translated",- "value": "Spelspråk"+ "value": "Visningsläge"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏语言"+ "value": "显示模式"}}}},- "Game rumble": {+ "Docked": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Spiel-Vibration"+ "value": "Angedockt"}},"en": {"stringUnit": {"state": "translated",- "value": "Game rumble"+ "value": "Docked"}},"fr": {"stringUnit": {"state": "translated",- "value": "Vibrations du jeu"+ "value": "TV"}},"it": {"stringUnit": {"state": "translated",- "value": "Vibrazione del gioco"+ "value": "TV"}},"sv": {"stringUnit": {"state": "translated",- "value": "Spelvibration"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "游戏震动"- }- }- }- },- "Game settings": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Game settings"+ "value": "Dockad"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏设置"+ "value": "底座模式"}}}},- "Games look for their data here. Keep one romfs.img per game in any folder inside. Each game is found by the image itself, so the folder names do not matter. Each game can also have a folder of its own.": {+ "Done": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Games look for their data here. Keep one romfs.img per game in any folder inside. Each game is found by the image itself, so the folder names do not matter. Each game can also have a folder of its own."+ "value": "Done"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏会在这里查找游戏数据。请在其中的任意文件夹里为每个游戏放一个 romfs.img。应用会按镜像本身识别游戏,所以文件夹名称不限。每个游戏也可以单独指定文件夹。"+ "value": "完成"}}}},- "Games without a folder of their own save here. Choose the same iCloud Drive folder you use on your Mac.": {+ "Double-tap to select": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Games without a folder of their own save here. Choose the same iCloud Drive folder you use on your Mac."+ "value": "Double-tap to select"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "没有单独指定文件夹的游戏会把存档保存在这里。请选择与 Mac 相同的 iCloud Drive 文件夹。"+ "value": "轻点两下以选择"}}}},- "German": {+ "Down": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Deutsch"+ "value": "Unten"}},"en": {"stringUnit": {"state": "translated",- "value": "German"+ "value": "Down"}},"fr": {"stringUnit": {"state": "translated",- "value": "Allemand"+ "value": "Bas"}},"it": {"stringUnit": {"state": "translated",- "value": "Tedesco"+ "value": "Giù"}},"sv": {"stringUnit": {"state": "translated",- "value": "Tyska"+ "value": "Ned"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "德语"+ "value": "下"}}}},- "Handheld": {+ "Dutch": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Handheld"+ "value": "Niederländisch"}},"en": {"stringUnit": {"state": "translated",- "value": "Handheld"+ "value": "Dutch"}},"fr": {"stringUnit": {"state": "translated",- "value": "Portable"+ "value": "Néerlandais"}},"it": {"stringUnit": {"state": "translated",- "value": "Portatile"+ "value": "Olandese"}},"sv": {"stringUnit": {"state": "translated",- "value": "Handhållen"+ "value": "Nederländska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "掌机模式"+ "value": "荷兰语"}}}},- "Hold frames when late": {+ "Dynamic resolution": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Bilder halten, wenn sie zu spät sind"+ "value": "Dynamische Auflösung"}},"en": {"stringUnit": {"state": "translated",- "value": "Hold frames when late"+ "value": "Dynamic resolution"}},"fr": {"stringUnit": {"state": "translated",- "value": "Maintenir l’image en cas de retard"+ "value": "Résolution dynamique"}},"it": {"stringUnit": {"state": "translated",- "value": "Mantieni i fotogrammi in ritardo"+ "value": "Risoluzione dinamica"}},"sv": {"stringUnit": {"state": "translated",- "value": "Håll bilder när de är sena"+ "value": "Dynamisk upplösning"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "帧延迟时保持"+ "value": "动态分辨率"}}}},- "How to fix": {+ "Encode thread": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "How to fix"+ "value": "Encode-Thread"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "如何修复"+ "value": "Encode thread"}- }- }- },- "How to update": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "How to update"+ "value": "Thread d’encodage"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "如何更新"+ "value": "Thread di codifica"}- }- }- },- "Increase": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Increase"+ "value": "Kodningstråd"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "增大"+ "value": "编码线程"}}}},- "Install a newer version of this app to play this game.": {+ "Every button does what it does by default.": {"localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Jede Taste verhält sich wieder wie standardmäßig."+ }+ },"en": {"stringUnit": {"state": "translated",- "value": "Install a newer version of this app to play this game."+ "value": "Every button does what it does by default."}},- "zh-Hans": {+ "fr": {"stringUnit": {"state": "translated",- "value": "安装本 App 的更新版本以游玩此游戏。"+ "value": "Chaque bouton reprend son rôle par défaut."}- }- }- },- "Interface": {- "localizations": {- "en": {+ },+ "it": {"stringUnit": {"state": "translated",- "value": "Interface"+ "value": "Ogni tasto torna alla funzione predefinita."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Varje knapp gör det den gör som standard igen."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "界面"+ "value": "所有按键恢复为默认。"}}}},- "Italian": {+ "Every button does what it does in all games.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Italienisch"+ "value": "Jede Taste verhält sich wieder wie in allen Spielen."}},"en": {"stringUnit": {"state": "translated",- "value": "Italian"+ "value": "Every button does what it does in all games."}},"fr": {"stringUnit": {"state": "translated",- "value": "Italien"+ "value": "Chaque bouton refait la même chose que dans tous les jeux."}},"it": {"stringUnit": {"state": "translated",- "value": "Italiano"+ "value": "Ogni tasto torna a fare ciò che fa in tutti i giochi."}},"sv": {"stringUnit": {"state": "translated",- "value": "Italienska"+ "value": "Varje knapp gör samma sak som i alla spel igen."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "意大利语"+ "value": "所有按键恢复为与所有游戏相同。"}}}},- "Japanese": {+ "Face buttons": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Japanisch"+ "value": "Aktionstasten"}},"en": {"stringUnit": {"state": "translated",- "value": "Japanese"+ "value": "Face buttons"}},"fr": {"stringUnit": {"state": "translated",- "value": "Japonais"+ "value": "Boutons de façade"}},"it": {"stringUnit": {"state": "translated",- "value": "Giapponese"+ "value": "Tasti frontali"}},"sv": {"stringUnit": {"state": "translated",- "value": "Japanska"+ "value": "Handlingsknappar"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "日语"+ "value": "正面按键"}}}},- "Keeps a pipeline archive and uses more memory.": {+ "For a bug report": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "For a bug report"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "用于问题报告"+ }+ }+ }+ },+ "For controllers in games only. This app’s menus keep A to confirm and B to go back.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Behält ein Pipeline-Archiv und braucht mehr Speicher."+ "value": "Nur für Controller in Spielen. Die Menüs dieser App bestätigen weiter mit A und gehen mit B zurück."}},"en": {"stringUnit": {"state": "translated",- "value": "Keeps a pipeline archive and uses more memory."+ "value": "For controllers in games only. This app’s menus keep A to confirm and B to go back."}},"fr": {"stringUnit": {"state": "translated",- "value": "Conserve une archive de pipelines et utilise plus de mémoire."+ "value": "Seulement pour les manettes en jeu. Les menus de cette app gardent A pour valider et B pour revenir."}},"it": {"stringUnit": {"state": "translated",- "value": "Conserva un archivio delle pipeline e usa più memoria."+ "value": "Solo per i controller nei giochi. I menu di questa app usano sempre A per confermare e B per tornare indietro."}},"sv": {"stringUnit": {"state": "translated",- "value": "Behåller ett pipelinearkiv och använder mer minne."+ "value": "Bara för handkontroller i spel. Appens menyer bekräftar fortfarande med A och går tillbaka med B."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "保留管线存档,占用更多内存。"+ "value": "仅对游戏中的手柄有效。本应用的菜单仍用 A 确认、B 返回。"}}}},- "Keeps a pipeline archive; uses more memory.": {+ "For this game only. A button left alone does what it does in all games.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Behält ein Pipeline-Archiv und braucht mehr Speicher."+ "value": "Nur für dieses Spiel. Eine unveränderte Taste verhält sich wie in allen Spielen."}},"en": {"stringUnit": {"state": "translated",- "value": "Keeps a pipeline archive; uses more memory."+ "value": "For this game only. A button left alone does what it does in all games."}},"fr": {"stringUnit": {"state": "translated",- "value": "Conserve une archive de pipelines et utilise plus de mémoire."+ "value": "Pour ce jeu uniquement. Un bouton non modifié fait la même chose que dans tous les jeux."}},"it": {"stringUnit": {"state": "translated",- "value": "Conserva un archivio delle pipeline e usa più memoria."+ "value": "Solo per questo gioco. Un tasto non modificato fa ciò che fa in tutti i giochi."}},"sv": {"stringUnit": {"state": "translated",- "value": "Behåller ett pipelinearkiv och använder mer minne."+ "value": "Bara för det här spelet. En knapp du inte ändrar gör samma sak som i alla spel."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "保留管线存档,占用更多内存。"+ "value": "仅对此游戏有效。未更改的按键与所有游戏相同。"}}}},- "Korean": {+ "Frame buffering": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Koreanisch"+ "value": "Bildpufferung"}},"en": {"stringUnit": {"state": "translated",- "value": "Korean"+ "value": "Frame buffering"}},"fr": {"stringUnit": {"state": "translated",- "value": "Coréen"+ "value": "Mise en mémoire tampon"}},"it": {"stringUnit": {"state": "translated",- "value": "Coreano"+ "value": "Buffer dei fotogrammi"}},"sv": {"stringUnit": {"state": "translated",- "value": "Koreanska"+ "value": "Bildbuffring"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "韩语"+ "value": "帧缓冲"}}}},- "Latin American Spanish": {+ "Frame rate": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Lateinamerikanisches Spanisch"+ "value": "Bildrate"}},"en": {"stringUnit": {"state": "translated",- "value": "Latin American Spanish"+ "value": "Frame rate"}},"fr": {"stringUnit": {"state": "translated",- "value": "Espagnol (Amérique latine)"+ "value": "Fréquence d’images"}},"it": {"stringUnit": {"state": "translated",- "value": "Spagnolo latinoamericano"+ "value": "Frequenza fotogrammi"}},"sv": {"stringUnit": {"state": "translated",- "value": "Latinamerikansk spanska"- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "拉丁美洲西班牙语"- }- }- }- },- "Library": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "Library"+ "value": "Bildfrekvens"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏库"+ "value": "帧率"}}}},- "Metal 4 pipelines": {+ "Frame-rate counter": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Metal-4-Pipelines"+ "value": "Bildraten-Anzeige"}},"en": {"stringUnit": {"state": "translated",- "value": "Metal 4 pipelines"+ "value": "Frame-rate counter"}},"fr": {"stringUnit": {"state": "translated",- "value": "Pipelines Metal 4"+ "value": "Compteur d’images par seconde"}},"it": {"stringUnit": {"state": "translated",- "value": "Pipeline Metal 4"+ "value": "Contatore fotogrammi"}},"sv": {"stringUnit": {"state": "translated",- "value": "Metal 4-pipelines"+ "value": "Bildfrekvensräknare"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "Metal 4 管线"+ "value": "帧率显示"}}}},- "MetalFX": {+ "French": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "MetalFX"+ "value": "Französisch"}},"en": {"stringUnit": {"state": "translated",- "value": "MetalFX"+ "value": "French"}},"fr": {"stringUnit": {"state": "translated",- "value": "MetalFX"+ "value": "Français"}},"it": {"stringUnit": {"state": "translated",- "value": "MetalFX"+ "value": "Francese"}},"sv": {"stringUnit": {"state": "translated",- "value": "MetalFX"+ "value": "Franska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "MetalFX"+ "value": "法语"}}}},- "Move between controls": {+ "From Settings": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Move between controls"+ "value": "From Settings"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "在控件之间移动"+ "value": "来自设置"}}}},- "Needs game data": {+ "Fullscreen": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Needs game data"+ "value": "Vollbild"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "需要游戏数据"+ "value": "Fullscreen"}- }- }- },- "No additional content": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "No additional content"+ "value": "Plein écran"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "无附加内容"+ "value": "Schermo intero"}- }- }- },- "No battery level": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "No battery level"+ "value": "Helskärm"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "无电量信息"+ "value": "全屏"}}}},- "No controllers connected": {+ "Game": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "No controllers connected"+ "value": "Spiel"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "未连接手柄"+ "value": "Game"}- }- }- },- "No data selected": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "No data selected"+ "value": "Jeu"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "未选择数据"+ "value": "Gioco"}- }- }- },- "No folder chosen": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "No folder chosen"+ "value": "Spel"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "未选择文件夹"+ "value": "游戏"}}}},- "Off": {+ "Game data": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Off"+ "value": "Game data"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "关"+ "value": "游戏数据"}}}},- "On": {+ "Game language": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "On"+ "value": "Spielsprache"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "开"+ "value": "Game language"}- }- }- },- "On a controller": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "On a controller"+ "value": "Langue du jeu"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Lingua del gioco"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Spelspråk"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "在手柄上"+ "value": "游戏语言"}}}},- "Performance": {+ "Game rumble": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Leistung"+ "value": "Spiel-Vibration"}},"en": {"stringUnit": {"state": "translated",- "value": "Performance"+ "value": "Game rumble"}},"fr": {"stringUnit": {"state": "translated",- "value": "Performances"+ "value": "Vibrations du jeu"}},"it": {"stringUnit": {"state": "translated",- "value": "Prestazioni"+ "value": "Vibrazione del gioco"}},"sv": {"stringUnit": {"state": "translated",- "value": "Prestanda"+ "value": "Spelvibration"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "性能"+ "value": "游戏震动"}}}},- "Performance HUD": {+ "Game settings": {"localizations": {- "de": {- "stringUnit": {- "state": "translated",- "value": "Leistungsanzeige"- }- },"en": {"stringUnit": {"state": "translated",- "value": "Performance HUD"- }- },- "fr": {- "stringUnit": {- "state": "translated",- "value": "HUD de performances"+ "value": "Game settings"}},- "it": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "HUD prestazioni"+ "value": "游戏设置"}- },- "sv": {+ }+ }+ },+ "Games look for their data here. Keep one romfs.img per game in any folder inside. Each game is found by the image itself, so the folder names do not matter. Each game can also have a folder of its own.": {+ "localizations": {+ "en": {"stringUnit": {"state": "translated",- "value": "Prestandaöversikt"+ "value": "Games look for their data here. Keep one romfs.img per game in any folder inside. Each game is found by the image itself, so the folder names do not matter. Each game can also have a folder of its own."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "性能 HUD"+ "value": "游戏会在这里查找游戏数据。请在其中的任意文件夹里为每个游戏放一个 romfs.img。应用会按镜像本身识别游戏,所以文件夹名称不限。每个游戏也可以单独指定文件夹。"}}}},- "Performance overlay": {+ "Games without a folder of their own save here. Choose the same iCloud Drive folder you use on your Mac.": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Performance overlay"+ "value": "Games without a folder of their own save here. Choose the same iCloud Drive folder you use on your Mac."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "性能浮层"+ "value": "没有单独指定文件夹的游戏会把存档保存在这里。请选择与 Mac 相同的 iCloud Drive 文件夹。"}}}},- "Pipeline prebuild": {+ "German": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Pipelines vorab erstellen"+ "value": "Deutsch"}},"en": {"stringUnit": {"state": "translated",- "value": "Pipeline prebuild"+ "value": "German"}},"fr": {"stringUnit": {"state": "translated",- "value": "Précompilation des pipelines"+ "value": "Allemand"}},"it": {"stringUnit": {"state": "translated",- "value": "Precompilazione pipeline"+ "value": "Tedesco"}},"sv": {"stringUnit": {"state": "translated",- "value": "Förbygg pipelines"+ "value": "Tyska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "预先构建管线"+ "value": "德语"}}}},- "Play": {+ "Handheld": {"localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Handheld"+ }+ },"en": {"stringUnit": {"state": "translated",- "value": "Play"+ "value": "Handheld"}},- "zh-Hans": {+ "fr": {"stringUnit": {"state": "translated",- "value": "开始"+ "value": "Portable"}- }- }- },- "Played %@": {- "localizations": {- "en": {+ },+ "it": {"stringUnit": {"state": "translated",- "value": "Played %@"+ "value": "Portatile"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Handhållen"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "%@ 玩过"+ "value": "掌机模式"}}}},- "Played today": {+ "Hold B to close": {"localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "B halten zum Schließen"+ }+ },"en": {"stringUnit": {"state": "translated",- "value": "Played today"+ "value": "Hold B to close"}},- "zh-Hans": {+ "fr": {"stringUnit": {"state": "translated",- "value": "今天玩过"+ "value": "Maintenir B pour fermer"}- }- }- },- "Played yesterday": {- "localizations": {- "en": {+ },+ "it": {"stringUnit": {"state": "translated",- "value": "Played yesterday"+ "value": "Tieni premuto B per chiudere"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Håll B för att stänga"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "昨天玩过"+ "value": "按住 B 关闭"}}}},- "Portuguese": {+ "Hold frames when late": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Portugiesisch"+ "value": "Bilder halten, wenn sie zu spät sind"}},"en": {"stringUnit": {"state": "translated",- "value": "Portuguese"+ "value": "Hold frames when late"}},"fr": {"stringUnit": {"state": "translated",- "value": "Portugais"+ "value": "Maintenir l’image en cas de retard"}},"it": {"stringUnit": {"state": "translated",- "value": "Portoghese"+ "value": "Mantieni i fotogrammi in ritardo"}},"sv": {"stringUnit": {"state": "translated",- "value": "Portugisiska"+ "value": "Håll bilder när de är sena"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "葡萄牙语"+ "value": "帧延迟时保持"}}}},- "Ready to play": {+ "How to fix": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Ready to play"+ "value": "How to fix"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "随时可玩"+ "value": "如何修复"}}}},- "Recently played": {+ "How to update": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Recently played"+ "value": "How to update"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "最近游玩"+ "value": "如何更新"}}}},- "Remove": {+ "Increase": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Remove"+ "value": "Increase"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "移除"+ "value": "增大"}}}},- "Render scale": {+ "Install a newer version of this app to play this game.": {"localizations": {- "de": {- "stringUnit": {- "state": "translated",- "value": "Render-Skalierung"- }- },"en": {"stringUnit": {"state": "translated",- "value": "Render scale"- }- },- "fr": {- "stringUnit": {- "state": "translated",- "value": "Échelle de rendu"- }- },- "it": {- "stringUnit": {- "state": "translated",- "value": "Scala di rendering"- }- },- "sv": {- "stringUnit": {- "state": "translated",- "value": "Renderskala"+ "value": "Install a newer version of this app to play this game."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "渲染比例"+ "value": "安装本 App 的更新版本以游玩此游戏。"}}}},- "Reset to tested defaults": {+ "Interface": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Reset to tested defaults"+ "value": "Interface"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "恢复测试默认值"+ "value": "界面"}}}},- "Rumble cutoff": {+ "Italian": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Vibrationsschwelle"+ "value": "Italienisch"}},"en": {"stringUnit": {"state": "translated",- "value": "Rumble cutoff"+ "value": "Italian"}},"fr": {"stringUnit": {"state": "translated",- "value": "Seuil des vibrations"+ "value": "Italien"}},"it": {"stringUnit": {"state": "translated",- "value": "Soglia della vibrazione"+ "value": "Italiano"}},"sv": {"stringUnit": {"state": "translated",- "value": "Vibrationsgräns"+ "value": "Italienska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "震动下限"+ "value": "意大利语"}}}},- "Rumble strength": {+ "Japanese": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Vibrationsstärke"+ "value": "Japanisch"}},"en": {"stringUnit": {"state": "translated",- "value": "Rumble strength"+ "value": "Japanese"}},"fr": {"stringUnit": {"state": "translated",- "value": "Intensité des vibrations"+ "value": "Japonais"}},"it": {"stringUnit": {"state": "translated",- "value": "Intensità della vibrazione"+ "value": "Giapponese"}},"sv": {"stringUnit": {"state": "translated",- "value": "Vibrationsstyrka"+ "value": "Japanska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "震动强度"+ "value": "日语"}}}},- "Russian": {+ "Keeps a pipeline archive and uses more memory.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Russisch"+ "value": "Behält ein Pipeline-Archiv und braucht mehr Speicher."}},"en": {"stringUnit": {"state": "translated",- "value": "Russian"+ "value": "Keeps a pipeline archive and uses more memory."}},"fr": {"stringUnit": {"state": "translated",- "value": "Russe"+ "value": "Conserve une archive de pipelines et utilise plus de mémoire."}},"it": {"stringUnit": {"state": "translated",- "value": "Russo"+ "value": "Conserva un archivio delle pipeline e usa più memoria."}},"sv": {"stringUnit": {"state": "translated",- "value": "Ryska"+ "value": "Behåller ett pipelinearkiv och använder mer minne."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "俄语"+ "value": "保留管线存档,占用更多内存。"}}}},- "Saves are deleted too and cannot be brought back.": {+ "Keeps a pipeline archive; uses more memory.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Die Spielstände werden auch gelöscht und lassen sich nicht wiederherstellen."+ "value": "Behält ein Pipeline-Archiv und braucht mehr Speicher."}},"en": {"stringUnit": {"state": "translated",- "value": "Saves are deleted too and cannot be brought back."+ "value": "Keeps a pipeline archive; uses more memory."}},"fr": {"stringUnit": {"state": "translated",- "value": "Les sauvegardes sont aussi supprimées et ne peuvent pas être récupérées."+ "value": "Conserve une archive de pipelines et utilise plus de mémoire."}},"it": {"stringUnit": {"state": "translated",- "value": "Anche i salvataggi vengono eliminati e non si possono recuperare."+ "value": "Conserva un archivio delle pipeline e usa più memoria."}},"sv": {"stringUnit": {"state": "translated",- "value": "Sparfilerna raderas också och kan inte återställas."+ "value": "Behåller ett pipelinearkiv och använder mer minne."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "存档也会被删除,且无法恢复。"+ "value": "保留管线存档,占用更多内存。"}}}},- "Saves stay unless you choose to delete them too.": {+ "Korean": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Spielstände bleiben, außer du löschst sie ausdrücklich mit."+ "value": "Koreanisch"}},"en": {"stringUnit": {"state": "translated",- "value": "Saves stay unless you choose to delete them too."+ "value": "Korean"}},"fr": {"stringUnit": {"state": "translated",- "value": "Les sauvegardes restent, sauf si vous choisissez de les supprimer aussi."+ "value": "Coréen"}},"it": {"stringUnit": {"state": "translated",- "value": "I salvataggi restano, a meno che tu non scelga di eliminarli."+ "value": "Coreano"}},"sv": {"stringUnit": {"state": "translated",- "value": "Sparfilerna ligger kvar om du inte väljer att radera dem också."+ "value": "Koreanska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "除非你选择一并删除,否则存档会保留。"+ "value": "韩语"}}}},- "Select": {+ "Latin American Spanish": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Select"+ "value": "Lateinamerikanisches Spanisch"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "选择"+ "value": "Latin American Spanish"}- }- }- },- "Settings": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Settings"+ "value": "Espagnol (Amérique latine)"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "设置"+ "value": "Spagnolo latinoamericano"}- }- }- },- "Show log": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Show log"+ "value": "Latinamerikansk spanska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "显示日志"+ "value": "拉丁美洲西班牙语"}}}},- "Simplified Chinese": {+ "Left": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Vereinfachtes Chinesisch"+ "value": "Links"}},"en": {"stringUnit": {"state": "translated",- "value": "Simplified Chinese"+ "value": "Left"}},"fr": {"stringUnit": {"state": "translated",- "value": "Chinois simplifié"+ "value": "Gauche"}},"it": {"stringUnit": {"state": "translated",- "value": "Cinese semplificato"+ "value": "Sinistra"}},"sv": {"stringUnit": {"state": "translated",- "value": "Förenklad kinesiska"+ "value": "Vänster"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "简体中文"+ "value": "左"}}}},- "Spanish": {+ "Left button": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Spanisch"+ "value": "Linke Taste"}},"en": {"stringUnit": {"state": "translated",- "value": "Spanish"+ "value": "Left button"}},"fr": {"stringUnit": {"state": "translated",- "value": "Espagnol"+ "value": "Bouton de gauche"}},"it": {"stringUnit": {"state": "translated",- "value": "Spagnolo"+ "value": "Tasto a sinistra"}},"sv": {"stringUnit": {"state": "translated",- "value": "Spanska"+ "value": "Vänstra knappen"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "西班牙语"+ "value": "左侧按键"}}}},- "Standard": {+ "Left shoulder": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Standard"+ "value": "Linke Schultertaste"}},"en": {"stringUnit": {"state": "translated",- "value": "Standard"+ "value": "Left shoulder"}},"fr": {"stringUnit": {"state": "translated",- "value": "Standard"+ "value": "Épaule gauche"}},"it": {"stringUnit": {"state": "translated",- "value": "Standard"+ "value": "Dorsale sinistro"}},"sv": {"stringUnit": {"state": "translated",- "value": "Standard"+ "value": "Vänster axelknapp"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "标准"+ "value": "左肩键"}}}},- "The first start waits a few minutes for it, once.": {+ "Left stick press": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Der erste Start wartet dafür einmalig einige Minuten."+ "value": "Linken Stick drücken"}},"en": {"stringUnit": {"state": "translated",- "value": "The first start waits a few minutes for it, once."+ "value": "Left stick press"}},"fr": {"stringUnit": {"state": "translated",- "value": "Le premier démarrage l’attend quelques minutes, une seule fois."+ "value": "Clic du stick gauche"}},"it": {"stringUnit": {"state": "translated",- "value": "Il primo avvio la attende per qualche minuto, una volta sola."+ "value": "Pressione levetta sinistra"}},"sv": {"stringUnit": {"state": "translated",- "value": "Första starten väntar några minuter på det, en gång."+ "value": "Tryck på vänster spak"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "首次启动需要等待几分钟,仅此一次。"+ "value": "按下左摇杆"}}}},- "The game’s data on this device is deleted and the game leaves the list. A folder you chose yourself is not touched. Send the game data from your Mac again to bring it back.": {+ "Left trigger": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Die Spieldaten auf diesem Gerät werden gelöscht und das Spiel verschwindet aus der Liste. Ein Ordner, den du selbst gewählt hast, bleibt unberührt. Sende die Spieldaten erneut von deinem Mac, um es zurückzuholen."+ "value": "Linker Trigger"}},"en": {"stringUnit": {"state": "translated",- "value": "The game’s data on this device is deleted and the game leaves the list. A folder you chose yourself is not touched. Send the game data from your Mac again to bring it back."+ "value": "Left trigger"}},"fr": {"stringUnit": {"state": "translated",- "value": "Les données du jeu sur cet appareil sont supprimées et le jeu quitte la liste. Un dossier que vous avez choisi vous-même n’est pas touché. Envoyez à nouveau les données du jeu depuis votre Mac pour le retrouver."+ "value": "Gâchette gauche"}},"it": {"stringUnit": {"state": "translated",- "value": "I dati del gioco su questo dispositivo vengono eliminati e il gioco esce dall’elenco. Una cartella scelta da te non viene toccata. Invia di nuovo i dati del gioco dal Mac per riaverlo."+ "value": "Grilletto sinistro"}},"sv": {"stringUnit": {"state": "translated",- "value": "Speldatan på den här enheten raderas och spelet försvinner från listan. En mapp du själv har valt rörs inte. Skicka speldatan från din Mac igen för att få tillbaka det."- }- },- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "这台设备上的游戏数据会被删除,游戏也会从列表中移除。你自己选择的文件夹不受影响。从 Mac 再次发送游戏数据即可恢复。"- }- }- }- },- "This game needs a newer version of this app. Update it with the Mac app on your Mac, then install it on this device again.": {- "localizations": {- "en": {- "stringUnit": {- "state": "translated",- "value": "This game needs a newer version of this app. Update it with the Mac app on your Mac, then install it on this device again."+ "value": "Vänster avtryckare"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "此游戏需要本 App 的更新版本。请在 Mac 应用中更新。"+ "value": "左扳机键"}}}},- "Title ID %@": {+ "Library": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Title ID %@"+ "value": "Library"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "Title ID %@"+ "value": "游戏库"}}}},- "Touch feedback": {+ "Metal 4 pipelines": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Touch-Feedback"+ "value": "Metal-4-Pipelines"}},"en": {"stringUnit": {"state": "translated",- "value": "Touch feedback"+ "value": "Metal 4 pipelines"}},"fr": {"stringUnit": {"state": "translated",- "value": "Retour tactile"+ "value": "Pipelines Metal 4"}},"it": {"stringUnit": {"state": "translated",- "value": "Feedback al tocco"+ "value": "Pipeline Metal 4"}},"sv": {"stringUnit": {"state": "translated",- "value": "Beröringsåterkoppling"+ "value": "Metal 4-pipelines"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "触控反馈"+ "value": "Metal 4 管线"}}}},- "Traditional Chinese": {+ "MetalFX": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Traditionelles Chinesisch"+ "value": "MetalFX"}},"en": {"stringUnit": {"state": "translated",- "value": "Traditional Chinese"+ "value": "MetalFX"}},"fr": {"stringUnit": {"state": "translated",- "value": "Chinois traditionnel"+ "value": "MetalFX"}},"it": {"stringUnit": {"state": "translated",- "value": "Cinese tradizionale"+ "value": "MetalFX"}},"sv": {"stringUnit": {"state": "translated",- "value": "Traditionell kinesiska"+ "value": "MetalFX"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "繁体中文"+ "value": "MetalFX"}}}},- "Turn off": {+ "Minus": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Turn off"+ "value": "Minus"}},- "zh-Hans": {- "stringUnit": {- "state": "translated",- "value": "关闭"- }- }- }- },- "Turn off cloud saves": {- "localizations": {- "en": {+ "fr": {"stringUnit": {"state": "translated",- "value": "Turn off cloud saves"+ "value": "Moins"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "关闭云存档"+ "value": "Meno"}- }- }- },- "Unavailable": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Unavailable"+ "value": "Minus"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "不可用"+ "value": "减号键"}}}},- "Up to one frame more display latency.": {+ "More buttons": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Bis zu ein Bild mehr Anzeigeverzögerung."+ "value": "Weitere Tasten"}},"en": {"stringUnit": {"state": "translated",- "value": "Up to one frame more display latency."+ "value": "More buttons"}},"fr": {"stringUnit": {"state": "translated",- "value": "Jusqu’à une image de latence d’affichage en plus."+ "value": "Autres boutons"}},"it": {"stringUnit": {"state": "translated",- "value": "Fino a un fotogramma in più di latenza dello schermo."+ "value": "Altri tasti"}},"sv": {"stringUnit": {"state": "translated",- "value": "Upp till en bildruta mer fördröjning på skärmen."+ "value": "Fler knappar"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "显示延迟最多增加一帧。"+ "value": "其他按键"}}}},- "Update app": {+ "Move between controls": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Update app"+ "value": "Move between controls"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "更新 App"+ "value": "在控件之间移动"}}}},- "Upscaling": {+ "Named as on a Switch controller, by where they sit.": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Hochskalierung"+ "value": "Benannt wie auf einem Switch-Controller, nach ihrer Lage."}},"en": {"stringUnit": {"state": "translated",- "value": "Upscaling"+ "value": "Named as on a Switch controller, by where they sit."}},"fr": {"stringUnit": {"state": "translated",- "value": "Mise à l’échelle"+ "value": "Nommés comme sur une manette Switch, selon leur position."}},"it": {"stringUnit": {"state": "translated",- "value": "Upscaling"+ "value": "Nomi come su un controller Switch, in base alla posizione."}},"sv": {"stringUnit": {"state": "translated",- "value": "Uppskalning"+ "value": "Namngivna som på en Switch-handkontroll, efter var de sitter."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "超分"+ "value": "按 Switch 手柄上的位置命名。"}}}},- "Use Settings folder": {+ "Needs game data": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Use Settings folder"+ "value": "Needs game data"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "使用设置中的文件夹"+ "value": "需要游戏数据"}}}},- "Use app data": {+ "No additional content": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Use app data"+ "value": "No additional content"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "使用应用数据"+ "value": "无附加内容"}}}},- "Used by games that have no choice of their own.": {+ "No battery level": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Used by games that have no choice of their own."+ "value": "No battery level"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏未单独设置时使用。"+ "value": "无电量信息"}}}},- "Uses more GPU time and can increase heat.": {+ "No button held": {"localizations": {"de": {"stringUnit": {"state": "translated",- "value": "Braucht mehr GPU-Zeit und kann die Wärme erhöhen."+ "value": "Keine Taste gedrückt"}},"en": {"stringUnit": {"state": "translated",- "value": "Uses more GPU time and can increase heat."+ "value": "No button held"}},"fr": {"stringUnit": {"state": "translated",- "value": "Utilise plus de temps GPU et peut faire chauffer davantage."+ "value": "Aucun bouton maintenu"}},"it": {"stringUnit": {"state": "translated",- "value": "Usa più tempo della GPU e può aumentare il calore."+ "value": "Nessun tasto premuto"}},"sv": {"stringUnit": {"state": "translated",- "value": "Använder mer GPU-tid och kan öka värmen."+ "value": "Ingen knapp nedtryckt"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "占用更多 GPU 时间,可能增加发热。"+ "value": "没有按下按键"}}}},- "Version %@": {+ "No controllers connected": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Version %@"+ "value": "No controllers connected"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "版本 %@"+ "value": "未连接手柄"}}}},- "Window": {+ "No data selected": {"localizations": {- "de": {- "stringUnit": {- "state": "translated",- "value": "Fenster"- }- },"en": {"stringUnit": {"state": "translated",- "value": "Window"+ "value": "No data selected"}},- "fr": {+ "zh-Hans": {"stringUnit": {"state": "translated",- "value": "Fenêtre"+ "value": "未选择数据"+ }+ }+ }+ },+ "No folder chosen": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "No folder chosen"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "未选择文件夹"+ }+ }+ }+ },+ "None": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Keine"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "None"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Aucun"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Nessuno"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Ingen"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "无"+ }+ }+ }+ },+ "Off": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Aus"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Off"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Désactivé"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Disattivato"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Av"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "关"+ }+ }+ }+ },+ "On": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "An"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "On"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Activé"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Attivato"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "På"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "开"+ }+ }+ }+ },+ "On a controller": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "On a controller"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "在手柄上"+ }+ }+ }+ },+ "Opens the button mapping": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Öffnet die Tastenbelegung"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Opens the button mapping"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Ouvre l’attribution des boutons"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Apre la mappatura tasti"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Öppnar knapptilldelningen"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "打开按键映射"+ }+ }+ }+ },+ "Opens the button test": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Öffnet den Tastentest"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Opens the button test"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Ouvre le test des boutons"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Apre il test dei tasti"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Öppnar knapptestet"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "打开按键测试"+ }+ }+ }+ },+ "Opens the list of choices": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Öffnet die Auswahlliste"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Opens the list of choices"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Ouvre la liste des choix"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Apre l’elenco delle scelte"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Öppnar listan med val"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "打开选项列表"+ }+ }+ }+ },+ "Performance": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Leistung"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Performance"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Performances"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Prestazioni"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Prestanda"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "性能"+ }+ }+ }+ },+ "Performance HUD": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Leistungsanzeige"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Performance HUD"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "HUD de performances"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "HUD prestazioni"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Prestandaöversikt"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "性能 HUD"+ }+ }+ }+ },+ "Performance overlay": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Performance overlay"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "性能浮层"+ }+ }+ }+ },+ "Pipeline prebuild": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Pipelines vorab erstellen"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Pipeline prebuild"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Précompilation des pipelines"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Precompilazione pipeline"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Förbygg pipelines"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "预先构建管线"+ }+ }+ }+ },+ "Play": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Play"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "开始"+ }+ }+ }+ },+ "Played %@": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Played %@"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "%@ 玩过"+ }+ }+ }+ },+ "Played today": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Played today"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "今天玩过"+ }+ }+ }+ },+ "Played yesterday": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Played yesterday"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "昨天玩过"+ }+ }+ }+ },+ "Plus": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Plus"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Più"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Plus"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "加号键"+ }+ }+ }+ },+ "Portuguese": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Portugiesisch"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Portuguese"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Portugais"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Portoghese"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Portugisiska"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "葡萄牙语"+ }+ }+ }+ },+ "Press any button on a controller": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Drücke eine Taste auf einem Controller"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Press any button on a controller"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Appuyez sur un bouton d’une manette"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Premi un tasto qualsiasi su un controller"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Tryck på valfri knapp på en handkontroll"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "按下手柄上的任意按键"+ }+ }+ }+ },+ "Puts A on the bottom button, where Xbox and PlayStation controllers confirm.": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Legt A auf die untere Taste, wo Xbox- und PlayStation-Controller bestätigen."+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Puts A on the bottom button, where Xbox and PlayStation controllers confirm."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Place A sur le bouton du bas, là où les manettes Xbox et PlayStation valident."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Mette A sul tasto in basso, dove confermano i controller Xbox e PlayStation."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Lägger A på den nedre knappen, där Xbox- och PlayStation-handkontroller bekräftar."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "把 A 放到下方按键,与 Xbox 和 PlayStation 手柄的确认键位置一致。"+ }+ }+ }+ },+ "Ready to play": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Ready to play"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "随时可玩"+ }+ }+ }+ },+ "Recently played": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Recently played"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "最近游玩"+ }+ }+ }+ },+ "Remove": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Remove"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "移除"+ }+ }+ }+ },+ "Render scale": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Render-Skalierung"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Render scale"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Échelle de rendu"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Scala di rendering"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Renderskala"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "渲染比例"+ }+ }+ }+ },+ "Reset": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Zurücksetzen"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Reset"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Réinitialiser"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Ripristina"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Återställ"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "重置"+ }+ }+ }+ },+ "Reset to tested defaults": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Reset to tested defaults"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "恢复测试默认值"+ }+ }+ }+ },+ "Right": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Rechts"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Right"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Droite"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Destra"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Höger"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "右"+ }+ }+ }+ },+ "Right button": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Rechte Taste"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Right button"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Bouton de droite"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Tasto a destra"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Högra knappen"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "右侧按键"+ }+ }+ }+ },+ "Right shoulder": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Rechte Schultertaste"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Right shoulder"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Épaule droite"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Dorsale destro"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Höger axelknapp"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "右肩键"+ }+ }+ }+ },+ "Right stick press": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Rechten Stick drücken"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Right stick press"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Clic du stick droit"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Pressione levetta destra"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Tryck på höger spak"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "按下右摇杆"+ }+ }+ }+ },+ "Right trigger": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Rechter Trigger"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Right trigger"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Gâchette droite"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Grilletto destro"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Höger avtryckare"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "右扳机键"+ }+ }+ }+ },+ "Rumble cutoff": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Vibrationsschwelle"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Rumble cutoff"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Seuil des vibrations"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Soglia della vibrazione"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Vibrationsgräns"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "震动下限"+ }+ }+ }+ },+ "Rumble strength": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Vibrationsstärke"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Rumble strength"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Intensité des vibrations"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Intensità della vibrazione"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Vibrationsstyrka"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "震动强度"+ }+ }+ }+ },+ "Russian": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Russisch"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Russian"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Russe"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Russo"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Ryska"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "俄语"+ }+ }+ }+ },+ "Same as all games": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Wie alle Spiele"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Same as all games"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Comme tous les jeux"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Come tutti i giochi"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Som alla spel"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "与所有游戏相同"+ }+ }+ }+ },+ "Saves are deleted too and cannot be brought back.": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Die Spielstände werden auch gelöscht und lassen sich nicht wiederherstellen."+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Saves are deleted too and cannot be brought back."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Les sauvegardes sont aussi supprimées et ne peuvent pas être récupérées."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Anche i salvataggi vengono eliminati e non si possono recuperare."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Sparfilerna raderas också och kan inte återställas."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "存档也会被删除,且无法恢复。"+ }+ }+ }+ },+ "Saves stay unless you choose to delete them too.": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Spielstände bleiben, außer du löschst sie ausdrücklich mit."+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Saves stay unless you choose to delete them too."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Les sauvegardes restent, sauf si vous choisissez de les supprimer aussi."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "I salvataggi restano, a meno che tu non scelga di eliminarli."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Sparfilerna ligger kvar om du inte väljer att radera dem också."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "除非你选择一并删除,否则存档会保留。"+ }+ }+ }+ },+ "See each button light up as you press it.": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Jede Taste leuchtet auf, wenn du sie drückst."+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "See each button light up as you press it."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Chaque bouton s’allume quand vous appuyez dessus."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Ogni tasto si illumina quando lo premi."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Se varje knapp lysa upp när du trycker på den."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "按下按键时,对应的位置会亮起。"+ }+ }+ }+ },+ "Select": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Select"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "选择"+ }+ }+ }+ },+ "Sends in games": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Löst in Spielen aus"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Sends in games"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Envoie dans les jeux"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Invia nei giochi"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Skickar i spel"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "在游戏中对应"+ }+ }+ }+ },+ "Settings": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Settings"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "设置"+ }+ }+ }+ },+ "Shoulders and triggers": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Schultertasten und Trigger"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Shoulders and triggers"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Épaules et gâchettes"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Dorsali e grilletti"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Axelknappar och avtryckare"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "肩键和扳机键"+ }+ }+ }+ },+ "Show log": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Show log"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "显示日志"+ }+ }+ }+ },+ "Simplified Chinese": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Vereinfachtes Chinesisch"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Simplified Chinese"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Chinois simplifié"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Cinese semplificato"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Förenklad kinesiska"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "简体中文"+ }+ }+ }+ },+ "Spanish": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Spanisch"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Spanish"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Espagnol"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Spagnolo"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Spanska"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "西班牙语"+ }+ }+ }+ },+ "Standard": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Standard"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Standard"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Standard"}},"it": {"stringUnit": {"state": "translated",- "value": "Finestra"+ "value": "Standard"}},"sv": {"stringUnit": {"state": "translated",- "value": "Fönster"+ "value": "Standard"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "标准"+ }+ }+ }+ },+ "Swap A and B": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "A und B tauschen"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Swap A and B"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Inverser A et B"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Scambia A e B"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Byt A och B"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "交换 A 和 B"+ }+ }+ }+ },+ "The first start waits a few minutes for it, once.": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Der erste Start wartet dafür einmalig einige Minuten."+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "The first start waits a few minutes for it, once."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Le premier démarrage l’attend quelques minutes, une seule fois."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Il primo avvio la attende per qualche minuto, una volta sola."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Första starten väntar några minuter på det, en gång."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "首次启动需要等待几分钟,仅此一次。"+ }+ }+ }+ },+ "The game’s data on this device is deleted and the game leaves the list. A folder you chose yourself is not touched. Send the game data from your Mac again to bring it back.": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Die Spieldaten auf diesem Gerät werden gelöscht und das Spiel verschwindet aus der Liste. Ein Ordner, den du selbst gewählt hast, bleibt unberührt. Sende die Spieldaten erneut von deinem Mac, um es zurückzuholen."+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "The game’s data on this device is deleted and the game leaves the list. A folder you chose yourself is not touched. Send the game data from your Mac again to bring it back."+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Les données du jeu sur cet appareil sont supprimées et le jeu quitte la liste. Un dossier que vous avez choisi vous-même n’est pas touché. Envoyez à nouveau les données du jeu depuis votre Mac pour le retrouver."+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "I dati del gioco su questo dispositivo vengono eliminati e il gioco esce dall’elenco. Una cartella scelta da te non viene toccata. Invia di nuovo i dati del gioco dal Mac per riaverlo."+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Speldatan på den här enheten raderas och spelet försvinner från listan. En mapp du själv har valt rörs inte. Skicka speldatan från din Mac igen för att få tillbaka det."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "这台设备上的游戏数据会被删除,游戏也会从列表中移除。你自己选择的文件夹不受影响。从 Mac 再次发送游戏数据即可恢复。"+ }+ }+ }+ },+ "This game needs a newer version of this app. Update it with the Mac app on your Mac, then install it on this device again.": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "This game needs a newer version of this app. Update it with the Mac app on your Mac, then install it on this device again."+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "此游戏需要本 App 的更新版本。请在 Mac 应用中更新。"+ }+ }+ }+ },+ "Title ID %@": {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Title ID %@"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "Title ID %@"+ }+ }+ }+ },+ "Top button": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Obere Taste"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Top button"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Bouton du haut"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Tasto in alto"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Övre knappen"+ }+ },+ "zh-Hans": {+ "stringUnit": {+ "state": "translated",+ "value": "上方按键"+ }+ }+ }+ },+ "Touch feedback": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Touch-Feedback"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Touch feedback"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Retour tactile"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Feedback al tocco"+ }+ },+ "sv": {+ "stringUnit": {+ "state": "translated",+ "value": "Beröringsåterkoppling"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "窗口"+ "value": "触控反馈"+ }+ }+ }+ },+ "Traditional Chinese": {+ "localizations": {+ "de": {+ "stringUnit": {+ "state": "translated",+ "value": "Traditionelles Chinesisch"+ }+ },+ "en": {+ "stringUnit": {+ "state": "translated",+ "value": "Traditional Chinese"+ }+ },+ "fr": {+ "stringUnit": {+ "state": "translated",+ "value": "Chinois traditionnel"+ }+ },+ "it": {+ "stringUnit": {+ "state": "translated",+ "value": "Cinese tradizionale"}- }- }- },- "Your games": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Your games"+ "value": "Traditionell kinesiska"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "你的游戏"+ "value": "繁体中文"}}}},- "Your games will appear here when they are included in this app.": {+ "Turn off": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Your games will appear here when they are included in this app."+ "value": "Turn off"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "游戏加入此 App 后会显示在这里。"+ "value": "关闭"}}}},- "Button mapping": {+ "Turn off cloud saves": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Button mapping"+ "value": "Turn off cloud saves"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "按键映射"+ "value": "关闭云存档"}}}},- "Swap A and B": {+ "Unavailable": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Swap A and B"+ "value": "Unavailable"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "交换 A 和 B"+ "value": "不可用"}}}},- "None": {+ "Up": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "None"+ "value": "Oben"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "无"+ "value": "Up"}- }- }- },- "Reset to default": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Reset to default"+ "value": "Haut"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "恢复默认"+ "value": "Su"}- }- }- },- "Left stick press": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Left stick press"+ "value": "Upp"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "左摇杆按下"+ "value": "上"}}}},- "Right stick press": {+ "Up to one frame more display latency.": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Right stick press"+ "value": "Bis zu ein Bild mehr Anzeigeverzögerung."}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "右摇杆按下"+ "value": "Up to one frame more display latency."}- }- }- },- "D-pad left": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "D-pad left"+ "value": "Jusqu’à une image de latence d’affichage en plus."}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "十字键左"+ "value": "Fino a un fotogramma in più di latenza dello schermo."}- }- }- },- "D-pad up": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "D-pad up"+ "value": "Upp till en bildruta mer fördröjning på skärmen."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "十字键上"+ "value": "显示延迟最多增加一帧。"}}}},- "D-pad right": {+ "Update app": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "D-pad right"+ "value": "Update app"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "十字键右"+ "value": "更新 App"}}}},- "D-pad down": {+ "Upscaling": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "D-pad down"+ "value": "Hochskalierung"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "十字键下"+ "value": "Upscaling"}- }- }- },- "Only affects physical controllers in games, not shell menus. Each game can override these settings.": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Only affects physical controllers in games, not shell menus. Each game can override these settings."+ "value": "Mise à l’échelle"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "仅影响游戏内的实体手柄,不影响 shell 菜单。每个游戏可以单独设置。"+ "value": "Upscaling"}- }- }- },- "Follow global": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Follow global"+ "value": "Uppskalning"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "跟随全局"+ "value": "超分"}}}},- "Default": {+ "Use Settings folder": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Default"+ "value": "Use Settings folder"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "默认"+ "value": "使用设置中的文件夹"}}}},- "Custom": {+ "Use app data": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Custom"+ "value": "Use app data"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "自定义"+ "value": "使用应用数据"}}}},- "Overrides the global mapping for this game only.": {+ "Used by games that have no choice of their own.": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Overrides the global mapping for this game only."+ "value": "Used by games that have no choice of their own."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "仅为这个游戏覆盖全局映射。"+ "value": "游戏未单独设置时使用。"}}}},- "What each button of a physical controller sends in games.": {+ "Uses more GPU time and can increase heat.": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "What each button of a physical controller sends in games."+ "value": "Braucht mehr GPU-Zeit und kann die Wärme erhöhen."}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "设置实体手柄的每个按键在游戏中对应哪个键。"+ "value": "Uses more GPU time and can increase heat."}- }- }- },- "Opens the button mapping": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Opens the button mapping"+ "value": "Utilise plus de temps GPU et peut faire chauffer davantage."}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "打开按键映射"+ "value": "Usa più tempo della GPU e può aumentare il calore."}- }- }- },- "Sends in games": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Sends in games"+ "value": "Använder mer GPU-tid och kan öka värmen."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "在游戏中对应"+ "value": "占用更多 GPU 时间,可能增加发热。"}}}},- "Buttons": {+ "Version %@": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Buttons"+ "value": "Version %@"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "按键"+ "value": "版本 %@"}}}},- "Button test": {+ "What each button sends in games.": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Button test"+ "value": "Was jede Taste in Spielen auslöst."}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "按键测试"+ "value": "What each button sends in games."}- }- }- },- "See each button light up as you press it.": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "See each button light up as you press it."+ "value": "Ce que chaque bouton envoie dans les jeux."}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "按下按键时,对应的位置会亮起。"+ "value": "Cosa invia ogni tasto nei giochi."}- }- }- },- "Opens the button test": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "Opens the button test"+ "value": "Vad varje knapp skickar i spel."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "打开按键测试"+ "value": "每个按键在游戏中对应的键。"}}}},- "Controller": {+ "Window": {"localizations": {- "en": {+ "de": {"stringUnit": {"state": "translated",- "value": "Controller"+ "value": "Fenster"}},- "zh-Hans": {+ "en": {"stringUnit": {"state": "translated",- "value": "手柄"+ "value": "Window"}- }- }- },- "Press any button on a controller": {- "localizations": {- "en": {+ },+ "fr": {"stringUnit": {"state": "translated",- "value": "Press any button on a controller"+ "value": "Fenêtre"}},- "zh-Hans": {+ "it": {"stringUnit": {"state": "translated",- "value": "按下手柄上的任意按键"+ "value": "Finestra"}- }- }- },- "No button held": {- "localizations": {- "en": {+ },+ "sv": {"stringUnit": {"state": "translated",- "value": "No button held"+ "value": "Fönster"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "没有按下按键"+ "value": "窗口"}}}},- "Hold B to close": {+ "Your games": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "Hold B to close"+ "value": "Your games"}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "按住 B 关闭"+ "value": "你的游戏"}}}},- "For every game": {+ "Your games will appear here when they are included in this app.": {"localizations": {"en": {"stringUnit": {"state": "translated",- "value": "For every game"+ "value": "Your games will appear here when they are included in this app."}},"zh-Hans": {"stringUnit": {"state": "translated",- "value": "适用于所有游戏"+ "value": "游戏加入此 App 后会显示在这里。"}}}}},"version": "1.0"-}+}\ No newline at end of filediff --git a/frontend-ios/Tests/ShellHostTests/ShellHostModelTests.swift b/frontend-ios/Tests/ShellHostTests/ShellHostModelTests.swiftindex 3280b4a4..489a7a44 100644--- a/frontend-ios/Tests/ShellHostTests/ShellHostModelTests.swift+++ b/frontend-ios/Tests/ShellHostTests/ShellHostModelTests.swift@@ -45,7 +45,9 @@ final class Clock: @unchecked Sendable { var date: Date; init(_ d: Date) { datemodel.actions.onGlobalPadMapChange("swapAB", "1")#expect(model.globalPadMap.swapAB)#expect(try !detail(model).hasModifiedSettings)- if case .choice(let options) = try row("pad.A").kind { #expect(options.first?.label == "Follow global (B)") }+ // The game's row follows: the card shows what all games send there (B), from the shell's map.+ if case .choice(let options) = try row("pad.A").kind { #expect(options.first?.id == "follow" && options.first?.label == "Same as all games") }+ #expect(try row("pad.A").value == "follow" && model.globalPadMap.output(for: "A") == "B")await model.playNow(Fixtures.orbit)#expect(launcher.launched.last?.environment["DM_PAD_MAP"] == "A=B,B=A")model.actions.onChange(Fixtures.orbit, "pad.A", "Y")@@ -82,9 +84,10 @@ final class Clock: @unchecked Sendable { var date: Date; init(_ d: Date) { datemodel.actions.onGlobalPadMapChange("X", "none")for detail in model.details where detail.sections.contains(where: { $0.id == "pad" }) {let row = try #require(detail.sections.flatMap(\.rows).first { $0.id == "pad.X" })- #expect(row.fromShell)- if case .choice(let options) = row.kind { #expect(options.first?.label == "Follow global (None)") }+ #expect(row.fromShell && row.value == "follow")+ if case .choice(let options) = row.kind { #expect(options.map(\.id) == ["follow"] + PadMap.buttons + ["none"]) }}+ #expect(model.globalPadMap.output(for: "X") == "none")let store = GamePadMapStore(defaults: box.defaults(Fixtures.orbit))model.change(Fixtures.orbit, setting: "pad.unknown", value: "A")model.change(Fixtures.orbit, setting: "pad.A", value: "bad")diff --git a/frontend-ios/Tests/ShellUITests/PadMapTests.swift b/frontend-ios/Tests/ShellUITests/PadMapTests.swiftindex c7721a69..5a81f19d 100644--- a/frontend-ios/Tests/ShellUITests/PadMapTests.swift+++ b/frontend-ios/Tests/ShellUITests/PadMapTests.swift@@ -1,3 +1,4 @@+import Foundationimport Testing@testable import ShellUI@@ -40,16 +41,51 @@ import Testinglet ids = Array(rows.map { $0.id }.prefix(3)), changed = rows.filter { !$0.fromShell }.map { $0.id }#expect(ids == ["swapAB", "A", "B"])#expect(changed == ["swapAB", "A", "B"])- #expect(PadMappingRows.summary(rows, game: false) == "Swap A and B: On")+ #expect(PadMappingRows.summary(rows, game: false) == "A and B swapped")map.set("X", to: "none")#expect(PadMappingRows.summary(PadMappingRows.global(map), game: false) == "Custom")}@Test func aGameWithoutItsOwnMappingFollowsGlobal() {let rows = [SettingRow(id: "pad.swapAB", label: "Swap A and B", kind: .choice([]), value: "follow", fromShell: true),- SettingRow(id: "pad.A", label: "A", kind: .choice([]), value: "follow", fromShell: true)]- #expect(PadMappingRows.summary(rows, game: true) == "Follow global")+ SettingRow(id: "pad.A", label: "A", kind: .choice([]), value: "follow", fromShell: true),+ SettingRow(id: "pad.B", label: "B", kind: .choice([]), value: "follow", fromShell: true)]+ #expect(PadMappingRows.summary(rows, game: true) == "Same as all games")var custom = rowscustom[1].fromShell = false#expect(PadMappingRows.summary(custom, game: true) == "Custom")+ // A game that keeps A and B where they are while all games swap them says so.+ var kept = rows+ kept[0].value = "off"+ for i in kept.indices { kept[i].fromShell = false }+ kept[1].value = "A"+ kept[2].value = "B"+ #expect(PadMappingRows.summary(kept, game: true) == "A and B not swapped")+ }+ @Test func aRowThatFollowsShowsWhatAllGamesSend() {+ let global = PadMap(["A": "B", "B": "A", "X": "none"])+ let follows = SettingRow(id: "pad.X", label: "X", kind: .choice([]), value: "follow", fromShell: true)+ let own = SettingRow(id: "pad.A", label: "A", kind: .choice([]), value: "A", fromShell: false)+ #expect(PadMappingRows.button(of: follows) == "X" && PadMappingRows.output(of: follows, inherited: global) == "none")+ #expect(PadMappingRows.output(of: own, inherited: global) == "A")+ // The shell's own rows go by the button and hold what it sends.+ let shellRow = PadMappingRows.global(global)[1]+ #expect(PadMappingRows.button(of: shellRow) == "A" && PadMappingRows.output(of: shellRow, inherited: nil) == "B")+ }+ @Test func theCardGroupsEveryButtonOnce() {+ let grouped = PadMap.groups.flatMap(\.buttons)+ #expect(grouped.count == PadMap.buttons.count && Set(grouped) == Set(PadMap.buttons))+ }+ /// The texts were only in the string catalog, where the next run of tools/l10n_shell_catalogs.py would have dropped+ /// them. Now they are lines of frontend/l10n, and Chinese has every one.+ @Test func everyMappingTextIsInChinese() throws {+ // English here (the tests run in English, in parallel, so the shared capture bundle stays untouched), looked up in zh.+ let path = try #require(ShellStrings.bundle.path(forResource: "zh-Hans", ofType: "lproj"))+ let zh = try #require(Bundle(path: path))+ let english = PadMap.groups.map(\.title) + PadMap.buttons.map(PadMap.place)+ + ["Button mapping", "Swap A and B", "Same as all games", "Reset", "Changed", "Button test", "Hold B to close", "Close"]+ for text in english {+ let chinese = zh.localizedString(forKey: text, value: "", table: nil)+ #expect(chinese.unicodeScalars.contains { $0.value >= 0x4E00 }, "\(text): \(chinese)")+ }}}diff --git a/frontend-ios/Tests/ShellUITests/PadMappingCaptureTests.swift b/frontend-ios/Tests/ShellUITests/PadMappingCaptureTests.swiftnew file mode 100644index 00000000..22fb14d1--- /dev/null+++ b/frontend-ios/Tests/ShellUITests/PadMappingCaptureTests.swift@@ -0,0 +1,97 @@+#if os(macOS)+import AppKit+import SwiftUI+import XCTest+@testable import ShellUI++/// Visual QA of the button mapping (#494, #495), rendered on the Mac: the Controllers page with its two rows, the card for+/// all games and for one game, a button's options, a game's settings row and the button test. Set NX_SHELL_CAPTURE_DIR to+/// write the PNGs, NX_SHELL_CAPTURE_LANG (en, zh, de, ...) for the language.+@MainActor+final class PadMappingCaptureTests: XCTestCase {+ private var lang: String { ProcessInfo.processInfo.environment["NX_SHELL_CAPTURE_LANG"] ?? "en" }++ // The language is set before a test builds its rows, so every text of a capture is in it, whatever the Mac's language is.+ override func setUp() async throws {+ guard ProcessInfo.processInfo.environment["NX_SHELL_CAPTURE_DIR"] != nil else { throw XCTSkip("Set NX_SHELL_CAPTURE_DIR to capture the shell") }+ if let path = ShellStrings.bundle.path(forResource: lang == "zh" ? "zh-Hans" : lang, ofType: "lproj") {+ ShellStrings.captureBundle = Bundle(path: path)+ }+ }+ override func tearDown() async throws { ShellStrings.captureBundle = nil }++ private func capture<V: View>(_ name: String, width: CGFloat, height: CGFloat? = nil, _ view: V) throws {+ let dir = try XCTUnwrap(ProcessInfo.processInfo.environment["NX_SHELL_CAPTURE_DIR"])+ NSApplication.shared.setActivationPolicy(.accessory)+ let framed = view.frame(width: width).frame(height: height).background(ShellPalette.background).environment(\.colorScheme, .dark)+ let host = NSHostingView(rootView: framed)+ host.frame = NSRect(origin: .zero, size: host.fittingSize)+ let window = NSWindow(contentRect: NSRect(origin: NSPoint(x: -100_000, y: -100_000), size: host.frame.size),+ styleMask: [.borderless], backing: .buffered, defer: false)+ window.isReleasedWhenClosed = false+ window.contentView = host+ window.orderFront(nil)+ defer { window.orderOut(nil); window.contentView = nil }+ RunLoop.main.run(until: Date().addingTimeInterval(0.4))+ host.layoutSubtreeIfNeeded()+ let rep = try XCTUnwrap(host.bitmapImageRepForCachingDisplay(in: host.bounds))+ host.cacheDisplay(in: host.bounds, to: rep)+ let file = URL(fileURLWithPath: dir).appendingPathComponent("\(name)-\(lang).png")+ try XCTUnwrap(rep.representation(using: .png, properties: [:])).write(to: file)+ }++ /// All games swap A and B and turn X off.+ private var global: PadMap { PadMap(["A": "B", "B": "A", "X": "none"]) }++ /// A game's rows as the host gives them: this game keeps A and B where they are and puts ZR on ZL, the rest follows.+ private var gameRows: [SettingRow] {+ let own = ["A": "A", "B": "B", "ZR": "ZL"]+ let follow = SettingOption("follow", ShellStrings.text("Same as all games"))+ let swap = SettingRow(id: "pad.swapAB", label: ShellStrings.text("Swap A and B"),+ kind: .choice([follow, SettingOption("on", ShellStrings.text("On")), SettingOption("off", ShellStrings.text("Off"))]),+ value: "off")+ return [swap] + PadMap.buttons.map { button in+ SettingRow(id: "pad.\(button)", label: PadMap.label(button), kind: .choice([follow] + PadMap.options),+ value: own[button] ?? "follow", fromShell: own[button] == nil)+ }+ }++ private func card(_ title: String, rows: [SettingRow], inherited: PadMap?, open: String? = nil) -> some View {+ PadMappingCard(title: title, rows: rows, inherited: inherited, openRow: open, open: { _ in }, pick: { _, _ in },+ backToList: {}, reset: {}, close: {})+ .padding(16)+ .background(Color.black.opacity(0.55))+ }++ func testCaptureTheControllersPage() throws {+ let pads = [ControllerInfo(id: "1", name: "Xbox Wireless Controller", player: "Player 1", batteryPercent: 80)]+ try capture("pad-controllers", width: 402, height: 820, ControllersView(controllers: pads, padMap: global))+ }++ func testCaptureTheCardForAllGames() throws {+ try capture("pad-card-all", width: 512, card(ShellStrings.text("All games"), rows: PadMappingRows.global(global), inherited: nil))+ try capture("pad-card-all-default", width: 512, card(ShellStrings.text("All games"), rows: PadMappingRows.global(PadMap()), inherited: nil))+ try capture("pad-card-all-options", width: 512, card(ShellStrings.text("All games"), rows: PadMappingRows.global(global),+ inherited: nil, open: "X"))+ }++ func testCaptureTheCardOfAGame() throws {+ try capture("pad-card-game", width: 512, card("Hades II", rows: gameRows, inherited: global))+ try capture("pad-card-game-options", width: 512, card("Hades II", rows: gameRows, inherited: global, open: "pad.Y"))+ // A phone: the card at the width an iPhone gives it.+ try capture("pad-card-game-phone", width: 393, card("Hades II", rows: gameRows, inherited: global))+ }++ func testCaptureAGamesSettingsRow() throws {+ let detail = GameDetail(game: GameTile(id: "0100535012974000", title: "Hades II"),+ sections: [SettingSection(id: "pad", title: ShellStrings.text("Controller"), rows: gameRows)])+ try capture("pad-settings-row", width: 402, GameDetailView(detail: detail, showsPrimaryAction: false, showsHeader: false).padding(24))+ }++ func testCaptureTheButtonTest() throws {+ let held = PadSnapshot(name: "Xbox Wireless Controller", pressed: [.a, .leftBumper, .up], leftStick: CGPoint(x: 0.6, y: 0.5),+ rightTrigger: 0.7)+ try capture("pad-test", width: 700, ButtonTestView(snapshot: held, close: {}).padding(16).background(Color.black.opacity(0.7)))+ }+}+#endifdiff --git a/frontend/l10n/de.json b/frontend/l10n/de.jsonindex 95a8fce3..ca3eb220 100644--- a/frontend/l10n/de.json+++ b/frontend/l10n/de.json@@ -591,8 +591,13 @@"free.title": "Speicherplatz freigeben","install.reveal": "Im Finder zeigen","ios.host.deleteFailed": "Einige Dateien von %@ konnten nicht gelöscht werden.",+ "ios.host.padOff": "Aus",+ "ios.host.padOn": "An",+ "ios.host.padSameAsAllGames": "Wie alle Spiele",+ "ios.host.padSwapAB": "A und B tauschen","ios.setting.DM_PSO_MTL4.note": "Behält ein Pipeline-Archiv und braucht mehr Speicher.","ios.ui.cancel": "Abbrechen",+ "ios.ui.close": "Schließen","ios.ui.deleteGame": "Spiel löschen","ios.ui.deleteGameAndSaves": "Spiel und Spielstände löschen","ios.ui.deleteGameEllipsis": "Spiel löschen …",@@ -602,6 +607,59 @@"ios.ui.deleteSaves": "Auch Spielstände löschen","ios.ui.deleteSavesOff": "Spielstände bleiben, außer du löschst sie ausdrücklich mit.","ios.ui.deleteSavesOn": "Die Spielstände werden auch gelöscht und lassen sich nicht wiederherstellen.",+ "ios.ui.off": "Aus",+ "ios.ui.on": "An",+ "ios.ui.opensChoiceList": "Öffnet die Auswahlliste",+ "ios.ui.padAllGames": "Alle Spiele",+ "ios.ui.padBottomButton": "Untere Taste",+ "ios.ui.padButtonMapping": "Tastenbelegung",+ "ios.ui.padButtonTest": "Tastentest",+ "ios.ui.padButtons": "Tasten",+ "ios.ui.padChanged": "Geändert",+ "ios.ui.padCustom": "Eigene",+ "ios.ui.padDefault": "Standard",+ "ios.ui.padDown": "Unten",+ "ios.ui.padDpad": "Steuerkreuz",+ "ios.ui.padDpadDown": "Steuerkreuz unten",+ "ios.ui.padDpadLeft": "Steuerkreuz links",+ "ios.ui.padDpadRight": "Steuerkreuz rechts",+ "ios.ui.padDpadUp": "Steuerkreuz oben",+ "ios.ui.padEntryGame": "Tasten nur für dieses Spiel ändern.",+ "ios.ui.padEntryGlobal": "Was jede Taste in Spielen auslöst.",+ "ios.ui.padFaceButtons": "Aktionstasten",+ "ios.ui.padHoldBToClose": "B halten zum Schließen",+ "ios.ui.padLeft": "Links",+ "ios.ui.padLeftButton": "Linke Taste",+ "ios.ui.padLeftShoulder": "Linke Schultertaste",+ "ios.ui.padLeftStickPress": "Linken Stick drücken",+ "ios.ui.padLeftTrigger": "Linker Trigger",+ "ios.ui.padMoreButtons": "Weitere Tasten",+ "ios.ui.padNamedNote": "Benannt wie auf einem Switch-Controller, nach ihrer Lage.",+ "ios.ui.padNoButtonHeld": "Keine Taste gedrückt",+ "ios.ui.padNone": "Keine",+ "ios.ui.padNotSwapped": "A und B nicht getauscht",+ "ios.ui.padNoteGame": "Nur für dieses Spiel. Eine unveränderte Taste verhält sich wie in allen Spielen.",+ "ios.ui.padNoteGlobal": "Nur für Controller in Spielen. Die Menüs dieser App bestätigen weiter mit A und gehen mit B zurück.",+ "ios.ui.padOpensMapping": "Öffnet die Tastenbelegung",+ "ios.ui.padOpensTest": "Öffnet den Tastentest",+ "ios.ui.padPressAny": "Drücke eine Taste auf einem Controller",+ "ios.ui.padReset": "Zurücksetzen",+ "ios.ui.padResetGameHint": "Jede Taste verhält sich wieder wie in allen Spielen.",+ "ios.ui.padResetGlobalHint": "Jede Taste verhält sich wieder wie standardmäßig.",+ "ios.ui.padRight": "Rechts",+ "ios.ui.padRightButton": "Rechte Taste",+ "ios.ui.padRightShoulder": "Rechte Schultertaste",+ "ios.ui.padRightStickPress": "Rechten Stick drücken",+ "ios.ui.padRightTrigger": "Rechter Trigger",+ "ios.ui.padSameAsAllGames": "Wie alle Spiele",+ "ios.ui.padSendsInGames": "Löst in Spielen aus",+ "ios.ui.padShouldersTriggers": "Schultertasten und Trigger",+ "ios.ui.padSwapAB": "A und B tauschen",+ "ios.ui.padSwapNote": "Legt A auf die untere Taste, wo Xbox- und PlayStation-Controller bestätigen.",+ "ios.ui.padSwapped": "A und B getauscht",+ "ios.ui.padTestNote": "Jede Taste leuchtet auf, wenn du sie drückst.",+ "ios.ui.padTopButton": "Obere Taste",+ "ios.ui.padUp": "Oben","key.clear": "Löschen","key.code": "Taste %ld","key.delete": "Rückschritt",diff --git a/frontend/l10n/en.json b/frontend/l10n/en.jsonindex 5e2be2b3..c9710a99 100644--- a/frontend/l10n/en.json+++ b/frontend/l10n/en.json@@ -634,6 +634,11 @@"ios.host.notValidJson": "%@ is not valid JSON.","ios.host.ok": "OK","ios.host.oneAdditionalContentPack": "1 additional content pack",+ "ios.host.padController": "Controller",+ "ios.host.padOff": "Off",+ "ios.host.padOn": "On",+ "ios.host.padSameAsAllGames": "Same as all games",+ "ios.host.padSwapAB": "Swap A and B","ios.host.player": "Player %@","ios.host.rangeWithoutLimits": "%@ is a range without min, max and step.","ios.host.settingsDamaged": "Settings list damaged",@@ -659,6 +664,7 @@"ios.ui.chooseGameData": "Choose game data…","ios.ui.chooseGameDataHint": "Choose this game's data to get ready to play.","ios.ui.chooseSameCloudFolder": "Choose the same iCloud Drive folder you use on your Mac.",+ "ios.ui.close": "Close","ios.ui.closeControllers": "Close controllers","ios.ui.cloudFolderNote": "Games without a folder of their own save here. Choose the same iCloud Drive folder you use on your Mac.","ios.ui.cloudSaves": "Cloud saves",@@ -700,7 +706,61 @@"ios.ui.off": "Off","ios.ui.on": "On","ios.ui.onController": "On a controller",+ "ios.ui.opensChoiceList": "Opens the list of choices","ios.ui.overlayNote": "Used by games that have no choice of their own.",+ "ios.ui.padAllGames": "All games",+ "ios.ui.padBottomButton": "Bottom button",+ "ios.ui.padButtonMapping": "Button mapping",+ "ios.ui.padButtonTest": "Button test",+ "ios.ui.padButtons": "Buttons",+ "ios.ui.padChanged": "Changed",+ "ios.ui.padController": "Controller",+ "ios.ui.padCustom": "Custom",+ "ios.ui.padDefault": "Default",+ "ios.ui.padDown": "Down",+ "ios.ui.padDpad": "D-pad",+ "ios.ui.padDpadDown": "D-pad down",+ "ios.ui.padDpadLeft": "D-pad left",+ "ios.ui.padDpadRight": "D-pad right",+ "ios.ui.padDpadUp": "D-pad up",+ "ios.ui.padEntryGame": "Change buttons for this game only.",+ "ios.ui.padEntryGlobal": "What each button sends in games.",+ "ios.ui.padFaceButtons": "Face buttons",+ "ios.ui.padHoldBToClose": "Hold B to close",+ "ios.ui.padLeft": "Left",+ "ios.ui.padLeftButton": "Left button",+ "ios.ui.padLeftShoulder": "Left shoulder",+ "ios.ui.padLeftStickPress": "Left stick press",+ "ios.ui.padLeftTrigger": "Left trigger",+ "ios.ui.padMinus": "Minus",+ "ios.ui.padMoreButtons": "More buttons",+ "ios.ui.padNamedNote": "Named as on a Switch controller, by where they sit.",+ "ios.ui.padNoButtonHeld": "No button held",+ "ios.ui.padNone": "None",+ "ios.ui.padNotSwapped": "A and B not swapped",+ "ios.ui.padNoteGame": "For this game only. A button left alone does what it does in all games.",+ "ios.ui.padNoteGlobal": "For controllers in games only. This app’s menus keep A to confirm and B to go back.",+ "ios.ui.padOpensMapping": "Opens the button mapping",+ "ios.ui.padOpensTest": "Opens the button test",+ "ios.ui.padPlus": "Plus",+ "ios.ui.padPressAny": "Press any button on a controller",+ "ios.ui.padReset": "Reset",+ "ios.ui.padResetGameHint": "Every button does what it does in all games.",+ "ios.ui.padResetGlobalHint": "Every button does what it does by default.",+ "ios.ui.padRight": "Right",+ "ios.ui.padRightButton": "Right button",+ "ios.ui.padRightShoulder": "Right shoulder",+ "ios.ui.padRightStickPress": "Right stick press",+ "ios.ui.padRightTrigger": "Right trigger",+ "ios.ui.padSameAsAllGames": "Same as all games",+ "ios.ui.padSendsInGames": "Sends in games",+ "ios.ui.padShouldersTriggers": "Shoulders and triggers",+ "ios.ui.padSwapAB": "Swap A and B",+ "ios.ui.padSwapNote": "Puts A on the bottom button, where Xbox and PlayStation controllers confirm.",+ "ios.ui.padSwapped": "A and B swapped",+ "ios.ui.padTestNote": "See each button light up as you press it.",+ "ios.ui.padTopButton": "Top button",+ "ios.ui.padUp": "Up","ios.ui.performanceOverlay": "Performance overlay","ios.ui.play": "Play","ios.ui.played": "Played %@",diff --git a/frontend/l10n/fr.json b/frontend/l10n/fr.jsonindex 9415c6ae..4bdc6420 100644--- a/frontend/l10n/fr.json+++ b/frontend/l10n/fr.json@@ -590,8 +590,14 @@"free.title": "Libérer de l’espace","install.reveal": "Afficher dans le Finder","ios.host.deleteFailed": "Certains fichiers de %@ n’ont pas pu être supprimés.",+ "ios.host.padController": "Manette",+ "ios.host.padOff": "Désactivé",+ "ios.host.padOn": "Activé",+ "ios.host.padSameAsAllGames": "Comme tous les jeux",+ "ios.host.padSwapAB": "Inverser A et B","ios.setting.DM_PSO_MTL4.note": "Conserve une archive de pipelines et utilise plus de mémoire.","ios.ui.cancel": "Annuler",+ "ios.ui.close": "Fermer","ios.ui.deleteGame": "Supprimer le jeu","ios.ui.deleteGameAndSaves": "Supprimer le jeu et les sauvegardes","ios.ui.deleteGameEllipsis": "Supprimer le jeu…",@@ -601,6 +607,61 @@"ios.ui.deleteSaves": "Supprimer aussi les sauvegardes","ios.ui.deleteSavesOff": "Les sauvegardes restent, sauf si vous choisissez de les supprimer aussi.","ios.ui.deleteSavesOn": "Les sauvegardes sont aussi supprimées et ne peuvent pas être récupérées.",+ "ios.ui.off": "Désactivé",+ "ios.ui.on": "Activé",+ "ios.ui.opensChoiceList": "Ouvre la liste des choix",+ "ios.ui.padAllGames": "Tous les jeux",+ "ios.ui.padBottomButton": "Bouton du bas",+ "ios.ui.padButtonMapping": "Attribution des boutons",+ "ios.ui.padButtonTest": "Test des boutons",+ "ios.ui.padButtons": "Boutons",+ "ios.ui.padChanged": "Modifié",+ "ios.ui.padController": "Manette",+ "ios.ui.padCustom": "Personnalisé",+ "ios.ui.padDefault": "Par défaut",+ "ios.ui.padDown": "Bas",+ "ios.ui.padDpad": "Croix directionnelle",+ "ios.ui.padDpadDown": "Croix bas",+ "ios.ui.padDpadLeft": "Croix gauche",+ "ios.ui.padDpadRight": "Croix droite",+ "ios.ui.padDpadUp": "Croix haut",+ "ios.ui.padEntryGame": "Modifier les boutons pour ce jeu uniquement.",+ "ios.ui.padEntryGlobal": "Ce que chaque bouton envoie dans les jeux.",+ "ios.ui.padFaceButtons": "Boutons de façade",+ "ios.ui.padHoldBToClose": "Maintenir B pour fermer",+ "ios.ui.padLeft": "Gauche",+ "ios.ui.padLeftButton": "Bouton de gauche",+ "ios.ui.padLeftShoulder": "Épaule gauche",+ "ios.ui.padLeftStickPress": "Clic du stick gauche",+ "ios.ui.padLeftTrigger": "Gâchette gauche",+ "ios.ui.padMinus": "Moins",+ "ios.ui.padMoreButtons": "Autres boutons",+ "ios.ui.padNamedNote": "Nommés comme sur une manette Switch, selon leur position.",+ "ios.ui.padNoButtonHeld": "Aucun bouton maintenu",+ "ios.ui.padNone": "Aucun",+ "ios.ui.padNotSwapped": "A et B non inversés",+ "ios.ui.padNoteGame": "Pour ce jeu uniquement. Un bouton non modifié fait la même chose que dans tous les jeux.",+ "ios.ui.padNoteGlobal": "Seulement pour les manettes en jeu. Les menus de cette app gardent A pour valider et B pour revenir.",+ "ios.ui.padOpensMapping": "Ouvre l’attribution des boutons",+ "ios.ui.padOpensTest": "Ouvre le test des boutons",+ "ios.ui.padPressAny": "Appuyez sur un bouton d’une manette",+ "ios.ui.padReset": "Réinitialiser",+ "ios.ui.padResetGameHint": "Chaque bouton refait la même chose que dans tous les jeux.",+ "ios.ui.padResetGlobalHint": "Chaque bouton reprend son rôle par défaut.",+ "ios.ui.padRight": "Droite",+ "ios.ui.padRightButton": "Bouton de droite",+ "ios.ui.padRightShoulder": "Épaule droite",+ "ios.ui.padRightStickPress": "Clic du stick droit",+ "ios.ui.padRightTrigger": "Gâchette droite",+ "ios.ui.padSameAsAllGames": "Comme tous les jeux",+ "ios.ui.padSendsInGames": "Envoie dans les jeux",+ "ios.ui.padShouldersTriggers": "Épaules et gâchettes",+ "ios.ui.padSwapAB": "Inverser A et B",+ "ios.ui.padSwapNote": "Place A sur le bouton du bas, là où les manettes Xbox et PlayStation valident.",+ "ios.ui.padSwapped": "A et B inversés",+ "ios.ui.padTestNote": "Chaque bouton s’allume quand vous appuyez dessus.",+ "ios.ui.padTopButton": "Bouton du haut",+ "ios.ui.padUp": "Haut","key.clear": "Effacer","key.code": "Touche %ld","key.delete": "Supprimer",diff --git a/frontend/l10n/it.json b/frontend/l10n/it.jsonindex 22bf9f00..1de8d919 100644--- a/frontend/l10n/it.json+++ b/frontend/l10n/it.json@@ -590,8 +590,14 @@"free.title": "Libera spazio","install.reveal": "Mostra nel Finder","ios.host.deleteFailed": "Alcuni file di %@ non sono stati eliminati.",+ "ios.host.padController": "Controller",+ "ios.host.padOff": "Disattivato",+ "ios.host.padOn": "Attivato",+ "ios.host.padSameAsAllGames": "Come tutti i giochi",+ "ios.host.padSwapAB": "Scambia A e B","ios.setting.DM_PSO_MTL4.note": "Conserva un archivio delle pipeline e usa più memoria.","ios.ui.cancel": "Annulla",+ "ios.ui.close": "Chiudi","ios.ui.deleteGame": "Elimina gioco","ios.ui.deleteGameAndSaves": "Elimina gioco e salvataggi","ios.ui.deleteGameEllipsis": "Elimina gioco…",@@ -601,6 +607,62 @@"ios.ui.deleteSaves": "Elimina anche i salvataggi","ios.ui.deleteSavesOff": "I salvataggi restano, a meno che tu non scelga di eliminarli.","ios.ui.deleteSavesOn": "Anche i salvataggi vengono eliminati e non si possono recuperare.",+ "ios.ui.off": "Disattivato",+ "ios.ui.on": "Attivato",+ "ios.ui.opensChoiceList": "Apre l’elenco delle scelte",+ "ios.ui.padAllGames": "Tutti i giochi",+ "ios.ui.padBottomButton": "Tasto in basso",+ "ios.ui.padButtonMapping": "Mappatura tasti",+ "ios.ui.padButtonTest": "Test dei tasti",+ "ios.ui.padButtons": "Tasti",+ "ios.ui.padChanged": "Modificato",+ "ios.ui.padController": "Controller",+ "ios.ui.padCustom": "Personalizzata",+ "ios.ui.padDefault": "Predefinita",+ "ios.ui.padDown": "Giù",+ "ios.ui.padDpad": "Croce direzionale",+ "ios.ui.padDpadDown": "Croce giù",+ "ios.ui.padDpadLeft": "Croce sinistra",+ "ios.ui.padDpadRight": "Croce destra",+ "ios.ui.padDpadUp": "Croce su",+ "ios.ui.padEntryGame": "Cambia i tasti solo per questo gioco.",+ "ios.ui.padEntryGlobal": "Cosa invia ogni tasto nei giochi.",+ "ios.ui.padFaceButtons": "Tasti frontali",+ "ios.ui.padHoldBToClose": "Tieni premuto B per chiudere",+ "ios.ui.padLeft": "Sinistra",+ "ios.ui.padLeftButton": "Tasto a sinistra",+ "ios.ui.padLeftShoulder": "Dorsale sinistro",+ "ios.ui.padLeftStickPress": "Pressione levetta sinistra",+ "ios.ui.padLeftTrigger": "Grilletto sinistro",+ "ios.ui.padMinus": "Meno",+ "ios.ui.padMoreButtons": "Altri tasti",+ "ios.ui.padNamedNote": "Nomi come su un controller Switch, in base alla posizione.",+ "ios.ui.padNoButtonHeld": "Nessun tasto premuto",+ "ios.ui.padNone": "Nessuno",+ "ios.ui.padNotSwapped": "A e B non scambiati",+ "ios.ui.padNoteGame": "Solo per questo gioco. Un tasto non modificato fa ciò che fa in tutti i giochi.",+ "ios.ui.padNoteGlobal": "Solo per i controller nei giochi. I menu di questa app usano sempre A per confermare e B per tornare indietro.",+ "ios.ui.padOpensMapping": "Apre la mappatura tasti",+ "ios.ui.padOpensTest": "Apre il test dei tasti",+ "ios.ui.padPlus": "Più",+ "ios.ui.padPressAny": "Premi un tasto qualsiasi su un controller",+ "ios.ui.padReset": "Ripristina",+ "ios.ui.padResetGameHint": "Ogni tasto torna a fare ciò che fa in tutti i giochi.",+ "ios.ui.padResetGlobalHint": "Ogni tasto torna alla funzione predefinita.",+ "ios.ui.padRight": "Destra",+ "ios.ui.padRightButton": "Tasto a destra",+ "ios.ui.padRightShoulder": "Dorsale destro",+ "ios.ui.padRightStickPress": "Pressione levetta destra",+ "ios.ui.padRightTrigger": "Grilletto destro",+ "ios.ui.padSameAsAllGames": "Come tutti i giochi",+ "ios.ui.padSendsInGames": "Invia nei giochi",+ "ios.ui.padShouldersTriggers": "Dorsali e grilletti",+ "ios.ui.padSwapAB": "Scambia A e B",+ "ios.ui.padSwapNote": "Mette A sul tasto in basso, dove confermano i controller Xbox e PlayStation.",+ "ios.ui.padSwapped": "A e B scambiati",+ "ios.ui.padTestNote": "Ogni tasto si illumina quando lo premi.",+ "ios.ui.padTopButton": "Tasto in alto",+ "ios.ui.padUp": "Su","key.clear": "Cancella","key.code": "Tasto %ld","key.delete": "Elimina",diff --git a/frontend/l10n/sv.json b/frontend/l10n/sv.jsonindex 2de63c69..f85c6dcd 100644--- a/frontend/l10n/sv.json+++ b/frontend/l10n/sv.json@@ -432,8 +432,14 @@"free.title": "Frigör utrymme","install.reveal": "Visa i Finder","ios.host.deleteFailed": "Några filer för %@ kunde inte raderas.",+ "ios.host.padController": "Handkontroll",+ "ios.host.padOff": "Av",+ "ios.host.padOn": "På",+ "ios.host.padSameAsAllGames": "Som alla spel",+ "ios.host.padSwapAB": "Byt A och B","ios.setting.DM_PSO_MTL4.note": "Behåller ett pipelinearkiv och använder mer minne.","ios.ui.cancel": "Avbryt",+ "ios.ui.close": "Stäng","ios.ui.deleteGame": "Radera spelet","ios.ui.deleteGameAndSaves": "Radera spelet och sparfilerna","ios.ui.deleteGameEllipsis": "Radera spelet …",@@ -443,6 +449,62 @@"ios.ui.deleteSaves": "Radera även sparfiler","ios.ui.deleteSavesOff": "Sparfilerna ligger kvar om du inte väljer att radera dem också.","ios.ui.deleteSavesOn": "Sparfilerna raderas också och kan inte återställas.",+ "ios.ui.off": "Av",+ "ios.ui.on": "På",+ "ios.ui.opensChoiceList": "Öppnar listan med val",+ "ios.ui.padAllGames": "Alla spel",+ "ios.ui.padBottomButton": "Nedre knappen",+ "ios.ui.padButtonMapping": "Knapptilldelning",+ "ios.ui.padButtonTest": "Knapptest",+ "ios.ui.padButtons": "Knappar",+ "ios.ui.padChanged": "Ändrad",+ "ios.ui.padController": "Handkontroll",+ "ios.ui.padCustom": "Anpassad",+ "ios.ui.padDefault": "Standard",+ "ios.ui.padDown": "Ned",+ "ios.ui.padDpad": "Styrkors",+ "ios.ui.padDpadDown": "Styrkors ned",+ "ios.ui.padDpadLeft": "Styrkors vänster",+ "ios.ui.padDpadRight": "Styrkors höger",+ "ios.ui.padDpadUp": "Styrkors upp",+ "ios.ui.padEntryGame": "Ändra knappar bara för det här spelet.",+ "ios.ui.padEntryGlobal": "Vad varje knapp skickar i spel.",+ "ios.ui.padFaceButtons": "Handlingsknappar",+ "ios.ui.padHoldBToClose": "Håll B för att stänga",+ "ios.ui.padLeft": "Vänster",+ "ios.ui.padLeftButton": "Vänstra knappen",+ "ios.ui.padLeftShoulder": "Vänster axelknapp",+ "ios.ui.padLeftStickPress": "Tryck på vänster spak",+ "ios.ui.padLeftTrigger": "Vänster avtryckare",+ "ios.ui.padMinus": "Minus",+ "ios.ui.padMoreButtons": "Fler knappar",+ "ios.ui.padNamedNote": "Namngivna som på en Switch-handkontroll, efter var de sitter.",+ "ios.ui.padNoButtonHeld": "Ingen knapp nedtryckt",+ "ios.ui.padNone": "Ingen",+ "ios.ui.padNotSwapped": "A och B inte bytta",+ "ios.ui.padNoteGame": "Bara för det här spelet. En knapp du inte ändrar gör samma sak som i alla spel.",+ "ios.ui.padNoteGlobal": "Bara för handkontroller i spel. Appens menyer bekräftar fortfarande med A och går tillbaka med B.",+ "ios.ui.padOpensMapping": "Öppnar knapptilldelningen",+ "ios.ui.padOpensTest": "Öppnar knapptestet",+ "ios.ui.padPlus": "Plus",+ "ios.ui.padPressAny": "Tryck på valfri knapp på en handkontroll",+ "ios.ui.padReset": "Återställ",+ "ios.ui.padResetGameHint": "Varje knapp gör samma sak som i alla spel igen.",+ "ios.ui.padResetGlobalHint": "Varje knapp gör det den gör som standard igen.",+ "ios.ui.padRight": "Höger",+ "ios.ui.padRightButton": "Högra knappen",+ "ios.ui.padRightShoulder": "Höger axelknapp",+ "ios.ui.padRightStickPress": "Tryck på höger spak",+ "ios.ui.padRightTrigger": "Höger avtryckare",+ "ios.ui.padSameAsAllGames": "Som alla spel",+ "ios.ui.padSendsInGames": "Skickar i spel",+ "ios.ui.padShouldersTriggers": "Axelknappar och avtryckare",+ "ios.ui.padSwapAB": "Byt A och B",+ "ios.ui.padSwapNote": "Lägger A på den nedre knappen, där Xbox- och PlayStation-handkontroller bekräftar.",+ "ios.ui.padSwapped": "A och B bytta",+ "ios.ui.padTestNote": "Se varje knapp lysa upp när du trycker på den.",+ "ios.ui.padTopButton": "Övre knappen",+ "ios.ui.padUp": "Upp","key.clear": "Rensa","key.code": "Tangent %ld","key.delete": "Radera",diff --git a/frontend/l10n/zh.json b/frontend/l10n/zh.jsonindex 32fbdb37..dfa965d5 100644--- a/frontend/l10n/zh.json+++ b/frontend/l10n/zh.json@@ -635,6 +635,11 @@"ios.host.notValidJson": "%@ 不是有效的 JSON。","ios.host.ok": "好","ios.host.oneAdditionalContentPack": "1 个附加内容包",+ "ios.host.padController": "手柄",+ "ios.host.padOff": "关",+ "ios.host.padOn": "开",+ "ios.host.padSameAsAllGames": "与所有游戏相同",+ "ios.host.padSwapAB": "交换 A 和 B","ios.host.player": "玩家 %@","ios.host.rangeWithoutLimits": "%@ 是缺少 min、max、step 的范围项。","ios.host.settingsDamaged": "设置列表已损坏",@@ -660,6 +665,7 @@"ios.ui.chooseGameData": "选择游戏数据…","ios.ui.chooseGameDataHint": "选择此游戏的数据以开始游戏。","ios.ui.chooseSameCloudFolder": "选择与 Mac 上相同的 iCloud Drive 文件夹。",+ "ios.ui.close": "关闭","ios.ui.closeControllers": "关闭手柄列表","ios.ui.cloudFolderNote": "没有单独指定文件夹的游戏会把存档保存在这里。请选择与 Mac 相同的 iCloud Drive 文件夹。","ios.ui.cloudSaves": "云存档",@@ -701,7 +707,61 @@"ios.ui.off": "关","ios.ui.on": "开","ios.ui.onController": "在手柄上",+ "ios.ui.opensChoiceList": "打开选项列表","ios.ui.overlayNote": "游戏未单独设置时使用。",+ "ios.ui.padAllGames": "所有游戏",+ "ios.ui.padBottomButton": "下方按键",+ "ios.ui.padButtonMapping": "按键映射",+ "ios.ui.padButtonTest": "按键测试",+ "ios.ui.padButtons": "按键",+ "ios.ui.padChanged": "已更改",+ "ios.ui.padController": "手柄",+ "ios.ui.padCustom": "自定义",+ "ios.ui.padDefault": "默认",+ "ios.ui.padDown": "下",+ "ios.ui.padDpad": "十字键",+ "ios.ui.padDpadDown": "十字键下",+ "ios.ui.padDpadLeft": "十字键左",+ "ios.ui.padDpadRight": "十字键右",+ "ios.ui.padDpadUp": "十字键上",+ "ios.ui.padEntryGame": "仅为此游戏更改按键。",+ "ios.ui.padEntryGlobal": "每个按键在游戏中对应的键。",+ "ios.ui.padFaceButtons": "正面按键",+ "ios.ui.padHoldBToClose": "按住 B 关闭",+ "ios.ui.padLeft": "左",+ "ios.ui.padLeftButton": "左侧按键",+ "ios.ui.padLeftShoulder": "左肩键",+ "ios.ui.padLeftStickPress": "按下左摇杆",+ "ios.ui.padLeftTrigger": "左扳机键",+ "ios.ui.padMinus": "减号键",+ "ios.ui.padMoreButtons": "其他按键",+ "ios.ui.padNamedNote": "按 Switch 手柄上的位置命名。",+ "ios.ui.padNoButtonHeld": "没有按下按键",+ "ios.ui.padNone": "无",+ "ios.ui.padNotSwapped": "不交换 A 和 B",+ "ios.ui.padNoteGame": "仅对此游戏有效。未更改的按键与所有游戏相同。",+ "ios.ui.padNoteGlobal": "仅对游戏中的手柄有效。本应用的菜单仍用 A 确认、B 返回。",+ "ios.ui.padOpensMapping": "打开按键映射",+ "ios.ui.padOpensTest": "打开按键测试",+ "ios.ui.padPlus": "加号键",+ "ios.ui.padPressAny": "按下手柄上的任意按键",+ "ios.ui.padReset": "重置",+ "ios.ui.padResetGameHint": "所有按键恢复为与所有游戏相同。",+ "ios.ui.padResetGlobalHint": "所有按键恢复为默认。",+ "ios.ui.padRight": "右",+ "ios.ui.padRightButton": "右侧按键",+ "ios.ui.padRightShoulder": "右肩键",+ "ios.ui.padRightStickPress": "按下右摇杆",+ "ios.ui.padRightTrigger": "右扳机键",+ "ios.ui.padSameAsAllGames": "与所有游戏相同",+ "ios.ui.padSendsInGames": "在游戏中对应",+ "ios.ui.padShouldersTriggers": "肩键和扳机键",+ "ios.ui.padSwapAB": "交换 A 和 B",+ "ios.ui.padSwapNote": "把 A 放到下方按键,与 Xbox 和 PlayStation 手柄的确认键位置一致。",+ "ios.ui.padSwapped": "已交换 A 和 B",+ "ios.ui.padTestNote": "按下按键时,对应的位置会亮起。",+ "ios.ui.padTopButton": "上方按键",+ "ios.ui.padUp": "上","ios.ui.performanceOverlay": "性能浮层","ios.ui.play": "开始","ios.ui.played": "%@ 玩过",