mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Localize message
This commit is contained in:
parent
479a8a6e64
commit
f2ee7c8f0b
13
retroarch.c
13
retroarch.c
@ -4490,9 +4490,16 @@ bool retroarch_apply_shader(enum rarch_shader_type type, const char *preset_path
|
|||||||
if (message)
|
if (message)
|
||||||
{
|
{
|
||||||
/* Display message */
|
/* Display message */
|
||||||
snprintf(msg, sizeof(msg),
|
if (preset_file)
|
||||||
preset_file ? "Shader: \"%s\"" : "Shader: %s",
|
snprintf(msg, sizeof(msg),
|
||||||
preset_file ? preset_file : "None");
|
"%s: \"%s\"",
|
||||||
|
msg_hash_to_str(MSG_SHADER),
|
||||||
|
preset_file);
|
||||||
|
else
|
||||||
|
snprintf(msg, sizeof(msg),
|
||||||
|
"%s: %s",
|
||||||
|
msg_hash_to_str(MSG_SHADER),
|
||||||
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NONE));
|
||||||
#ifdef HAVE_GFX_WIDGETS
|
#ifdef HAVE_GFX_WIDGETS
|
||||||
if (gfx_widgets_active())
|
if (gfx_widgets_active())
|
||||||
gfx_widget_set_message(msg);
|
gfx_widget_set_message(msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user