Mark "Host Code:" and "IP Address:" as translatable
Also remove some spaces before colons.
This commit is contained in:
parent
fcc2ed4550
commit
f92331b925
|
@ -174,9 +174,10 @@ wxNotebook* NetPlaySetupFrame::CreateNotebookGUI(wxWindow* parent)
|
||||||
|
|
||||||
// connect tab
|
// connect tab
|
||||||
{
|
{
|
||||||
m_ip_lbl = new wxStaticText(connect_tab, wxID_ANY, _("Host Code :"));
|
// The text of these three controls will be set by OnDirectTraversalChoice
|
||||||
m_connect_ip_text = new wxTextCtrl(connect_tab, wxID_ANY, "127.0.0.1");
|
m_ip_lbl = new wxStaticText(connect_tab, wxID_ANY, "");
|
||||||
m_connect_hashcode_text = new wxTextCtrl(connect_tab, wxID_ANY, "00000000");
|
m_connect_ip_text = new wxTextCtrl(connect_tab, wxID_ANY);
|
||||||
|
m_connect_hashcode_text = new wxTextCtrl(connect_tab, wxID_ANY);
|
||||||
|
|
||||||
// Will be overridden by OnDirectTraversalChoice, but is necessary
|
// Will be overridden by OnDirectTraversalChoice, but is necessary
|
||||||
// so that both inputs do not take up space
|
// so that both inputs do not take up space
|
||||||
|
@ -436,7 +437,7 @@ void NetPlaySetupFrame::OnDirectTraversalChoice(wxCommandEvent& event)
|
||||||
// Traversal
|
// Traversal
|
||||||
// client tab
|
// client tab
|
||||||
{
|
{
|
||||||
m_ip_lbl->SetLabelText("Host Code: ");
|
m_ip_lbl->SetLabelText(_("Host Code:"));
|
||||||
m_client_port_lbl->Hide();
|
m_client_port_lbl->Hide();
|
||||||
m_connect_port_text->Hide();
|
m_connect_port_text->Hide();
|
||||||
}
|
}
|
||||||
|
@ -461,7 +462,7 @@ void NetPlaySetupFrame::OnDirectTraversalChoice(wxCommandEvent& event)
|
||||||
// Direct
|
// Direct
|
||||||
// Client tab
|
// Client tab
|
||||||
{
|
{
|
||||||
m_ip_lbl->SetLabelText("IP Address :");
|
m_ip_lbl->SetLabelText(_("IP Address:"));
|
||||||
|
|
||||||
std::string address;
|
std::string address;
|
||||||
netplay_section.Get("Address", &address, "127.0.0.1");
|
netplay_section.Get("Address", &address, "127.0.0.1");
|
||||||
|
|
Loading…
Reference in New Issue