summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-21 22:03:46 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-22 22:07:53 +0200
commit6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3 (patch)
tree2cc53822e649a5a09b1b19c150406bdbd1909c91
parentgeneral: Convert use_docked_mode to an enumeration (diff)
downloadyuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar
yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.gz
yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.bz2
yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.lz
yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.xz
yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.zst
yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.zip
-rw-r--r--src/yuzu/configuration/shared_translation.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp
index 335810788..276bdbaba 100644
--- a/src/yuzu/configuration/shared_translation.cpp
+++ b/src/yuzu/configuration/shared_translation.cpp
@@ -135,7 +135,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
INSERT(Settings, region_index, "Region:", "");
INSERT(Settings, time_zone_index, "Time Zone:", "");
INSERT(Settings, sound_index, "Sound Output Mode:", "");
- INSERT(Settings, use_docked_mode, "", "");
+ INSERT(Settings, use_docked_mode, "Console Mode:", "");
INSERT(Settings, current_user, "", "");
// Controls
@@ -379,6 +379,9 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
PAIR(MemoryLayout, Memory_6Gb, "6GB DRAM (Unsafe)"),
PAIR(MemoryLayout, Memory_8Gb, "8GB DRAM (Unsafe)"),
}});
+ translations->insert(
+ {Settings::EnumMetadata<Settings::ConsoleMode>::Index(),
+ {PAIR(ConsoleMode, Docked, "Docked"), PAIR(ConsoleMode, Handheld, "Handheld")}});
#undef PAIR
#undef CTX_PAIR