mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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)
|
||||
{
|
||||
/* Display message */
|
||||
snprintf(msg, sizeof(msg),
|
||||
preset_file ? "Shader: \"%s\"" : "Shader: %s",
|
||||
preset_file ? preset_file : "None");
|
||||
if (preset_file)
|
||||
snprintf(msg, sizeof(msg),
|
||||
"%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
|
||||
if (gfx_widgets_active())
|
||||
gfx_widget_set_message(msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user