Moved string for default-theme-name into language.c, and fixed language.c whitespace.
This commit is contained in:
parent
a9d7a47f2e
commit
69e11599f4
@ -337,6 +337,11 @@ const char* const g_strings[StrId_Max][16] =
|
|||||||
STR_TW("由于发生错误, 无法应用主题。"),
|
STR_TW("由于发生错误, 无法应用主题。"),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
[StrId_DefaultThemeName] =
|
||||||
|
{
|
||||||
|
STR_EN("Default Theme"),
|
||||||
|
},
|
||||||
|
|
||||||
/*[StrId_Reboot] =
|
/*[StrId_Reboot] =
|
||||||
{
|
{
|
||||||
STR_EN(
|
STR_EN(
|
||||||
|
@ -45,6 +45,7 @@ typedef enum
|
|||||||
|
|
||||||
StrId_ThemeMenu,
|
StrId_ThemeMenu,
|
||||||
StrId_ThemeNotApplied,
|
StrId_ThemeNotApplied,
|
||||||
|
StrId_DefaultThemeName,
|
||||||
|
|
||||||
StrId_Max,
|
StrId_Max,
|
||||||
} StrId;
|
} StrId;
|
||||||
|
@ -209,7 +209,7 @@ int themeMenuScan(const char* target) {
|
|||||||
menuEntry_s* me = menuCreateEntry(ENTRY_TYPE_THEME);
|
menuEntry_s* me = menuCreateEntry(ENTRY_TYPE_THEME);
|
||||||
|
|
||||||
if(me) {
|
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);
|
menuAddEntryToFront(me);
|
||||||
else
|
else
|
||||||
menuDeleteEntry(me);
|
menuDeleteEntry(me);
|
||||||
|
Loading…
Reference in New Issue
Block a user