author | zecke <zecke> | 2005-02-14 17:57:40 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-02-14 17:57:40 (UTC) |
commit | 93d1877f2a13074065093772a1d018c8bda74fda (patch) (side-by-side diff) | |
tree | d19468c3e97dd6806cf675a7cd0ab938e4029afb | |
parent | 41881e3dcd695dc8ecdc5ef22cefd6f842858992 (diff) | |
download | opie-93d1877f2a13074065093772a1d018c8bda74fda.zip opie-93d1877f2a13074065093772a1d018c8bda74fda.tar.gz opie-93d1877f2a13074065093772a1d018c8bda74fda.tar.bz2 |
Use tr for translatable strings
-rw-r--r-- | noncore/net/opierdesktop/qtwin.cpp | 16 |
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 @@ -114,3 +114,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) Label1 = new QLabel(this); - Label1->setText("Server Desc"); + Label1->setText( tr("Server Desc") ); Label1->move(10, 120); @@ -122,3 +122,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) Label2 = new QLabel(this); - Label2->setText("User Name"); + Label2->setText( tr("User Name") ); Label2->move(10, 150); @@ -130,3 +130,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) Label3 = new QLabel(this); - Label3->setText("Server IP"); + Label3->setText( tr("Server Address") ); Label3->move(10, 180); @@ -157,3 +157,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) AddButton->resize(50, 20); - AddButton->setText("Add"); + AddButton->setText(tr("Add", "Add Connection")); connect(AddButton, SIGNAL(clicked()), this, SLOT(AddClicked())); @@ -163,3 +163,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) EditButton->resize(50, 20); - EditButton->setText("Edit"); + EditButton->setText(tr("Edit")); connect(EditButton, SIGNAL(clicked()), this, SLOT(EditClicked())); @@ -169,3 +169,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) SaveButton->resize(50, 20); - SaveButton->setText("Save"); + SaveButton->setText(tr("Save")); connect(SaveButton, SIGNAL(clicked()), this, SLOT(SaveClicked())); @@ -175,3 +175,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) RemoveButton->resize(50, 20); - RemoveButton->setText("Remove"); + RemoveButton->setText(tr("Remove")); connect(RemoveButton, SIGNAL(clicked()), this, SLOT(RemoveClicked())); @@ -179,3 +179,3 @@ QMyDialog::QMyDialog(QWidget* parent) : QDialog(parent, "Settings", true) FullScreenCheckBox = new QCheckBox(this, "Full Screen"); - FullScreenCheckBox->setText("Full Screen"); + FullScreenCheckBox->setText(tr("Full Screen")); FullScreenCheckBox->move(10, 230); |