From 6483b33ee141c0bbd0e81891fbe5d2768bd312d8 Mon Sep 17 00:00:00 2001 From: RedBlackAka <140876408+RedBlackAka@users.noreply.github.com> Date: Mon, 1 Sep 2025 02:43:54 +0200 Subject: [PATCH] Improve consistency of capitalization and colon usage in UI (#1306) * frontend: Improve consistency of capitalization and : usage in UI * Additional adjustments * Further adjustments --------- Co-authored-by: OpenSauce04 --- .../app/src/main/res/values/strings.xml | 12 ++++++------ src/audio_core/sink.h | 4 ++-- src/citra_qt/configuration/config.cpp | 2 +- src/citra_qt/configuration/configure_audio.ui | 2 +- src/citra_qt/configuration/configure_camera.ui | 14 +++++++------- .../configuration/configure_enhancements.ui | 12 ++++++------ .../configuration/configure_general.ui | 4 ++-- .../configuration/configure_graphics.ui | 18 +++++++++--------- src/citra_qt/configuration/configure_layout.ui | 4 ++-- .../configuration/configure_storage.ui | 4 ++-- src/citra_qt/configuration/configure_system.ui | 4 ++-- src/citra_qt/configuration/configure_ui.ui | 16 ++++++++-------- src/common/settings.h | 4 ++-- 13 files changed, 50 insertions(+), 50 deletions(-) diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index c79be56c8..9c6a6182c 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -238,20 +238,20 @@ Emits the fragment shader used to emulate PICA using SPIR-V instead of GLSL Disable SPIR-V Optimizer Disables the SPIR-V optimization pass, reducing stuttering considerably while barely affecting performance. - Enable asynchronous shader compilation + Enable Asynchronous Shader Compilation Compiles shaders in the background to reduce stuttering during gameplay. When enabled expect temporary graphical glitches Linear Filtering Enables linear filtering, which causes game visuals to appear smoother. Texture Filter Enhances the visuals of applications by applying a filter to textures. The supported filters are Anime4K Ultrafast, Bicubic, ScaleForce, xBRZ freescale, and MMPX. - Delay game render thread + Delay Game Render Thread Delay the game render thread when it submits data to the GPU. Helps with performance issues in the (very few) applications with dynamic framerates. Advanced Texture Sampling Overrides the sampling filter used by games. This can be useful in certain cases with poorly behaved games when upscaling. If unsure, set this to Game Controlled. Accurate Multiplication Uses more accurate multiplication in hardware shaders, which may fix some graphical bugs. When enabled, performance will be reduced. - Enable asynchronous GPU emulation + Enable Asynchronous GPU Emulation Uses a separate thread to emulate the GPU asynchronously. When enabled, performance will be improved. Limit Speed When enabled, emulation speed will be limited to a specified percentage of normal speed. If disabled, emulation speed will be uncapped and the turbo speed hotkey will not work. @@ -306,7 +306,7 @@ Volume Audio Stretching Stretches audio to reduce stuttering. When enabled, increases audio latency and slightly reduces performance. - Enable realtime audio + Enable Realtime Audio Scales audio playback speed to account for drops in emulation framerate. This means that audio will play at full speed even while the game framerate is low. May cause audio desync issues. Audio Input Device Sound Output Mode @@ -321,9 +321,9 @@ Synchronizes the game frame rate to the refresh rate of your device. Debug Renderer Log additional graphics related debug information. When enabled, game performance will be significantly reduced. - Flush log output on every message + Flush Log Output on Every Message Immediately commits the debug log to file. Use this if Azahar crashes and the log output is being cut. - Delay start with LLE modules + Delay Start With LLE Modules Delays the start of the app when LLE modules are enabled. Deterministic Async Operations Makes async operations deterministic for debugging. Enabling this may cause freezes. diff --git a/src/audio_core/sink.h b/src/audio_core/sink.h index 65b5a820c..73a10f567 100644 --- a/src/audio_core/sink.h +++ b/src/audio_core/sink.h @@ -1,4 +1,4 @@ -// Copyright 2016 Citra Emulator Project +// Copyright Citra Emulator Project / Azahar Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. @@ -9,7 +9,7 @@ namespace AudioCore { -constexpr char auto_device_name[] = "auto"; +constexpr char auto_device_name[] = "Auto"; /** * This class is an interface for an audio sink. An audio sink accepts samples in stereo signed diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp index 041085eec..0e7777911 100644 --- a/src/citra_qt/configuration/config.cpp +++ b/src/citra_qt/configuration/config.cpp @@ -371,7 +371,7 @@ void QtConfig::ReadControlValues() { const auto append_profile = [this, num_touch_from_button_maps] { Settings::InputProfile profile; profile.name = - ReadSetting(QStringLiteral("name"), QStringLiteral("default")).toString().toStdString(); + ReadSetting(QStringLiteral("name"), QStringLiteral("Default")).toString().toStdString(); for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) { std::string default_param = InputCommon::GenerateKeyboardParam(default_buttons[i]); profile.buttons[i] = ReadSetting(QString::fromUtf8(Settings::NativeButton::mapping[i]), diff --git a/src/citra_qt/configuration/configure_audio.ui b/src/citra_qt/configuration/configure_audio.ui index 5bf8e3b0b..2a34765be 100644 --- a/src/citra_qt/configuration/configure_audio.ui +++ b/src/citra_qt/configuration/configure_audio.ui @@ -35,7 +35,7 @@ - Emulation: + Emulation diff --git a/src/citra_qt/configuration/configure_camera.ui b/src/citra_qt/configuration/configure_camera.ui index 07977edd4..ce39fc9d1 100644 --- a/src/citra_qt/configuration/configure_camera.ui +++ b/src/citra_qt/configuration/configure_camera.ui @@ -28,7 +28,7 @@ Select the camera to configure - Camera to configure: + Camera to Configure @@ -59,7 +59,7 @@ Select the camera mode (single or double) - Camera mode: + Camera mode @@ -90,7 +90,7 @@ Select the position of camera to configure - Camera position: + Camera position @@ -130,7 +130,7 @@ Select where the image of the emulated camera comes from. It may be an image or a real camera. - Camera Image Source: + Camera Image Source @@ -166,7 +166,7 @@ QFrame::NoFrame - File: + File @@ -193,7 +193,7 @@ QFrame::NoFrame - Camera: + Camera @@ -234,7 +234,7 @@ QFrame::NoFrame - Flip: + Flip diff --git a/src/citra_qt/configuration/configure_enhancements.ui b/src/citra_qt/configuration/configure_enhancements.ui index b69676d02..f26943444 100644 --- a/src/citra_qt/configuration/configure_enhancements.ui +++ b/src/citra_qt/configuration/configure_enhancements.ui @@ -113,7 +113,7 @@ - Enable Linear Filtering + Enable linear filtering @@ -320,7 +320,7 @@ - Disable Right Eye Rendering + Disable right eye rendering <html><head/><body><p>Disable Right Eye Rendering</p><p>Disables rendering the right eye image when not using stereoscopic mode. Greatly improves performance in some applications, but can cause flickering in others.</p></body></html> @@ -342,7 +342,7 @@ <html><head/><body><p>Replace textures with PNG files.</p><p>Textures are loaded from load/textures/[Title ID]/.</p></body></html> - Use Custom Textures + Use custom textures @@ -352,7 +352,7 @@ <html><head/><body><p>Dump textures to PNG files.</p><p>Textures are dumped to dump/textures/[Title ID]/.</p></body></html> - Dump Textures + Dump textures @@ -362,7 +362,7 @@ <html><head/><body><p>Load all custom textures into memory on boot, instead of loading them when the application requires them.</p></body></html> - Preload Custom Textures + Preload custom textures @@ -372,7 +372,7 @@ <html><head/><body><p>Load custom textures asynchronously with background threads to reduce loading stutter</p></body></html> - Async Custom Texture Loading + Async custom texture loading diff --git a/src/citra_qt/configuration/configure_general.ui b/src/citra_qt/configuration/configure_general.ui index 741b898c3..a4fee730a 100644 --- a/src/citra_qt/configuration/configure_general.ui +++ b/src/citra_qt/configuration/configure_general.ui @@ -97,7 +97,7 @@ - Set emulation speed: + Set emulation speed @@ -105,7 +105,7 @@ - Emulation Speed: + Emulation Speed diff --git a/src/citra_qt/configuration/configure_graphics.ui b/src/citra_qt/configuration/configure_graphics.ui index fea3c523d..ec6a5392c 100644 --- a/src/citra_qt/configuration/configure_graphics.ui +++ b/src/citra_qt/configuration/configure_graphics.ui @@ -132,14 +132,14 @@ - SPIR-V Shader Generation + SPIR-V shader generation - Disable GLSL -> SPIR-V Optimizer + Disable GLSL -> SPIR-V optimizer <html><head/><body><p>Disables the SPIR-V optimization pass, reducing stuttering considerably while barely affecting performance.</p></body></html> @@ -176,7 +176,7 @@ <html><head/><body><p>Use the selected graphics API to accelerate shader emulation.</p><p>Requires a relatively powerful GPU for better performance.</p></body></html> - Enable Hardware Shader + Enable hardware shader @@ -201,7 +201,7 @@ <html><head/><body><p>Correctly handle all edge cases in multiplication operation in shaders. </p><p>Some applications requires this to be enabled for the hardware shader to render properly.</p><p>However this would reduce performance in most applications.</p></body></html> - Accurate Multiplication + Accurate multiplication @@ -217,7 +217,7 @@ <html><head/><body><p>Use the JIT engine instead of the interpreter for software shader emulation. </p><p>Enable this for better performance.</p></body></html> - Enable Shader JIT + Enable shader JIT @@ -227,7 +227,7 @@ <html><head/><body><p>Compile shaders using background threads to avoid shader compilation stutter. Expect temporary graphical glitches</p></body></html> - Enable Async Shader Compilation + Enable async shader compilation @@ -237,7 +237,7 @@ <html><head/><body><p>Perform presentation on separate threads. Improves performance when using Vulkan in most applications.</p></body></html> - Enable Async Presentation + Enable async presentation @@ -303,7 +303,7 @@ <html><head/><body><p>Reduce stuttering by storing and loading generated shaders to disk.</p></body></html> - Use Disk Shader Cache + Use disk shader cache @@ -349,7 +349,7 @@ - Delay application render thread: + Delay Application Render Thread <html><head/><body><p>Delays the emulated application render thread the specified amount of milliseconds every time it submits render commands to the GPU.</p><p>Adjust this feature in the (very few) dynamic framerate applications to fix performance issues.</p></body></html> diff --git a/src/citra_qt/configuration/configure_layout.ui b/src/citra_qt/configuration/configure_layout.ui index 128e146e3..e43dcbad3 100644 --- a/src/citra_qt/configuration/configure_layout.ui +++ b/src/citra_qt/configuration/configure_layout.ui @@ -132,14 +132,14 @@ - Swap Screens + Swap screens - Rotate Screens Upright + Rotate screens upright diff --git a/src/citra_qt/configuration/configure_storage.ui b/src/citra_qt/configuration/configure_storage.ui index 1c8358dbc..54827022c 100644 --- a/src/citra_qt/configuration/configure_storage.ui +++ b/src/citra_qt/configuration/configure_storage.ui @@ -27,7 +27,7 @@ - Use Virtual SD + Use virtual SD card @@ -42,7 +42,7 @@ - Use Custom Storage + Use custom storage location diff --git a/src/citra_qt/configuration/configure_system.ui b/src/citra_qt/configuration/configure_system.ui index 244fb3c5f..080ee139a 100644 --- a/src/citra_qt/configuration/configure_system.ui +++ b/src/citra_qt/configuration/configure_system.ui @@ -92,7 +92,7 @@ online features (if installed) - Region: + Region @@ -549,7 +549,7 @@ online features (if installed) - 3GX Plugin Loader: + 3GX Plugin Loader diff --git a/src/citra_qt/configuration/configure_ui.ui b/src/citra_qt/configuration/configure_ui.ui index f522a910e..f59bc171f 100644 --- a/src/citra_qt/configuration/configure_ui.ui +++ b/src/citra_qt/configuration/configure_ui.ui @@ -37,7 +37,7 @@ - Interface language: + Interface Language @@ -51,7 +51,7 @@ - Theme: + Theme @@ -78,7 +78,7 @@ - Icon Size: + Icon Size @@ -108,7 +108,7 @@ - Row 1 Text: + Row 1 Text @@ -148,7 +148,7 @@ - Row 2 Text: + Row 2 Text @@ -191,14 +191,14 @@ - Hide Titles without Icon + Hide titles without icon - Single Line Mode + Single line mode @@ -218,7 +218,7 @@ - Show Advanced Frame Time Info + Show advanced frame time info diff --git a/src/common/settings.h b/src/common/settings.h index 0bb947269..77061db16 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -585,9 +585,9 @@ struct Values { SwitchableSetting enable_realtime_audio{false, "enable_realtime_audio"}; SwitchableSetting volume{1.f, 0.f, 1.f, "volume"}; Setting output_type{AudioCore::SinkType::Auto, "output_type"}; - Setting output_device{"auto", "output_device"}; + Setting output_device{"Auto", "output_device"}; Setting input_type{AudioCore::InputType::Auto, "input_type"}; - Setting input_device{"auto", "input_device"}; + Setting input_device{"Auto", "input_device"}; // Camera std::array camera_name;