From 5743c2946dd7d825a202b5832a7c55111eafe9ad Mon Sep 17 00:00:00 2001 From: fincs Date: Tue, 27 Feb 2018 22:06:01 +0100 Subject: [PATCH] Default app version needs not be localized (#17) --- common/language.c | 18 +----------------- common/language.h | 1 - common/menu-entry.c | 2 +- 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/common/language.c b/common/language.c index d218a99..b9d7740 100644 --- a/common/language.c +++ b/common/language.c @@ -1,4 +1,4 @@ -#include "language.h" +#include "language.h" #ifdef SWITCH #define STR_JP(_str) [SetLanguage_JA] = _str @@ -62,22 +62,6 @@ const char* const g_strings[StrId_Max][16] = STR_TW("資料夾"), }, - [StrId_DefaultVersion] = - { - STR_EN("1.0.0"), - STR_ES("1.0.0"), - STR_DE("1.0.0"), - STR_FR("1.0.0"), - STR_IT("1.0.0"), - STR_JP("1.0.0"), - STR_PT("1.0.0"), - STR_NL("1.0.0"), - STR_KO("1.0.0"), - STR_RU("1.0.0"), - STR_ZH("1.0.0"), - STR_TW("1.0.0"), - }, - /*[StrId_DefaultLongTitle] = { STR_EN("Homebrew application"), diff --git a/common/language.h b/common/language.h index 39bde66..f49474e 100644 --- a/common/language.h +++ b/common/language.h @@ -7,7 +7,6 @@ typedef enum { StrId_Loading = 0, StrId_Directory, - StrId_DefaultVersion, StrId_DefaultPublisher, StrId_IOError, StrId_CouldNotOpenFile, diff --git a/common/menu-entry.c b/common/menu-entry.c index 4ebe5da..cbdedaf 100644 --- a/common/menu-entry.c +++ b/common/menu-entry.c @@ -184,7 +184,7 @@ bool menuEntryLoad(menuEntry_s* me, const char* name, bool shortcut) { { strcpy(me->name, name); strcpy(me->author, textGetString(StrId_DefaultPublisher)); - strcpy(me->version, textGetString(StrId_DefaultVersion)); + strcpy(me->version, "1.0.0"); //shortcut_s sc;