From 94df6192e59b7d4c69e2fb43ef2c39db08bb1c39 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 23 Oct 2004 19:32:41 +0000 Subject: compile fixes --- (limited to 'kmicromail/editaccounts.cpp') diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 733e38a..7ad4ec8 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include @@ -53,10 +54,10 @@ EditAccounts::EditAccounts( Settings *s, QWidget *parent, const char *name, bool { settings = s; - mailList->addColumn( tr( "Account" ) ); - mailList->addColumn( tr( "Type" ) ); + mailList->addColumn( i18n( "Account" ) ); + mailList->addColumn( i18n( "Type" ) ); - newsList->addColumn( tr( "Account" ) ); + newsList->addColumn( i18n( "Account" ) ); connect( newMail, SIGNAL( clicked() ), SLOT( slotNewMail() ) ); connect( editMail, SIGNAL( clicked() ), SLOT( slotEditMail() ) ); @@ -207,9 +208,9 @@ void EditAccounts::slotEditAccount( Account *account ) void EditAccounts::slotDeleteAccount( Account *account ) { - if ( QMessageBox::information( this, tr( "Question" ), - tr( "

Do you really want to delete the selected Account?

" ), - tr( "Yes" ), tr( "No" ) ) == 0 ) + if ( QMessageBox::information( this, i18n( "Question" ), + i18n( "

Do you really want to delete the selected Account?

" ), + i18n( "Yes" ), i18n( "No" ) ) == 0 ) { settings->delAccount( account ); slotFillLists(); @@ -220,9 +221,9 @@ void EditAccounts::slotEditMail() { if ( !mailList->currentItem() ) { - QMessageBox::information( this, tr( "Error" ), - tr( "

Please select an account.

" ), - tr( "Ok" ) ); + QMessageBox::information( this, i18n( "Error" ), + i18n( "

Please select an account.

" ), + i18n( "Ok" ) ); return; } @@ -234,9 +235,9 @@ void EditAccounts::slotDeleteMail() { if ( !mailList->currentItem() ) { - QMessageBox::information( this, tr( "Error" ), - tr( "

Please select an account.

" ), - tr( "Ok" ) ); + QMessageBox::information( this, i18n( "Error" ), + i18n( "

Please select an account.

" ), + i18n( "Ok" ) ); return; } @@ -253,9 +254,9 @@ void EditAccounts::slotEditNews() { if ( !newsList->currentItem() ) { - QMessageBox::information( this, tr( "Error" ), - tr( "

Please select an account.

" ), - tr( "Ok" ) ); + QMessageBox::information( this, i18n( "Error" ), + i18n( "

Please select an account.

" ), + i18n( "Ok" ) ); return; } @@ -267,9 +268,9 @@ void EditAccounts::slotDeleteNews() { if ( !newsList->currentItem() ) { - QMessageBox::information( this, tr( "Error" ), - tr( "

Please select an account.

" ), - tr( "Ok" ) ); + QMessageBox::information( this, i18n( "Error" ), + i18n( "

Please select an account.

" ), + i18n( "Ok" ) ); return; } @@ -555,7 +556,7 @@ void NNTPconfig::slotShowSub() item = new QCheckListItem( ListViewGroups, (*it), QCheckListItem::CheckBox ); item->setOn( true ); } - topLevelWidget()->setCaption( tr("%1 groups subscribed").arg( subscribedGroups.count())); + topLevelWidget()->setCaption( i18n("%1 groups subscribed").arg( subscribedGroups.count())); } void NNTPconfig::slotShowFilter() { @@ -573,16 +574,16 @@ void NNTPconfig::slotShowFilter() } } } - topLevelWidget()->setCaption( tr("Filter found %1 groups").arg( count)); + topLevelWidget()->setCaption( i18n("Filter found %1 groups").arg( count)); } void NNTPconfig::slotGetNG() { save(); data->save(); - topLevelWidget()->setCaption( tr("Fetching group list...")); + topLevelWidget()->setCaption( i18n("Fetching group list...")); qApp->processEvents(); NNTPwrapper* tmp = new NNTPwrapper( data ); allGroups = tmp->listAllNewsgroups(); - topLevelWidget()->setCaption( tr("Downloaded %1 group names").arg( allGroups.count())); + topLevelWidget()->setCaption( i18n("Downloaded %1 group names").arg( allGroups.count())); ListViewGroups->clear(); -- cgit v0.9.0.2