internationalisation of nro not found message

This commit is contained in:
flb 2021-01-30 17:40:35 +01:00
parent 2024ef81ef
commit cea101e519
3 changed files with 8 additions and 1 deletions

View File

@ -132,6 +132,12 @@ const char* const g_strings[StrId_Max][17] =
STR_ZH_HANT("開啓檔案失敗:\n%s"),
},
[StrId_NroNotFound] =
{
STR_EN("Could not find executable: %s"),
STR_FR("Impossible trouver l'exécutable : %s"),
},
[StrId_NoAppsFound_Title] =
{
STR_EN("No applications found"),

View File

@ -11,6 +11,7 @@ typedef enum
StrId_DefaultPublisher,
StrId_IOError,
StrId_CouldNotOpenFile,
StrId_NroNotFound,
StrId_NoAppsFound_Title,
StrId_NoAppsFound_Msg,

View File

@ -72,7 +72,7 @@ static void launchFile(const char* path, argData_s* args)
if (stat(path, &st) == -1) {
memset(msg, 0, sizeof(msg));
snprintf(msg, sizeof(msg)-1, "Couldn't find executable: %s", path);
snprintf(msg, sizeof(msg)-1, textGetString(StrId_NroNotFound), path);
menuCreateMsgBox(780, 300, msg);
menuScan(".");