diff options
Diffstat (limited to 'Map')
3 files changed, 64 insertions, 45 deletions
diff --git a/Map/Localizable.xcstrings b/Map/Localizable.xcstrings index ffede54..8613b80 100644 --- a/Map/Localizable.xcstrings +++ b/Map/Localizable.xcstrings @@ -241,6 +241,17 @@ } } }, + "map_editor.stage_picker.help" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Select Stage Type (⌘Y)" + } + } + } + }, "map_editor.zoom_in" : { "extractionState" : "manual", "localizations" : { @@ -269,7 +280,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Anchor (95, 80)\nUsers (90, 20)\nWalking App (70, 20)\nWalking App Database (50, 60)\nUser Interface (80, 50)\nWeb Server (60, 30)\nCRM (30, 70)\n\nUsers -> Walking App\nUsers -> User Interface\nWalking App -> Walking App Database\nWalking App -> Web Server\nUser Interface -> Web Server\nWeb Server -> CRM\n\n[Note] (80, 5) Social walking app for everyone\n\n[Group] Client Side, Walking App, User Interface\n\n[Evolution] Walking App +5\n\n[Inertia] CRM" + "value" : "Anchor (95, 80)\nUsers (90, 20)\nWalking App (70, 20)\nWalking App Database (50, 60)\nUser Interface (80, 50)\nWeb Server (60, 30)\nCRM (30, 70)\n\nUsers -- Walking App\nUsers -- User Interface\nWalking App -- Walking App Database\nWalking App -- Web Server\nUser Interface -- Web Server\nWeb Server -- CRM\n\n[Note] (80, 5) Social walking app for everyone\n\n[Group] Client Side, Walking App, User Interface\n\n[Evolution] Walking App +5\n\n[Inertia] CRM" } } } @@ -340,6 +351,50 @@ } } }, + "preferences.appearance.style.dark" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Dark" + } + } + } + }, + "preferences.appearance.style.light" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Light" + } + } + } + }, + "preferences.appearance.style.system" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Match system" + } + } + } + }, + "preferences.appearance.title" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Appearance:" + } + } + } + }, "preferences.editor.editor_style.soft_wrap_lines" : { "localizations" : { "en" : { @@ -548,50 +603,6 @@ } } }, - "preferences.appearance.title" : { - "extractionState" : "manual", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Appearance:" - } - } - } - }, - "preferences.appearance.style.system" : { - "extractionState" : "manual", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Match system" - } - } - } - }, - "preferences.appearance.style.light" : { - "extractionState" : "manual", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Light" - } - } - } - }, - "preferences.appearance.style.dark" : { - "extractionState" : "manual", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Dark" - } - } - } - }, "preferences.general.preferences.title" : { "extractionState" : "manual", "localizations" : { diff --git a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift index 5983745..42edfb5 100644 --- a/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift +++ b/Map/Presentation/Base Components/EvolutionPicker/EvolutionPicker.swift @@ -53,10 +53,14 @@ struct EvolutionPicker: View { .foregroundColor(isShowingMenu ? .Theme.UI.background : .Theme.UI.foreground) } } + .help("map_editor.stage_picker.help") .padding(.horizontal, Dimensions.Spacing.regular) .padding(.vertical, Dimensions.Spacing.cozy) } ) + .keyboardShortcut( + "y", modifiers: EventModifiers([.command]) + ) .buttonStyle(.borderless) .background(isShowingMenu ? Color.Theme.UI.foreground : Color.clear) .cornerRadius(Dimensions.EvolutionPicker.radius) diff --git a/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift b/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift index 6d2f6c4..7d5ced2 100644 --- a/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift +++ b/Map/Presentation/Base Components/EvolutionPicker/GlassEvolutionPicker.swift @@ -50,10 +50,14 @@ struct GlassEvolutionPicker: View { .offset(CGSize(width: 0, height: Dimensions.EvolutionPicker.controlSpacing)) } } + .help("map_editor.stage_picker.help") .padding(.horizontal, Dimensions.Spacing.regular) .padding(.vertical, Dimensions.Spacing.cozy) } ) + .keyboardShortcut( + "y", modifiers: EventModifiers([.command]) + ) .buttonStyle(.glass) .buttonBorderShape(.capsule) .cornerRadius(Dimensions.EvolutionPicker.radius) |