Fix translate

This commit is contained in:
sum2012 committed 2014-05-25 17:47:56 +08:00
1 parent ce2abe44d0
commit 22e198962f
1 file changed
+7 -4
+7 -4
View File
@@ -343,13 +343,16 @@ void GameSettingsScreen::CreateViews() {
systemSettings->Add(new Choice(s->T("Change proAdhocServer Address")))->OnClick.Handle(this, &GameSettingsScreen::OnChangeproAdhocServerAddress);
systemSettings->Add(new Choice(s->T("Change Mac Address")))->OnClick.Handle(this, &GameSettingsScreen::OnChangeMacAddress);
#else
std::string str1 = s->T("proAdhocServer Address: ");
std::string str2 = g_Config.proAdhocServer;
std::string str1 = s->T("proAdhocServer Address:");
std::string str2 = " ";
std::string str3 = g_Config.proAdhocServer;
str1.append(str2);
str1.append(str3);
systemSettings->Add(new Choice(str1));
str1 = s->T("Mac Address: ");
str2 = g_Config.localMacAddress;
str1 = s->T("Mac Address:");
str3 = g_Config.localMacAddress;
str1.append(str2);
str1.append(str3);
systemSettings->Add(new Choice(str1));
#endif