-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
there are still some strings in qt-gui left, which are not marked for
translation.
My attached patch makes them translateable.
Bye,
Thomas
- --
Be careful! Is it classified?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE91oOS+83LmoKU5MARAvOFAKCHSrPLgk6Ak6OsKywCNIzU6/snkACgpZiE
IsGh0p4+frRYYnvPzrU2al0=
=eRWs
-----END PGP SIGNATURE-----
Index: licq/plugins/qt-gui/src/chatdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/chatdlg.cpp,v
retrieving revision 1.71
diff -u -3 -p -r1.71 chatdlg.cpp
--- licq/plugins/qt-gui/src/chatdlg.cpp 25 Oct 2002 17:39:35 -0000 1.71
+++ licq/plugins/qt-gui/src/chatdlg.cpp 16 Nov 2002 17:29:01 -0000
@@ -323,7 +323,7 @@ ChatDlg::ChatDlg(unsigned long _nUin, CI
}
tbtEncoding = new QToolButton(barChat);
- tbtEncoding->setTextLabel("Set Encoding");
+ tbtEncoding->setTextLabel(tr("Set Encoding"));
tbtEncoding->setPopup(popupEncoding);
tbtEncoding->setPopupDelay(0);
tbtEncoding->setPixmap(mainwin->pmEncoding);
@@ -705,8 +705,8 @@ void ChatDlg::slot_chat()
QApplication::beep();
else
{
- if (u == chatUser) mlePaneRemote->append("\n<--BEEP-->\n");
- mleIRCRemote->append(chatname + "> <--BEEP-->\n");
+ if (u == chatUser) mlePaneRemote->append(tr("\n<--BEEP-->\n"));
+ mleIRCRemote->append(chatname + tr("> <--BEEP-->\n"));
}
break;
}
Index: licq/plugins/qt-gui/src/chatjoin.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/chatjoin.cpp,v
retrieving revision 1.5
diff -u -3 -p -r1.5 chatjoin.cpp
--- licq/plugins/qt-gui/src/chatjoin.cpp 9 Apr 2000 20:49:41 -0000 1.5
+++ licq/plugins/qt-gui/src/chatjoin.cpp 16 Nov 2002 17:29:01 -0000
@@ -35,14 +35,14 @@ CJoinChatDlg::CJoinChatDlg(bool bRequest
{
l->setText(tr("Select chat to invite:"));
setCaption(tr("Invite to Join Chat"));
- btnOk->setText("&Invite");
+ btnOk->setText(tr("&Invite"));
btnCancel->setText(tr("&Cancel"));
}
else
{
l->setText(tr("Select chat to join:"));
setCaption(tr("Join Multiparty Chat"));
- btnOk->setText("&Join");
+ btnOk->setText(tr("&Join"));
btnCancel->setText(tr("&Cancel"));
}
Index: licq/plugins/qt-gui/src/keyrequestdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/keyrequestdlg.cpp,v
retrieving revision 1.16
diff -u -3 -p -r1.16 keyrequestdlg.cpp
--- licq/plugins/qt-gui/src/keyrequestdlg.cpp 25 Oct 2002 20:01:45 -0000 1.16
+++ licq/plugins/qt-gui/src/keyrequestdlg.cpp 16 Nov 2002 17:29:01 -0000
@@ -97,9 +97,9 @@ KeyRequestDlg::KeyRequestDlg(CSignalMana
{
m_bOpen = !u->Secure();
if (u->Secure())
- lblStatus->setText("Ready to close channel");
+ lblStatus->setText(tr("Ready to close channel"));
else
- lblStatus->setText("Ready to request channel");
+ lblStatus->setText(tr("Ready to request channel"));
btnSend->setFocus();
}
else
Index: licq/plugins/qt-gui/src/mmlistview.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/mmlistview.cpp,v
retrieving revision 1.6
diff -u -3 -p -r1.6 mmlistview.cpp
--- licq/plugins/qt-gui/src/mmlistview.cpp 5 Oct 2001 01:47:27 -0000 1.6
+++ licq/plugins/qt-gui/src/mmlistview.cpp 16 Nov 2002 17:29:01 -0000
@@ -202,7 +202,7 @@ void CMMUserView::dropEvent(QDropEvent *
// extract the text from the event
if (QTextDrag::decode(de, text) == FALSE)
{
- WarnUser(NULL, "Drag'n'Drop didn't work");
+ WarnUser(NULL, tr("Drag'n'Drop didn't work"));
return;
}
Index: licq/plugins/qt-gui/src/searchuserdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/searchuserdlg.cpp,v
retrieving revision 1.40
diff -u -3 -p -r1.40 searchuserdlg.cpp
--- licq/plugins/qt-gui/src/searchuserdlg.cpp 13 Nov 2002 06:42:32 -0000 1.40
+++ licq/plugins/qt-gui/src/searchuserdlg.cpp 16 Nov 2002 17:29:01 -0000
@@ -445,7 +445,7 @@ void SearchUserDlg::searchFound(CSearchA
void SearchUserDlg::searchDone(CSearchAck *sa)
{
if (sa == NULL || sa->More() == 0)
- lblSearch->setText("Search complete.");
+ lblSearch->setText(tr("Search complete."));
else if (sa->More() == -1)
lblSearch->setText(tr("More users found. Narrow search."));
else