mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Consistently use *des for the DesktopUI i18n category
This commit is contained in:
parent
44682d1bae
commit
beda874ab5
@ -447,7 +447,7 @@ void NativeInit(int argc, const char *argv[],
|
||||
else
|
||||
i18nrepo.LoadIni(g_Config.sLanguageIni, langOverridePath);
|
||||
|
||||
I18NCategory *d = GetI18NCategory("DesktopUI");
|
||||
I18NCategory *des = GetI18NCategory("DesktopUI");
|
||||
// Note to translators: do not translate this/add this to PPSSPP-lang's files.
|
||||
// It's intended to be custom for every user.
|
||||
// Only add it to your own personal copies of PPSSPP.
|
||||
@ -455,7 +455,7 @@ void NativeInit(int argc, const char *argv[],
|
||||
// TODO: Could allow a setting to specify a font file to load?
|
||||
// TODO: Make this a constant if we can sanely load the font on other systems?
|
||||
AddFontResourceEx(L"assets/Roboto-Condensed.ttf", FR_PRIVATE, NULL);
|
||||
g_Config.sFont = d->T("Font", "Roboto");
|
||||
g_Config.sFont = des->T("Font", "Roboto");
|
||||
#endif
|
||||
|
||||
if (!boot_filename.empty() && stateToLoad != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user