mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Localize string
This commit is contained in:
parent
8ddacead9f
commit
40a4b395d7
@ -88,7 +88,11 @@ static int action_get_title_remap_port(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
char lbl[128];
|
||||
snprintf(lbl, sizeof(lbl), "Port %d Controls", atoi(path) + 1);
|
||||
snprintf(lbl, sizeof(lbl), "%s %d %s",
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PORT),
|
||||
atoi(path) + 1,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_INPUT_REMAPPING_OPTIONS)
|
||||
);
|
||||
sanitize_to_string(s, lbl, len);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user