aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/configuration/shared_translation.cpp
diff options
context:
space:
mode:
authorlat9nq <[email protected]>2023-06-07 01:52:23 -0400
committerlat9nq <[email protected]>2023-07-21 10:56:54 -0400
commitd146dd9d123a999e40307a93403239b81b04bffc (patch)
tree6d338ad871fa37b47f00938773d5e27195325897 /src/yuzu/configuration/shared_translation.cpp
parent9e3c94bb3dd1a9065977930a985be43f6052044c (diff)
downloadyuzu-android-d146dd9d123a999e40307a93403239b81b04bffc.tar.gz
yuzu-android-d146dd9d123a999e40307a93403239b81b04bffc.zip
settings,general: Rename non-confirming enums
Diffstat (limited to 'src/yuzu/configuration/shared_translation.cpp')
-rw-r--r--src/yuzu/configuration/shared_translation.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp
index 5d4e29a08..4caa44e1b 100644
--- a/src/yuzu/configuration/shared_translation.cpp
+++ b/src/yuzu/configuration/shared_translation.cpp
@@ -177,9 +177,9 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
translations->insert(
{typeid(Settings::AstcDecodeMode),
{
- {static_cast<u32>(Settings::AstcDecodeMode::CPU), tr("CPU")},
- {static_cast<u32>(Settings::AstcDecodeMode::GPU), tr("GPU")},
- {static_cast<u32>(Settings::AstcDecodeMode::CPUAsynchronous), tr("CPU Asynchronous")},
+ {static_cast<u32>(Settings::AstcDecodeMode::Cpu), tr("CPU")},
+ {static_cast<u32>(Settings::AstcDecodeMode::Gpu), tr("GPU")},
+ {static_cast<u32>(Settings::AstcDecodeMode::CpuAsynchronous), tr("CPU Asynchronous")},
}});
translations->insert(
{typeid(Settings::AstcRecompression),
@@ -199,24 +199,24 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
}});
translations->insert({typeid(Settings::ShaderBackend),
{
- {static_cast<u32>(Settings::ShaderBackend::GLSL), tr("GLSL")},
- {static_cast<u32>(Settings::ShaderBackend::GLASM),
+ {static_cast<u32>(Settings::ShaderBackend::Glsl), tr("GLSL")},
+ {static_cast<u32>(Settings::ShaderBackend::Glasm),
tr("GLASM (Assembly Shaders, NVIDIA Only)")},
- {static_cast<u32>(Settings::ShaderBackend::SPIRV),
+ {static_cast<u32>(Settings::ShaderBackend::SpirV),
tr("SPIR-V (Experimental, Mesa Only)")},
}});
- translations->insert({typeid(Settings::GPUAccuracy),
+ translations->insert({typeid(Settings::GpuAccuracy),
{
- {static_cast<u32>(Settings::GPUAccuracy::Normal), tr("Normal")},
- {static_cast<u32>(Settings::GPUAccuracy::High), tr("High")},
- {static_cast<u32>(Settings::GPUAccuracy::Extreme), tr("Extreme")},
+ {static_cast<u32>(Settings::GpuAccuracy::Normal), tr("Normal")},
+ {static_cast<u32>(Settings::GpuAccuracy::High), tr("High")},
+ {static_cast<u32>(Settings::GpuAccuracy::Extreme), tr("Extreme")},
}});
- translations->insert({typeid(Settings::CPUAccuracy),
+ translations->insert({typeid(Settings::CpuAccuracy),
{
- {static_cast<u32>(Settings::CPUAccuracy::Auto), tr("Auto")},
- {static_cast<u32>(Settings::CPUAccuracy::Accurate), tr("Accurate")},
- {static_cast<u32>(Settings::CPUAccuracy::Unsafe), tr("Unsafe")},
- {static_cast<u32>(Settings::CPUAccuracy::Paranoid),
+ {static_cast<u32>(Settings::CpuAccuracy::Auto), tr("Auto")},
+ {static_cast<u32>(Settings::CpuAccuracy::Accurate), tr("Accurate")},
+ {static_cast<u32>(Settings::CpuAccuracy::Unsafe), tr("Unsafe")},
+ {static_cast<u32>(Settings::CpuAccuracy::Paranoid),
tr("Paranoid (disables most optimizations)")},
}});
translations->insert(
@@ -229,8 +229,8 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
{typeid(Settings::NvdecEmulation),
{
{static_cast<u32>(Settings::NvdecEmulation::Off), tr("No Video Output")},
- {static_cast<u32>(Settings::NvdecEmulation::CPU), tr("CPU Video Decoding")},
- {static_cast<u32>(Settings::NvdecEmulation::GPU), tr("GPU Video Decoding (Default)")},
+ {static_cast<u32>(Settings::NvdecEmulation::Cpu), tr("CPU Video Decoding")},
+ {static_cast<u32>(Settings::NvdecEmulation::Gpu), tr("GPU Video Decoding (Default)")},
}});
translations->insert(
{typeid(Settings::ResolutionSetup),
@@ -313,7 +313,7 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
translations->insert({typeid(Settings::Region),
{
{static_cast<u32>(Settings::Region::Japan), tr("Japan")},
- {static_cast<u32>(Settings::Region::USA), tr("USA")},
+ {static_cast<u32>(Settings::Region::Usa), tr("USA")},
{static_cast<u32>(Settings::Region::Europe), tr("Europe")},
{static_cast<u32>(Settings::Region::Australia), tr("Australia")},
{static_cast<u32>(Settings::Region::China), tr("China")},