mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
QT: Use brackets for description arrays
This commit is contained in:
@ -273,70 +273,70 @@ void EnhancementsWidget::SaveSettings()
|
||||
|
||||
void EnhancementsWidget::AddDescriptions()
|
||||
{
|
||||
static const char* TR_INTERNAL_RESOLUTION_DESCRIPTION =
|
||||
static const char TR_INTERNAL_RESOLUTION_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Specifies the resolution used to render at. A high resolution greatly improves "
|
||||
"visual quality, but also greatly increases GPU load and can cause issues in "
|
||||
"certain games. Generally speaking, the lower the internal resolution is, the "
|
||||
"better your performance will be.\n\nIf unsure, select Native.");
|
||||
|
||||
static const char* TR_ANTIALIAS_DESCRIPTION =
|
||||
static const char TR_ANTIALIAS_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Reduces the amount of aliasing caused by rasterizing 3D graphics. This smooths "
|
||||
"out jagged edges on objects.\nIncreases GPU load and sometimes causes graphical "
|
||||
"issues. SSAA is significantly more demanding than MSAA, but provides top quality "
|
||||
"geometry anti-aliasing and also applies anti-aliasing to lighting, shader "
|
||||
"effects, and textures.\n\nIf unsure, select None.");
|
||||
|
||||
static const char* TR_ANISOTROPIC_FILTERING_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_ANISOTROPIC_FILTERING_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Enable anisotropic filtering.\nEnhances visual quality of textures that are at oblique "
|
||||
"viewing angles.\nMight cause issues in a small number of games.\n\nIf unsure, select 1x.");
|
||||
|
||||
static const char* TR_POSTPROCESSING_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_POSTPROCESSING_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Apply a post-processing effect after finishing a frame.\n\nIf unsure, select (off).");
|
||||
|
||||
static const char* TR_SCALED_EFB_COPY_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_SCALED_EFB_COPY_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Greatly increases quality of textures generated using render-to-texture "
|
||||
"effects.\nRaising the "
|
||||
"internal resolution will improve the effect of this setting.\nSlightly increases GPU "
|
||||
"load and "
|
||||
"causes relatively few graphical issues.\n\nIf unsure, leave this checked.");
|
||||
static const char* TR_PER_PIXEL_LIGHTING_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_PER_PIXEL_LIGHTING_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Calculates lighting of 3D objects per-pixel rather than per-vertex, smoothing out the "
|
||||
"appearance of lit polygons and making individual triangles less noticeable.\nRarely causes "
|
||||
"slowdowns or graphical issues.\n\nIf unsure, leave this unchecked.");
|
||||
static const char* TR_WIDESCREEN_HACK_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_WIDESCREEN_HACK_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Forces the game to output graphics for any aspect ratio.\nUse with \"Aspect Ratio\" set to "
|
||||
"\"Force 16:9\" to force 4:3-only games to run at 16:9.\nRarely produces good results and "
|
||||
"often partially breaks graphics and game UIs.\nUnnecessary (and detrimental) if using any "
|
||||
"AR/Gecko-code widescreen patches.\n\nIf unsure, leave this unchecked.");
|
||||
static const char* TR_REMOVE_FOG_DESCRIPTION =
|
||||
static const char TR_REMOVE_FOG_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Makes distant objects more visible by removing fog, thus increasing the overall "
|
||||
"detail.\nDisabling fog will break some games which rely on proper fog "
|
||||
"emulation.\n\nIf unsure, leave this unchecked.");
|
||||
static const char* TR_3D_MODE_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_3D_MODE_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Selects the stereoscopic 3D mode. Stereoscopy allows you to get a better feeling "
|
||||
"of depth if you have the necessary hardware.\nSide-by-Side and Top-and-Bottom are "
|
||||
"used by most 3D TVs.\nAnaglyph is used for Red-Cyan colored glasses.\nHDMI 3D is "
|
||||
"used when your monitor supports 3D display resolutions.\nHeavily decreases "
|
||||
"emulation speed and sometimes causes issues.\n\nIf unsure, select Off.");
|
||||
static const char* TR_3D_DEPTH_DESCRIPTION =
|
||||
static const char TR_3D_DEPTH_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Controls the separation distance between the virtual cameras.\nA higher value "
|
||||
"creates a stronger feeling of depth while a lower value is more comfortable.");
|
||||
static const char* TR_3D_CONVERGENCE_DESCRIPTION = QT_TR_NOOP(
|
||||
static const char TR_3D_CONVERGENCE_DESCRIPTION[] = QT_TR_NOOP(
|
||||
"Controls the distance of the convergence plane. This is the distance at which "
|
||||
"virtual objects will appear to be in front of the screen.\nA higher value creates "
|
||||
"stronger out-of-screen effects while a lower value is more comfortable.");
|
||||
static const char* TR_3D_SWAP_EYES_DESCRIPTION =
|
||||
static const char TR_3D_SWAP_EYES_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Swaps the left and right eye. Mostly useful if you want to view side-by-side "
|
||||
"cross-eyed.\n\nIf unsure, leave this unchecked.");
|
||||
static const char* TR_FORCE_24BIT_DESCRIPTION =
|
||||
static const char TR_FORCE_24BIT_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Forces the game to render the RGB color channels in 24-bit, thereby increasing "
|
||||
"quality by reducing color banding.\nIt has no impact on performance and causes "
|
||||
"few graphical issues.\n\n\nIf unsure, leave this checked.");
|
||||
static const char* TR_FORCE_TEXTURE_FILTERING_DESCRIPTION =
|
||||
static const char TR_FORCE_TEXTURE_FILTERING_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Filter all textures, including any that the game explicitly set as "
|
||||
"unfiltered.\nMay improve quality of certain textures in some games, but will "
|
||||
"cause issues in others.\n\nIf unsure, leave this unchecked.");
|
||||
static const char* TR_DISABLE_COPY_FILTER_DESCRIPTION =
|
||||
static const char TR_DISABLE_COPY_FILTER_DESCRIPTION[] =
|
||||
QT_TR_NOOP("Disables the blending of adjacent rows when copying the EFB. This is known in "
|
||||
"some games as \"deflickering\" or \"smoothing\". Disabling the filter has no "
|
||||
"effect on performance, but may result in a sharper image, and causes few "
|
||||
|
Reference in New Issue
Block a user