Add "Welcome to RetroArch" to translatable strings

This commit is contained in:
twinaphex 2015-07-17 15:25:58 +02:00
parent 4e64eac514
commit 673e2ba57d
3 changed files with 12 additions and 7 deletions

View File

@ -61,13 +61,8 @@ static int action_iterate_help(char *s, size_t len, const char *label)
timeout = (timeout_end - current) / 1000000;
snprintf(s, len,
"Welcome to RetroArch\n"
"\n"
"For further information, go to Help.\n"
" \n" /* strtok_r doesn't split empty strings. */
);
menu_hash_get_help(MENU_LABEL_WELCOME_TO_RETROARCH,
s, len);
if (!timer_end && timeout <= 0)
{

View File

@ -1492,6 +1492,14 @@ int menu_hash_get_help_us(uint32_t hash, char *s, size_t len)
switch (hash)
{
case MENU_LABEL_WELCOME_TO_RETROARCH:
snprintf(s, len,
"Welcome to RetroArch\n"
"\n"
"For further information, go to Help.\n"
" \n"
);
break;
case MENU_LABEL_INPUT_DRIVER:
driver_hash = menu_hash_calculate(settings->input.driver);

View File

@ -22,6 +22,8 @@
extern "C" {
#endif
#define MENU_LABEL_WELCOME_TO_RETROARCH 0xbcff0b3cU
#define MENU_LABEL_DEFERRED_ARCHIVE_ACTION_DETECT_CORE 0xdc9c0064U
#define MENU_LABEL_DEFERRED_ARCHIVE_ACTION 0x7faf0284U
#define MENU_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE 0xd9452498U