From 0dca1fbe12c637ccf04ac2853ac7476d41310932 Mon Sep 17 00:00:00 2001 From: Patrick Hovsepian Date: Tue, 30 May 2023 11:51:03 -0700 Subject: [PATCH] Add Context Menu Option to Run Application (#5154) --- src/Ryujinx.Ava/Assets/Locales/en_US.json | 7 ++++--- .../UI/Controls/ApplicationContextMenu.axaml | 3 +++ .../UI/Controls/ApplicationContextMenu.axaml.cs | 10 ++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/Ryujinx.Ava/Assets/Locales/en_US.json b/src/Ryujinx.Ava/Assets/Locales/en_US.json index a68f919758..8f4965e142 100644 --- a/src/Ryujinx.Ava/Assets/Locales/en_US.json +++ b/src/Ryujinx.Ava/Assets/Locales/en_US.json @@ -289,6 +289,7 @@ "ControllerSettingsSaveProfileToolTip": "Save Profile", "MenuBarFileToolsTakeScreenshot": "Take Screenshot", "MenuBarFileToolsHideUi": "Hide UI", + "GameListContextMenuRunApplication": "Run Application", "GameListContextMenuToggleFavorite": "Toggle Favorite", "GameListContextMenuToggleFavoriteToolTip": "Toggle Favorite status of Game", "SettingsTabGeneralTheme": "Theme", @@ -627,7 +628,7 @@ "Search": "Search", "UserProfilesRecoverLostAccounts": "Recover Lost Accounts", "Recover": "Recover", - "UserProfilesRecoverHeading" : "Saves were found for the following accounts", + "UserProfilesRecoverHeading": "Saves were found for the following accounts", "UserProfilesRecoverEmptyList": "No profiles to recover", "GraphicsAATooltip": "Applies anti-aliasing to the game render", "GraphicsAALabel": "Anti-Aliasing:", @@ -639,8 +640,8 @@ "SmaaMedium": "SMAA Medium", "SmaaHigh": "SMAA High", "SmaaUltra": "SMAA Ultra", - "UserEditorTitle" : "Edit User", - "UserEditorTitleCreate" : "Create User", + "UserEditorTitle": "Edit User", + "UserEditorTitleCreate": "Create User", "SettingsTabNetworkInterface": "Network Interface:", "NetworkInterfaceTooltip": "The network interface used for LAN features", "NetworkInterfaceDefault": "Default", diff --git a/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml b/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml index 35d5fe859a..29547f5fe7 100644 --- a/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml +++ b/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml @@ -3,6 +3,9 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:locale="clr-namespace:Ryujinx.Ava.Common.Locale"> +