diff options
| author | 2024-02-06 22:11:34 +0100 | |
|---|---|---|
| committer | 2024-02-08 18:13:22 +0100 | |
| commit | 7cfb51e5e71c87bf8bfa7ab06c472b21e1a341a6 (patch) | |
| tree | 3643f3d331f7bb68425e99cc72f91be436786be1 /src | |
| parent | shared_translation: Add tooltips for advanced graphics and system settings (diff) | |
| download | yuzu-7cfb51e5e71c87bf8bfa7ab06c472b21e1a341a6.tar.gz yuzu-7cfb51e5e71c87bf8bfa7ab06c472b21e1a341a6.tar.xz yuzu-7cfb51e5e71c87bf8bfa7ab06c472b21e1a341a6.zip | |
shared_translation: Add tooltips for general settings
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index 62a0baa05..2f274c0e5 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp | |||
| @@ -45,21 +45,19 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 45 | Settings, memory_layout_mode, tr("Memory Layout"), | 45 | Settings, memory_layout_mode, tr("Memory Layout"), |
| 46 | tr("Increases the amount of emulated RAM from the stock 4GB of the retail Switch to the " | 46 | tr("Increases the amount of emulated RAM from the stock 4GB of the retail Switch to the " |
| 47 | "developer kit's 8/6GB.\nIt’s doesn’t improve stability or performance and is intended " | 47 | "developer kit's 8/6GB.\nIt’s doesn’t improve stability or performance and is intended " |
| 48 | "to let big texture mods fit in the “console's” RAM.\nEnabling it will increase RAM " | 48 | "to let big texture mods fit in emulated RAM.\nEnabling it will increase memory " |
| 49 | "use. It is not recommended to enable unless a specific game with a texture mod needs " | 49 | "use. It is not recommended to enable unless a specific game with a texture mod needs " |
| 50 | "it.\n" | 50 | "it.")); |
| 51 | "8GB is known to break Pokémon Scarlet/Violet.")); | ||
| 52 | INSERT(Settings, use_speed_limit, QStringLiteral(), QStringLiteral()); | 51 | INSERT(Settings, use_speed_limit, QStringLiteral(), QStringLiteral()); |
| 53 | INSERT( | 52 | INSERT(Settings, speed_limit, tr("Limit Speed Percent"), |
| 54 | Settings, speed_limit, tr("Limit Speed Percent"), | 53 | tr("Controls the game's maximum rendering speed, but it’s up to each game if it runs " |
| 55 | tr("Controls the game's running speed, but it’s up to each game if they will run faster or " | 54 | "faster or not.\n200% for a 30 FPS game is 60 FPS, and for a " |
| 56 | "not.\n200% for a 30 FPS game is 60 FPS, and for a " | 55 | "60 FPS game it will be 120 FPS.\nDisabling it means unlocking the framerate to the " |
| 57 | "60 FPS game it will be 120 FPS.\nDisabling it means unlocking the framerate to the " | 56 | "maximum your PC can reach.")); |
| 58 | "maximum your PC can reach.")); | ||
| 59 | 57 | ||
| 60 | // Cpu | 58 | // Cpu |
| 61 | INSERT(Settings, cpu_accuracy, tr("Accuracy:"), | 59 | INSERT(Settings, cpu_accuracy, tr("Accuracy:"), |
| 62 | tr("This setting controls the accuracy of the emulated CPU.\nDon't change this, unless " | 60 | tr("This setting controls the accuracy of the emulated CPU.\nDon't change this unless " |
| 63 | "you know what you are doing.")); | 61 | "you know what you are doing.")); |
| 64 | INSERT(Settings, cpu_backend, tr("Backend:"), QStringLiteral()); | 62 | INSERT(Settings, cpu_backend, tr("Backend:"), QStringLiteral()); |
| 65 | 63 | ||
| @@ -103,7 +101,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 103 | "performance and the best in rendering accuracy.\n" | 101 | "performance and the best in rendering accuracy.\n" |
| 104 | "GLASM is a deprecated NVIDIA-only backend that offers much better shader building " | 102 | "GLASM is a deprecated NVIDIA-only backend that offers much better shader building " |
| 105 | "performance at the cost of FPS and rendering accuracy.\n" | 103 | "performance at the cost of FPS and rendering accuracy.\n" |
| 106 | "SPIR-V is experimental, and no GPU driver makes a good implementation of it yet.")); | 104 | "SPIR-V compiles the fastest, but yields poor results on most GPU drivers.")); |
| 107 | INSERT(Settings, resolution_setup, tr("Resolution:"), | 105 | INSERT(Settings, resolution_setup, tr("Resolution:"), |
| 108 | tr("Forces the game to render at a different resolution.\nHigher resolutions require " | 106 | tr("Forces the game to render at a different resolution.\nHigher resolutions require " |
| 109 | "much more VRAM and bandwidth.\n" | 107 | "much more VRAM and bandwidth.\n" |
| @@ -141,12 +139,12 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 141 | "GPU: Use the GPU's compute shaders to decode ASTC textures, recommended for most " | 139 | "GPU: Use the GPU's compute shaders to decode ASTC textures, recommended for most " |
| 142 | "games and users.\n" | 140 | "games and users.\n" |
| 143 | "CPU Asynchronously: Use the CPU to decode ASTC textures as they arrive. Completely " | 141 | "CPU Asynchronously: Use the CPU to decode ASTC textures as they arrive. Completely " |
| 144 | "eliminates ASTC decoding stuttering at the cost of rendering issues, while the " | 142 | "eliminates ASTC decoding\nstuttering at the cost of rendering issues while the " |
| 145 | "texture is being decoded.")); | 143 | "texture is being decoded.")); |
| 146 | INSERT( | 144 | INSERT( |
| 147 | Settings, astc_recompression, tr("ASTC Recompression Method:"), | 145 | Settings, astc_recompression, tr("ASTC Recompression Method:"), |
| 148 | tr("Almost all desktop and laptop dedicated GPUs lack support for ASTC textures, forcing " | 146 | tr("Almost all desktop and laptop dedicated GPUs lack support for ASTC textures, forcing " |
| 149 | "the emulator to recompress to an intermediate format any card supports, RGBA8.\n" | 147 | "the emulator to decompress to an intermediate format any card supports, RGBA8.\n" |
| 150 | "This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but " | 148 | "This option recompresses RGBA8 to either the BC1 or BC3 format, saving VRAM but " |
| 151 | "negatively affecting image quality.")); | 149 | "negatively affecting image quality.")); |
| 152 | INSERT( | 150 | INSERT( |
| @@ -243,14 +241,19 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 243 | // Ui | 241 | // Ui |
| 244 | 242 | ||
| 245 | // Ui General | 243 | // Ui General |
| 246 | INSERT(UISettings, select_user_on_boot, tr("Prompt for user on game boot"), QStringLiteral()); | 244 | INSERT(UISettings, select_user_on_boot, tr("Prompt for user on game boot"), |
| 245 | tr("Ask to select a user profile on each boot, useful if multiple people use yuzu on " | ||
| 246 | "the same PC.")); | ||
| 247 | INSERT(UISettings, pause_when_in_background, tr("Pause emulation when in background"), | 247 | INSERT(UISettings, pause_when_in_background, tr("Pause emulation when in background"), |
| 248 | QStringLiteral()); | 248 | tr("This setting pauses yuzu when focusing other windows.")); |
| 249 | INSERT(UISettings, confirm_before_stopping, tr("Confirm before stopping emulation"), | 249 | INSERT(UISettings, confirm_before_stopping, tr("Confirm before stopping emulation"), |
| 250 | QStringLiteral()); | 250 | tr("This setting overrides game prompts asking to confirm stopping the game.\nEnabling " |
| 251 | INSERT(UISettings, hide_mouse, tr("Hide mouse on inactivity"), QStringLiteral()); | 251 | "it bypasses such prompts and directly exits the emulation.")); |
| 252 | INSERT(UISettings, hide_mouse, tr("Hide mouse on inactivity"), | ||
| 253 | tr("This setting hides the mouse after 2.5s of inactivity.")); | ||
| 252 | INSERT(UISettings, controller_applet_disabled, tr("Disable controller applet"), | 254 | INSERT(UISettings, controller_applet_disabled, tr("Disable controller applet"), |
| 253 | QStringLiteral()); | 255 | tr("Forcibly disables the use of the controller applet by guests.\nWhen a guest " |
| 256 | "attempts to open the controller applet, it is immediately closed.")); | ||
| 254 | 257 | ||
| 255 | // Linux | 258 | // Linux |
| 256 | INSERT(Settings, enable_gamemode, tr("Enable Gamemode"), QStringLiteral()); | 259 | INSERT(Settings, enable_gamemode, tr("Enable Gamemode"), QStringLiteral()); |