internationalisation of nro not found message
This commit is contained in:
parent
2024ef81ef
commit
cea101e519
@ -132,6 +132,12 @@ const char* const g_strings[StrId_Max][17] =
|
|||||||
STR_ZH_HANT("開啓檔案失敗:\n%s"),
|
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] =
|
[StrId_NoAppsFound_Title] =
|
||||||
{
|
{
|
||||||
STR_EN("No applications found"),
|
STR_EN("No applications found"),
|
||||||
|
@ -11,6 +11,7 @@ typedef enum
|
|||||||
StrId_DefaultPublisher,
|
StrId_DefaultPublisher,
|
||||||
StrId_IOError,
|
StrId_IOError,
|
||||||
StrId_CouldNotOpenFile,
|
StrId_CouldNotOpenFile,
|
||||||
|
StrId_NroNotFound,
|
||||||
|
|
||||||
StrId_NoAppsFound_Title,
|
StrId_NoAppsFound_Title,
|
||||||
StrId_NoAppsFound_Msg,
|
StrId_NoAppsFound_Msg,
|
||||||
|
@ -72,7 +72,7 @@ static void launchFile(const char* path, argData_s* args)
|
|||||||
|
|
||||||
if (stat(path, &st) == -1) {
|
if (stat(path, &st) == -1) {
|
||||||
memset(msg, 0, sizeof(msg));
|
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);
|
menuCreateMsgBox(780, 300, msg);
|
||||||
menuScan(".");
|
menuScan(".");
|
||||||
|
Loading…
Reference in New Issue
Block a user