summaryrefslogtreecommitdiff
path: root/src/wx/server_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-06 12:59:52 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-06 12:59:52 +0000
commit3b6af76dc7a9089a35d2d2815d4fb8fb55876d1b (patch)
tree5659b2fa0284fd5d6502432d76d725be941e897c /src/wx/server_dialog.cc
parent31d33f861023709e02641d12bbf7a1a449c82007 (diff)
Try to improve i18n a bit.
Diffstat (limited to 'src/wx/server_dialog.cc')
-rw-r--r--src/wx/server_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/server_dialog.cc b/src/wx/server_dialog.cc
index 7b394a484..1b5b71dc9 100644
--- a/src/wx/server_dialog.cc
+++ b/src/wx/server_dialog.cc
@@ -22,7 +22,7 @@
#include "wx_util.h"
ServerDialog::ServerDialog (wxWindow* parent, ServerDescription* server)
- : wxDialog (parent, wxID_ANY, wxString (_("Server")))
+ : wxDialog (parent, wxID_ANY, _("Server"))
{
if (server) {
_server = server;
@@ -33,11 +33,11 @@ ServerDialog::ServerDialog (wxWindow* parent, ServerDescription* server)
wxFlexGridSizer* table = new wxFlexGridSizer (2, 4, 4);
table->AddGrowableCol (1, 1);
- add_label_to_sizer (table, this, "Host name or IP address");
+ add_label_to_sizer (table, this, _("Host name or IP address"));
_host = new wxTextCtrl (this, wxID_ANY);
table->Add (_host, 1, wxEXPAND);
- add_label_to_sizer (table, this, "Threads to use");
+ add_label_to_sizer (table, this, _("Threads to use"));
_threads = new wxSpinCtrl (this, wxID_ANY);
table->Add (_threads, 1, wxEXPAND);