AdvancedWidget: Fix strange text wrapping

This commit is contained in:
Pokechu22 2021-07-28 21:25:00 -07:00
parent b6d2938731
commit 6db519793a
1 changed files with 13 additions and 21 deletions

View File

@ -199,8 +199,7 @@ void AdvancedWidget::AddDescriptions()
"leave this unchecked.</dolphin_emphasis>"); "leave this unchecked.</dolphin_emphasis>");
static const char TR_TEXTURE_FORMAT_DESCRIPTION[] = static const char TR_TEXTURE_FORMAT_DESCRIPTION[] =
QT_TR_NOOP("Modifies textures to show the format they're encoded in.<br><br>May require " QT_TR_NOOP("Modifies textures to show the format they're encoded in.<br><br>May require "
"an emulation " "an emulation reset to apply.<br><br><dolphin_emphasis>If unsure, leave this "
"reset to apply.<br><br><dolphin_emphasis>If unsure, leave this "
"unchecked.</dolphin_emphasis>"); "unchecked.</dolphin_emphasis>");
static const char TR_VALIDATION_LAYER_DESCRIPTION[] = static const char TR_VALIDATION_LAYER_DESCRIPTION[] =
QT_TR_NOOP("Enables validation of API calls made by the video backend, which may assist in " QT_TR_NOOP("Enables validation of API calls made by the video backend, which may assist in "
@ -213,9 +212,8 @@ void AdvancedWidget::AddDescriptions()
static const char TR_DUMP_MIP_TEXTURE_DESCRIPTION[] = QT_TR_NOOP( static const char TR_DUMP_MIP_TEXTURE_DESCRIPTION[] = QT_TR_NOOP(
"Whether to dump mipmapped game textures to " "Whether to dump mipmapped game textures to "
"User/Dump/Textures/&lt;game_id&gt;/. This includes arbitrary mipmapped textures if " "User/Dump/Textures/&lt;game_id&gt;/. This includes arbitrary mipmapped textures if "
"'Arbitrary " "'Arbitrary Mipmap Detection' is enabled in Enhancements.<br><br>"
"Mipmap Detection' is enabled in Enhancements.<br><br><dolphin_emphasis>If unsure, leave " "<dolphin_emphasis>If unsure, leave this checked.</dolphin_emphasis>");
"this checked.</dolphin_emphasis>");
static const char TR_DUMP_BASE_TEXTURE_DESCRIPTION[] = QT_TR_NOOP( static const char TR_DUMP_BASE_TEXTURE_DESCRIPTION[] = QT_TR_NOOP(
"Whether to dump base game textures to " "Whether to dump base game textures to "
"User/Dump/Textures/&lt;game_id&gt;/. This includes arbitrary base textures if 'Arbitrary " "User/Dump/Textures/&lt;game_id&gt;/. This includes arbitrary base textures if 'Arbitrary "
@ -224,31 +222,26 @@ void AdvancedWidget::AddDescriptions()
static const char TR_LOAD_CUSTOM_TEXTURE_DESCRIPTION[] = static const char TR_LOAD_CUSTOM_TEXTURE_DESCRIPTION[] =
QT_TR_NOOP("Loads custom textures from User/Load/Textures/&lt;game_id&gt;/ and " QT_TR_NOOP("Loads custom textures from User/Load/Textures/&lt;game_id&gt;/ and "
"User/Load/DynamicInputTextures/&lt;game_id&gt;/.<br><br><dolphin_emphasis>If " "User/Load/DynamicInputTextures/&lt;game_id&gt;/.<br><br><dolphin_emphasis>If "
"unsure, leave this " "unsure, leave this unchecked.</dolphin_emphasis>");
"unchecked.</dolphin_emphasis>");
static const char TR_CACHE_CUSTOM_TEXTURE_DESCRIPTION[] = QT_TR_NOOP( static const char TR_CACHE_CUSTOM_TEXTURE_DESCRIPTION[] = QT_TR_NOOP(
"Caches custom textures to system RAM on startup.<br><br>This can require exponentially " "Caches custom textures to system RAM on startup.<br><br>This can require exponentially "
"more RAM but fixes possible stuttering.<br><br><dolphin_emphasis>If unsure, leave this " "more RAM but fixes possible stuttering.<br><br><dolphin_emphasis>If unsure, leave this "
"unchecked.</dolphin_emphasis>"); "unchecked.</dolphin_emphasis>");
static const char TR_DUMP_EFB_DESCRIPTION[] = static const char TR_DUMP_EFB_DESCRIPTION[] =
QT_TR_NOOP("Dumps the contents of EFB copies to User/Dump/Textures/.<br><br " QT_TR_NOOP("Dumps the contents of EFB copies to User/Dump/Textures/.<br><br>"
"/><dolphin_emphasis>If unsure, leave this " "<dolphin_emphasis>If unsure, leave this unchecked.</dolphin_emphasis>");
"unchecked.</dolphin_emphasis>");
static const char TR_DUMP_XFB_DESCRIPTION[] = static const char TR_DUMP_XFB_DESCRIPTION[] =
QT_TR_NOOP("Dumps the contents of XFB copies to User/Dump/Textures/.<br><br " QT_TR_NOOP("Dumps the contents of XFB copies to User/Dump/Textures/.<br><br>"
"/><dolphin_emphasis>If unsure, leave this " "<dolphin_emphasis>If unsure, leave this unchecked.</dolphin_emphasis>");
"unchecked.</dolphin_emphasis>");
static const char TR_DISABLE_VRAM_COPIES_DESCRIPTION[] = static const char TR_DISABLE_VRAM_COPIES_DESCRIPTION[] =
QT_TR_NOOP("Disables the VRAM copy of the EFB, forcing a round-trip to RAM. Inhibits all " QT_TR_NOOP("Disables the VRAM copy of the EFB, forcing a round-trip to RAM. Inhibits all "
"upscaling.<br><br><dolphin_emphasis>If unsure, leave this " "upscaling.<br><br><dolphin_emphasis>If unsure, leave this "
"unchecked.</dolphin_emphasis>"); "unchecked.</dolphin_emphasis>");
static const char TR_INTERNAL_RESOLUTION_FRAME_DUMPING_DESCRIPTION[] = QT_TR_NOOP( static const char TR_INTERNAL_RESOLUTION_FRAME_DUMPING_DESCRIPTION[] = QT_TR_NOOP(
"Creates frame dumps and screenshots at the internal resolution of the renderer, rather than " "Creates frame dumps and screenshots at the internal resolution of the renderer, rather than "
"the size of the window it is displayed within.<br><br>If the aspect ratio is " "the size of the window it is displayed within.<br><br>If the aspect ratio is widescreen, "
"widescreen, the " "the output image will be scaled horizontally to preserve the vertical resolution.<br><br>"
"output image will be scaled horizontally to preserve the vertical resolution.<br><br " "<dolphin_emphasis>If unsure, leave this unchecked.</dolphin_emphasis>");
"/><dolphin_emphasis>If "
"unsure, leave this unchecked.</dolphin_emphasis>");
#if defined(HAVE_FFMPEG) #if defined(HAVE_FFMPEG)
static const char TR_USE_FFV1_DESCRIPTION[] = static const char TR_USE_FFV1_DESCRIPTION[] =
QT_TR_NOOP("Encodes frame dumps using the FFV1 codec.<br><br><dolphin_emphasis>If " QT_TR_NOOP("Encodes frame dumps using the FFV1 codec.<br><br><dolphin_emphasis>If "
@ -264,9 +257,8 @@ void AdvancedWidget::AddDescriptions()
static const char TR_BACKEND_MULTITHREADING_DESCRIPTION[] = static const char TR_BACKEND_MULTITHREADING_DESCRIPTION[] =
QT_TR_NOOP("Enables multithreaded command submission in backends where supported. Enabling " QT_TR_NOOP("Enables multithreaded command submission in backends where supported. Enabling "
"this option may result in a performance improvement on systems with more than " "this option may result in a performance improvement on systems with more than "
"two CPU cores. Currently, this is limited to the Vulkan backend.<br><br " "two CPU cores. Currently, this is limited to the Vulkan backend.<br><br>"
"/><dolphin_emphasis>If unsure, " "<dolphin_emphasis>If unsure, leave this checked.</dolphin_emphasis>");
"leave this checked.</dolphin_emphasis>");
static const char TR_DEFER_EFB_ACCESS_INVALIDATION_DESCRIPTION[] = QT_TR_NOOP( static const char TR_DEFER_EFB_ACCESS_INVALIDATION_DESCRIPTION[] = QT_TR_NOOP(
"Defers invalidation of the EFB access cache until a GPU synchronization command " "Defers invalidation of the EFB access cache until a GPU synchronization command "
"is executed. If disabled, the cache will be invalidated with every draw call. " "is executed. If disabled, the cache will be invalidated with every draw call. "