Remove CLI arguments from tooltips

This commit is contained in:
Mathieu Comandon 2023-08-27 12:26:42 -07:00
parent 5455b54def
commit 9e604ec008

View file

@ -158,7 +158,7 @@ system_options = [ # pylint: disable=invalid-name
"default": False,
"condition": bool(system.find_executable("gamescope")),
"help": _("Always use relative mouse mode instead of flipping\n"
"dependent on cursor visibility (--force-grab-cursor).\n"
"dependent on cursor visibility.\n"
"(Since gamescope git commit 054458f, Jan 12, 2023)"),
},
{
@ -169,7 +169,7 @@ system_options = [ # pylint: disable=invalid-name
"choices": DISPLAY_MANAGER.get_resolutions,
"advanced": True,
"condition": bool(system.find_executable("gamescope")),
"help": _("Set the resolution used by gamescope (-W, -H).\n"
"help": _("Set the resolution used by gamescope.\n"
"Resizing the gamescope window will update these settings.\n"
"\n"
"<b>Empty string:</b> Disabled\n"
@ -183,7 +183,7 @@ system_options = [ # pylint: disable=invalid-name
"advanced": True,
"choices": DISPLAY_MANAGER.get_resolutions,
"condition": bool(system.find_executable("gamescope")),
"help": _("Set the maximum resolution used by the game (-w, -h).\n"
"help": _("Set the maximum resolution used by the game.\n"
"\n"
"<b>Empty string:</b> Disabled\n"
"<b>Custom Resolutions:</b> (width)x(height)"),
@ -202,7 +202,7 @@ system_options = [ # pylint: disable=invalid-name
"default": "-f",
"condition": bool(system.find_executable("gamescope")),
"help": _("Run gamescope in fullscreen, windowed or borderless mode\n"
"Toggle fullscreen (-f) : Super + F"),
"Toggle fullscreen : Super + F"),
},
{
"section": "Gamescope",
@ -211,7 +211,7 @@ system_options = [ # pylint: disable=invalid-name
"advanced": True,
"type": "string",
"condition": bool(system.find_executable("gamescope")),
"help": _("Use AMD FidelityFX™ Super Resolution 1.0 for upscaling (-U).\n"
"help": _("Use AMD FidelityFX™ Super Resolution 1.0 for upscaling.\n"
"Upscaler sharpness from 0 (max) to 20 (min).\n"
"\n"
"<b>Empty string:</b> Disabled"),
@ -223,7 +223,7 @@ system_options = [ # pylint: disable=invalid-name
"advanced": True,
"type": "string",
"condition": bool(system.find_executable("gamescope")),
"help": _("Set a frame-rate limit for gamescope specified in frames per second (-r).\n"
"help": _("Set a frame-rate limit for gamescope specified in frames per second.\n"
"\n"
"<b>Empty string:</b> Disabled"),
},