Translate "PPSSPP Chinese Forum" from [DesktopUI], not [PSPCredits].

This will let the text have a keyboard shortcut. I forgot about that part.
This commit is contained in:
The Dax 2013-09-04 11:32:42 -04:00
parent 48a9be6126
commit 137628e0ba

View File

@ -292,7 +292,6 @@ namespace MainWindow
void CreateHelpMenu() {
HMENU helpMenu = CreatePopupMenu();
I18NCategory *credits = GetI18NCategory("PSPCredits");
I18NCategory *desktopUI = GetI18NCategory("DesktopUI");
const std::wstring help = ConvertUTF8ToWString(desktopUI->T("Help"));
@ -309,7 +308,7 @@ namespace MainWindow
AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_OPENFORUM, visitForum.c_str());
// Repeat the process for other languages, if necessary.
if(g_Config.languageIni == "zh_CN" || g_Config.languageIni == "zh_TW") {
const std::wstring visitChineseForum = ConvertUTF8ToWString(credits->T("PPSSPP Chinese Forum"));
const std::wstring visitChineseForum = ConvertUTF8ToWString(desktopUI->T("PPSSPP Chinese Forum"));
AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_CHINESE_FORUM, visitChineseForum.c_str());
}
AppendMenu(helpMenu, MF_STRING | MF_BYCOMMAND, ID_HELP_BUYGOLD, buyGold.c_str());