Make "Input User %u Binds" translateable

This commit is contained in:
Jan Holthuis 2015-06-26 03:48:21 +02:00
parent f669c8a49c
commit 5657e50dd1
4 changed files with 7 additions and 1 deletions

View File

@ -812,6 +812,8 @@ const char *menu_hash_to_str_de(uint32_t hash)
return "Aufnahme-Einstellungen";
case MENU_LABEL_VALUE_NO_INFORMATION_AVAILABLE:
return "Keine Informationen verfügbar.";
case MENU_LABEL_VALUE_INPUT_USER_BINDS:
return "Spieler %u Tastenbelegung";
default:
break;
}

View File

@ -1366,6 +1366,8 @@ const char *menu_hash_to_str_us(uint32_t hash)
return "Recording Settings";
case MENU_LABEL_VALUE_NO_INFORMATION_AVAILABLE:
return "No information is available.";
case MENU_LABEL_VALUE_INPUT_USER_BINDS:
return "Input User %u Binds";
default:
break;
}

View File

@ -932,6 +932,8 @@ extern "C" {
#define MENU_LABEL_VALUE_NO_INFORMATION_AVAILABLE 0xbae2c7f6U
#define MENU_LABEL_VALUE_INPUT_USER_BINDS 0x75fda711U
const char *menu_hash_to_str_de(uint32_t hash);
int menu_hash_get_help_de(uint32_t hash, char *s, size_t len);

View File

@ -5925,7 +5925,7 @@ static bool setting_append_list_input_player_options(
snprintf(buffer[user], sizeof(buffer[user]),
"%s %u", menu_hash_to_str(MENU_VALUE_USER), user + 1);
snprintf(group_lbl[user], sizeof(group_lbl[user]),
"Input %s Binds", buffer[user]);
menu_hash_to_str(MENU_LABEL_VALUE_INPUT_USER_BINDS), user + 1);
START_GROUP(group_info, group_lbl[user], parent_group);