Consistently use *des for the DesktopUI i18n category

This commit is contained in:
vnctdj 2015-07-01 22:45:35 +02:00
parent 44682d1bae
commit beda874ab5

View File

@ -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)