summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/shared_translation.cpp
diff options
context:
space:
mode:
authorflodavid <fl.david.53@gmail.com>2023-07-25 22:31:39 +0200
committerflodavid <fl.david.53@gmail.com>2023-10-12 01:51:52 +0200
commita34565727b6eba66cf20d32f3ec2ad073f29f9e1 (patch)
tree9263279b90c2241c2f28d54051f95c05e3ec1f24 /src/yuzu/configuration/shared_translation.cpp
parentda6824d9fd35ab19e4a9c51d0139add9fe127c13 (diff)
yuzu: Enable to use controller to close a game
- Add General setting to choose if a confirm dialog is shown when stopping - Show the right confirm dialog if wanted - Reuse dialog window that ask to close the game - Add "L + Plus + Minus" default shortcut to Stop emulation - Create generic question dialog based on TAS dialog - It allows controller interaction on most dialogs
Diffstat (limited to 'src/yuzu/configuration/shared_translation.cpp')
-rw-r--r--src/yuzu/configuration/shared_translation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp
index a4e8af1b4..9e65525ca 100644
--- a/src/yuzu/configuration/shared_translation.cpp
+++ b/src/yuzu/configuration/shared_translation.cpp
@@ -157,6 +157,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
INSERT(UISettings, select_user_on_boot, "Prompt for user on game boot", "");
INSERT(UISettings, pause_when_in_background, "Pause emulation when in background", "");
INSERT(UISettings, confirm_before_closing, "Confirm exit while emulation is running", "");
+ INSERT(UISettings, confirm_before_stopping, "Confirm stopping emulation", "");
INSERT(UISettings, hide_mouse, "Hide mouse on inactivity", "");
INSERT(UISettings, controller_applet_disabled, "Disable controller applet", "");