summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opierdesktop/qtwin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/opierdesktop/qtwin.cpp b/noncore/net/opierdesktop/qtwin.cpp
index 54a5a03..71ba5a5 100644
--- a/noncore/net/opierdesktop/qtwin.cpp
+++ b/noncore/net/opierdesktop/qtwin.cpp
@@ -113,5 +113,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
// server
Label1 = new QLabel(this);
- Label1->setText("Server Desc");
+ Label1->setText( tr("Server Desc") );
Label1->move(10, 120);
Label1->resize(100, 20);
@@ -121,5 +121,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
// username
Label2 = new QLabel(this);
- Label2->setText("User Name");
+ Label2->setText( tr("User Name") );
Label2->move(10, 150);
Label2->resize(100, 20);
@@ -129,5 +129,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
// ip
Label3 = new QLabel(this);
- Label3->setText("Server IP");
+ Label3->setText( tr("Server Address") );
Label3->move(10, 180);
Label3->resize(100, 20);
@@ -156,5 +156,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
AddButton->move(180, 120);
AddButton->resize(50, 20);
- AddButton->setText("Add");
+ AddButton->setText(tr("Add", "Add Connection"));
connect(AddButton, SIGNAL(clicked()), this, SLOT(AddClicked()));
// change list item button
@@ -162,5 +162,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
EditButton->move(180, 140);
EditButton->resize(50, 20);
- EditButton->setText("Edit");
+ EditButton->setText(tr("Edit"));
connect(EditButton, SIGNAL(clicked()), this, SLOT(EditClicked()));
// save to file button
@@ -168,5 +168,5 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
SaveButton->move(180, 160);
SaveButton->resize(50, 20);
- SaveButton->setText("Save");
+ SaveButton->setText(tr("Save"));
connect(SaveButton, SIGNAL(clicked()), this, SLOT(SaveClicked()));
// remove an item button
@@ -174,9 +174,9 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true)
RemoveButton->move(180, 180);
RemoveButton->resize(50, 20);
- RemoveButton->setText("Remove");
+ RemoveButton->setText(tr("Remove"));
connect(RemoveButton, SIGNAL(clicked()), this, SLOT(RemoveClicked()));
// full screen check box
FullScreenCheckBox = new QCheckBox(this, "Full Screen");
- FullScreenCheckBox->setText("Full Screen");
+ FullScreenCheckBox->setText(tr("Full Screen"));
FullScreenCheckBox->move(10, 230);
// ok button