(Menu/intl) Add MENU_VALUE_PORT

This commit is contained in:
twinaphex 2015-06-25 07:23:19 +02:00
parent f1248eb690
commit e7bccd7fc1
4 changed files with 9 additions and 2 deletions

View File

@ -738,6 +738,8 @@ const char *menu_hash_to_str_nl(uint32_t hash)
return "TERUG";
case MENU_VALUE_DISABLED:
return "Uitgeschakeld";
case MENU_VALUE_PORT:
return "Poort";
default:
break;
}

View File

@ -1301,6 +1301,8 @@ const char *menu_hash_to_str_us(uint32_t hash)
return "Screen Resolution";
case MENU_VALUE_DISABLED:
return "Disabled";
case MENU_VALUE_PORT:
return "Port";
default:
break;
}

View File

@ -900,7 +900,7 @@ extern "C" {
#define MENU_VALUE_BACK 0x7c825df6U
#define MENU_VALUE_DISABLED 0xe326e01dU
#define MENU_VALUE_PORT 0x7c8ad52aU
const char *menu_hash_to_str_de(uint32_t hash);

View File

@ -3013,7 +3013,10 @@ static void get_string_representation_bind_device(void * data, char *s,
strlcpy(s, device_name, len);
else
snprintf(s, len,
"%s (port #%u)", menu_hash_to_str(MENU_VALUE_NOT_AVAILABLE), map);
"%s (%s #%u)",
menu_hash_to_str(MENU_VALUE_NOT_AVAILABLE),
menu_hash_to_str(MENU_VALUE_PORT),
map);
}
else
strlcpy(s, menu_hash_to_str(MENU_VALUE_DISABLED), len);