diff options
| author | 2024-02-06 16:42:57 +0100 | |
|---|---|---|
| committer | 2024-02-06 16:42:57 +0100 | |
| commit | 2c357c929c36b518e21312f6ee355eb25af95178 (patch) | |
| tree | 3f4e4dacd54bf736b26e2e3d14febe5e30873bdf | |
| parent | shared_translation: Add tooltips for core and graphics settings (diff) | |
| download | yuzu-2c357c929c36b518e21312f6ee355eb25af95178.tar.gz yuzu-2c357c929c36b518e21312f6ee355eb25af95178.tar.xz yuzu-2c357c929c36b518e21312f6ee355eb25af95178.zip | |
shared_translation: Add tooltips for advanced graphics and system settings
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 64 |
1 files changed, 40 insertions, 24 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index f7050a4b0..62a0baa05 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp | |||
| @@ -115,21 +115,22 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 115 | tr("The anti-aliasing method to use.\nSMAA offers the best quality.\nFXAA has a " | 115 | tr("The anti-aliasing method to use.\nSMAA offers the best quality.\nFXAA has a " |
| 116 | "lower performance impact and can produce a better and more stable picture under " | 116 | "lower performance impact and can produce a better and more stable picture under " |
| 117 | "very low resolutions.")); | 117 | "very low resolutions.")); |
| 118 | INSERT( | 118 | INSERT(Settings, fullscreen_mode, tr("Fullscreen Mode:"), |
| 119 | Settings, fullscreen_mode, tr("Fullscreen Mode:"), | 119 | tr("The method used to render the window in fullscreen.\nBorderless offers the best " |
| 120 | tr("The method used to render the window in fullscreen.\nBorderless offers the best " | 120 | "compatibility with the on-screen keyboard that some games request for " |
| 121 | "compatibility with the on-screen keyboard that some games request for input.\nExclusive " | 121 | "input.\nExclusive " |
| 122 | "fullscreen may offer better performance and better Freesync/Gsync support.")); | 122 | "fullscreen may offer better performance and better Freesync/Gsync support.")); |
| 123 | INSERT(Settings, aspect_ratio, tr("Aspect Ratio:"), | 123 | INSERT(Settings, aspect_ratio, tr("Aspect Ratio:"), |
| 124 | tr("Stretches the game to fit the specified aspect ratio.\nSwitch games only support " | 124 | tr("Stretches the game to fit the specified aspect ratio.\nSwitch games only support " |
| 125 | "16:9, so custom game mods are required to get other ratios.\nAlso controls the " | 125 | "16:9, so custom game mods are required to get other ratios.\nAlso controls the " |
| 126 | "aspect ratio of captured screenshots.")); | 126 | "aspect ratio of captured screenshots.")); |
| 127 | INSERT(Settings, use_disk_shader_cache, tr("Use disk pipeline cache"), | ||
| 128 | tr("Allows saving shaders to storage for faster loading on following game " | ||
| 129 | "boots.\nDisabling " | ||
| 130 | "it is only intended for debugging.")); | ||
| 127 | INSERT( | 131 | INSERT( |
| 128 | Settings, use_disk_shader_cache, tr("Use disk pipeline cache"), | 132 | Settings, use_asynchronous_gpu_emulation, tr("Use asynchronous GPU emulation"), |
| 129 | tr("Allows saving shaders to storage for faster loading on following game boots.\nDisabling " | 133 | tr("Uses an extra CPU thread for rendering.\nThis option should always remain enabled.")); |
| 130 | "it is only intended for debugging.")); | ||
| 131 | INSERT(Settings, use_asynchronous_gpu_emulation, tr("Use asynchronous GPU emulation"), | ||
| 132 | tr("Uses an extra CPU thread for rendering.\nThis option should always remain enabled.")); | ||
| 133 | INSERT(Settings, nvdec_emulation, tr("NVDEC emulation:"), | 134 | INSERT(Settings, nvdec_emulation, tr("NVDEC emulation:"), |
| 134 | tr("Specifies how videos should be decoded.\nIt can either use the CPU or the GPU for " | 135 | tr("Specifies how videos should be decoded.\nIt can either use the CPU or the GPU for " |
| 135 | "decoding, or perform no decoding at all (black screen on videos).\n" | 136 | "decoding, or perform no decoding at all (black screen on videos).\n" |
| @@ -161,22 +162,29 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 161 | 162 | ||
| 162 | // Renderer (Advanced Graphics) | 163 | // Renderer (Advanced Graphics) |
| 163 | INSERT(Settings, async_presentation, tr("Enable asynchronous presentation (Vulkan only)"), | 164 | INSERT(Settings, async_presentation, tr("Enable asynchronous presentation (Vulkan only)"), |
| 164 | QStringLiteral()); | 165 | tr("Slightly improves performance by moving presentation to a separate CPU thread.")); |
| 165 | INSERT( | 166 | INSERT( |
| 166 | Settings, renderer_force_max_clock, tr("Force maximum clocks (Vulkan only)"), | 167 | Settings, renderer_force_max_clock, tr("Force maximum clocks (Vulkan only)"), |
| 167 | tr("Runs work in the background while waiting for graphics commands to keep the GPU from " | 168 | tr("Runs work in the background while waiting for graphics commands to keep the GPU from " |
| 168 | "lowering its clock speed.")); | 169 | "lowering its clock speed.")); |
| 169 | INSERT(Settings, max_anisotropy, tr("Anisotropic Filtering:"), QStringLiteral()); | 170 | INSERT(Settings, max_anisotropy, tr("Anisotropic Filtering:"), |
| 170 | INSERT(Settings, gpu_accuracy, tr("Accuracy Level:"), QStringLiteral()); | 171 | tr("Controls the quality of texture rendering at oblique angles.\nIt’s a light setting " |
| 171 | INSERT( | 172 | "and safe to set at 16x on most GPUs.")); |
| 172 | Settings, use_asynchronous_shaders, tr("Use asynchronous shader building (Hack)"), | 173 | INSERT(Settings, gpu_accuracy, tr("Accuracy Level:"), |
| 173 | tr("Enables asynchronous shader compilation, which may reduce shader stutter. This feature " | 174 | tr("GPU emulation accuracy.\nMost games render fine with Normal, but High is still " |
| 174 | "is experimental.")); | 175 | "required for some.\nParticles tend to only render correctly with High " |
| 176 | "accuracy.\nExtreme should only be used for debugging.\nThis option can " | ||
| 177 | "be changed while playing.\nSome games may require booting on high to render " | ||
| 178 | "properly.")); | ||
| 179 | INSERT(Settings, use_asynchronous_shaders, tr("Use asynchronous shader building (Hack)"), | ||
| 180 | tr("Enables asynchronous shader compilation, which may reduce shader stutter.\nThis " | ||
| 181 | "feature " | ||
| 182 | "is experimental.")); | ||
| 175 | INSERT(Settings, use_fast_gpu_time, tr("Use Fast GPU Time (Hack)"), | 183 | INSERT(Settings, use_fast_gpu_time, tr("Use Fast GPU Time (Hack)"), |
| 176 | tr("Enables Fast GPU Time. This option will force most games to run at their highest " | 184 | tr("Enables Fast GPU Time. This option will force most games to run at their highest " |
| 177 | "native resolution.")); | 185 | "native resolution.")); |
| 178 | INSERT(Settings, use_vulkan_driver_pipeline_cache, tr("Use Vulkan pipeline cache"), | 186 | INSERT(Settings, use_vulkan_driver_pipeline_cache, tr("Use Vulkan pipeline cache"), |
| 179 | tr("Enables GPU vendor-specific pipeline cache. This option can improve shader loading " | 187 | tr("Enables GPU vendor-specific pipeline cache.\nThis option can improve shader loading " |
| 180 | "time significantly in cases where the Vulkan driver does not store pipeline cache " | 188 | "time significantly in cases where the Vulkan driver does not store pipeline cache " |
| 181 | "files internally.")); | 189 | "files internally.")); |
| 182 | INSERT( | 190 | INSERT( |
| @@ -197,19 +205,27 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 197 | // Renderer (Debug) | 205 | // Renderer (Debug) |
| 198 | 206 | ||
| 199 | // System | 207 | // System |
| 200 | INSERT(Settings, rng_seed, tr("RNG Seed"), QStringLiteral()); | 208 | INSERT(Settings, rng_seed, tr("RNG Seed"), |
| 209 | tr("Controls the seed of the random number generator.\nMainly used for speedrunning " | ||
| 210 | "purposes.")); | ||
| 201 | INSERT(Settings, rng_seed_enabled, QStringLiteral(), QStringLiteral()); | 211 | INSERT(Settings, rng_seed_enabled, QStringLiteral(), QStringLiteral()); |
| 202 | INSERT(Settings, device_name, tr("Device Name"), QStringLiteral()); | 212 | INSERT(Settings, device_name, tr("Device Name"), tr("The name of the emulated Switch.")); |
| 203 | INSERT(Settings, custom_rtc, tr("Custom RTC Date:"), QStringLiteral()); | 213 | INSERT(Settings, custom_rtc, tr("Custom RTC Date:"), |
| 214 | tr("This option allows to change the emulated clock of the Switch.\n" | ||
| 215 | "Can be used to manipulate time in games.")); | ||
| 204 | INSERT(Settings, custom_rtc_enabled, QStringLiteral(), QStringLiteral()); | 216 | INSERT(Settings, custom_rtc_enabled, QStringLiteral(), QStringLiteral()); |
| 205 | INSERT(Settings, custom_rtc_offset, QStringLiteral(" "), | 217 | INSERT(Settings, custom_rtc_offset, QStringLiteral(" "), |
| 206 | QStringLiteral("The number of seconds from the current unix time")); | 218 | QStringLiteral("The number of seconds from the current unix time")); |
| 207 | INSERT(Settings, language_index, tr("Language:"), | 219 | INSERT(Settings, language_index, tr("Language:"), |
| 208 | tr("Note: this can be overridden when region setting is auto-select")); | 220 | tr("Note: this can be overridden when region setting is auto-select")); |
| 209 | INSERT(Settings, region_index, tr("Region:"), QStringLiteral()); | 221 | INSERT(Settings, region_index, tr("Region:"), tr("The region of the emulated Switch.")); |
| 210 | INSERT(Settings, time_zone_index, tr("Time Zone:"), QStringLiteral()); | 222 | INSERT(Settings, time_zone_index, tr("Time Zone:"), |
| 223 | tr("The time zone of the emulated Switch.")); | ||
| 211 | INSERT(Settings, sound_index, tr("Sound Output Mode:"), QStringLiteral()); | 224 | INSERT(Settings, sound_index, tr("Sound Output Mode:"), QStringLiteral()); |
| 212 | INSERT(Settings, use_docked_mode, tr("Console Mode:"), QStringLiteral()); | 225 | INSERT(Settings, use_docked_mode, tr("Console Mode:"), |
| 226 | tr("Selects if the console is emulated in Docked or Handheld mode.\nGames will change " | ||
| 227 | "their resolution, details and supported controllers and depending on this setting.\n" | ||
| 228 | "Setting to Handheld can help improve performance for low end systems.")); | ||
| 213 | INSERT(Settings, current_user, QStringLiteral(), QStringLiteral()); | 229 | INSERT(Settings, current_user, QStringLiteral(), QStringLiteral()); |
| 214 | 230 | ||
| 215 | // Controls | 231 | // Controls |