diff options
| author | 2023-08-21 16:03:46 -0400 | |
|---|---|---|
| committer | 2023-08-22 16:07:53 -0400 | |
| commit | 6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3 (patch) | |
| tree | 2cc53822e649a5a09b1b19c150406bdbd1909c91 /src | |
| parent | general: Convert use_docked_mode to an enumeration (diff) | |
| download | yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.gz yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.tar.xz yuzu-6ed5b581f0ae8f335e5ee9f02a94919cd4b7e4a3.zip | |
shared_translation: Define use_docked_mode texts
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 5 |
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) { | |||
| 135 | INSERT(Settings, region_index, "Region:", ""); | 135 | INSERT(Settings, region_index, "Region:", ""); |
| 136 | INSERT(Settings, time_zone_index, "Time Zone:", ""); | 136 | INSERT(Settings, time_zone_index, "Time Zone:", ""); |
| 137 | INSERT(Settings, sound_index, "Sound Output Mode:", ""); | 137 | INSERT(Settings, sound_index, "Sound Output Mode:", ""); |
| 138 | INSERT(Settings, use_docked_mode, "", ""); | 138 | INSERT(Settings, use_docked_mode, "Console Mode:", ""); |
| 139 | INSERT(Settings, current_user, "", ""); | 139 | INSERT(Settings, current_user, "", ""); |
| 140 | 140 | ||
| 141 | // Controls | 141 | // Controls |
| @@ -379,6 +379,9 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) { | |||
| 379 | PAIR(MemoryLayout, Memory_6Gb, "6GB DRAM (Unsafe)"), | 379 | PAIR(MemoryLayout, Memory_6Gb, "6GB DRAM (Unsafe)"), |
| 380 | PAIR(MemoryLayout, Memory_8Gb, "8GB DRAM (Unsafe)"), | 380 | PAIR(MemoryLayout, Memory_8Gb, "8GB DRAM (Unsafe)"), |
| 381 | }}); | 381 | }}); |
| 382 | translations->insert( | ||
| 383 | {Settings::EnumMetadata<Settings::ConsoleMode>::Index(), | ||
| 384 | {PAIR(ConsoleMode, Docked, "Docked"), PAIR(ConsoleMode, Handheld, "Handheld")}}); | ||
| 382 | 385 | ||
| 383 | #undef PAIR | 386 | #undef PAIR |
| 384 | #undef CTX_PAIR | 387 | #undef CTX_PAIR |