Moved string for default-theme-name into language.c, and fixed language.c whitespace.
This commit is contained in:
parent
a9d7a47f2e
commit
69e11599f4
@ -336,7 +336,12 @@ const char* const g_strings[StrId_Max][16] =
|
||||
STR_KO("오류가 발생 했기 때문에 테마를 적용할 수 없습니다."),
|
||||
STR_TW("由于发生错误, 无法应用主题。"),
|
||||
},
|
||||
|
||||
|
||||
[StrId_DefaultThemeName] =
|
||||
{
|
||||
STR_EN("Default Theme"),
|
||||
},
|
||||
|
||||
/*[StrId_Reboot] =
|
||||
{
|
||||
STR_EN(
|
||||
|
@ -45,6 +45,7 @@ typedef enum
|
||||
|
||||
StrId_ThemeMenu,
|
||||
StrId_ThemeNotApplied,
|
||||
StrId_DefaultThemeName,
|
||||
|
||||
StrId_Max,
|
||||
} StrId;
|
||||
|
@ -209,7 +209,7 @@ int themeMenuScan(const char* target) {
|
||||
menuEntry_s* me = menuCreateEntry(ENTRY_TYPE_THEME);
|
||||
|
||||
if(me) {
|
||||
if(menuEntryLoad(me, "Default Theme", false))//Create Default theme Menu Entry
|
||||
if(menuEntryLoad(me, textGetString(StrId_DefaultThemeName), false))//Create Default theme Menu Entry
|
||||
menuAddEntryToFront(me);
|
||||
else
|
||||
menuDeleteEntry(me);
|
||||
|
Loading…
Reference in New Issue
Block a user