From 137628e0baf0a834e08c2e42e097dad6f15aa5e9 Mon Sep 17 00:00:00 2001 From: The Dax Date: Wed, 4 Sep 2013 11:32:42 -0400 Subject: [PATCH] Translate "PPSSPP Chinese Forum" from [DesktopUI], not [PSPCredits]. This will let the text have a keyboard shortcut. I forgot about that part. --- Windows/WndMainWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Windows/WndMainWindow.cpp b/Windows/WndMainWindow.cpp index b898faf91f..aa2efe3769 100644 --- a/Windows/WndMainWindow.cpp +++ b/Windows/WndMainWindow.cpp @@ -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());