Create more menu message string translations

This commit is contained in:
twinaphex 2016-06-27 07:28:07 +02:00
parent f017c64220
commit d6975325d9
3 changed files with 20 additions and 4 deletions

View File

@ -2001,6 +2001,14 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
return "Compiled against API";
case MSG_FAILED_TO_LOAD:
return "Failed to load";
case MENU_ENUM_LABEL_VALUE_RDB_ENTRY_EDGE_MAGAZINE_ISSUE:
return "Edge Magazine Issue";
case MENU_ENUM_LABEL_VALUE_RDB_ENTRY_BBFC_RATING:
return "BBFC Rating";
case MENU_ENUM_LABEL_VALUE_RDB_ENTRY_ESRB_RATING:
return "ESRB Rating";
case MENU_ENUM_LABEL_VALUE_RDB_ENTRY_CERO_RATING:
return "CERO Rating";
case MENU_ENUM_LABEL_VALUE_VIDEO_MAX_SWAPCHAIN_IMAGES:
return "Max swapchain images";
case MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT:

View File

@ -1947,7 +1947,8 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
}
if (db_info_entry->edge_magazine_issue)
{
if (create_string_list_rdb_entry_int("Edge Magazine Issue",
if (create_string_list_rdb_entry_int(
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RDB_ENTRY_EDGE_MAGAZINE_ISSUE),
msg_hash_to_str(MENU_ENUM_LABEL_RDB_ENTRY_EDGE_MAGAZINE_ISSUE),
db_info_entry->edge_magazine_issue,
info->path, info->list) == -1)
@ -1974,14 +1975,16 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
}
if (db_info_entry->bbfc_rating)
{
if (create_string_list_rdb_entry_string("BBFC Rating",
if (create_string_list_rdb_entry_string(
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RDB_ENTRY_BBFC_RATING),
msg_hash_to_str(MENU_ENUM_LABEL_RDB_ENTRY_BBFC_RATING),
db_info_entry->bbfc_rating, info->path, info->list) == -1)
goto error;
}
if (db_info_entry->esrb_rating)
{
if (create_string_list_rdb_entry_string("ESRB Rating",
if (create_string_list_rdb_entry_string(
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RDB_ENTRY_ESRB_RATING),
msg_hash_to_str(MENU_ENUM_LABEL_RDB_ENTRY_ESRB_RATING),
db_info_entry->esrb_rating, info->path, info->list) == -1)
goto error;
@ -2009,7 +2012,8 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
}
if (db_info_entry->cero_rating)
{
if (create_string_list_rdb_entry_string("CERO Rating",
if (create_string_list_rdb_entry_string(
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_RDB_ENTRY_CERO_RATING),
msg_hash_to_str(MENU_ENUM_LABEL_RDB_ENTRY_CERO_RATING),
db_info_entry->cero_rating, info->path, info->list) == -1)
goto error;

View File

@ -981,12 +981,16 @@ enum msg_hash_enums
MENU_ENUM_LABEL_RDB_ENTRY_DEVELOPER,
MENU_ENUM_LABEL_RDB_ENTRY_NAME,
MENU_ENUM_LABEL_RDB_ENTRY_PUBLISHER,
MENU_ENUM_LABEL_VALUE_RDB_ENTRY_ESRB_RATING,
MENU_ENUM_LABEL_RDB_ENTRY_ESRB_RATING,
MENU_ENUM_LABEL_VALUE_RDB_ENTRY_BBFC_RATING,
MENU_ENUM_LABEL_RDB_ENTRY_BBFC_RATING,
MENU_ENUM_LABEL_RDB_ENTRY_ELSPA_RATING,
MENU_ENUM_LABEL_RDB_ENTRY_PEGI_RATING,
MENU_ENUM_LABEL_VALUE_RDB_ENTRY_CERO_RATING,
MENU_ENUM_LABEL_RDB_ENTRY_CERO_RATING,
MENU_ENUM_LABEL_RDB_ENTRY_EDGE_MAGAZINE_RATING,
MENU_ENUM_LABEL_VALUE_RDB_ENTRY_EDGE_MAGAZINE_ISSUE,
MENU_ENUM_LABEL_RDB_ENTRY_EDGE_MAGAZINE_ISSUE,
MENU_ENUM_LABEL_RDB_ENTRY_EDGE_MAGAZINE_REVIEW,
MENU_ENUM_LABEL_RDB_ENTRY_FAMITSU_MAGAZINE_RATING,