summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-11-22 13:01:03 (UTC)
committer cniehaus <cniehaus>2002-11-22 13:01:03 (UTC)
commit8dafc6100114c30a1735de2e34e97ff30b138daa (patch) (side-by-side diff)
treede33f270d176a235c36350aa97ef52bf62786ce3
parent28f41e51ab748a0525385e64dab1423f366b317c (diff)
downloadopie-8dafc6100114c30a1735de2e34e97ff30b138daa.zip
opie-8dafc6100114c30a1735de2e34e97ff30b138daa.tar.gz
opie-8dafc6100114c30a1735de2e34e97ff30b138daa.tar.bz2
i18n-bug. With the other way you can't translate in all languages
@@ -800,8 +800,7 @@ void AddressbookWindow::slotNotFound() { qWarning("Got notfound signal !"); QMessageBox::information( this, tr( "Not Found" ), - tr( "Unable to find a contact for this" ) + "\n" - + tr( "search pattern !" ) ); + tr( "Unable to find a contact for this \n search pattern!" ) ); }
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index e5addec..c506e98 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -779,50 +779,49 @@ bool AddressbookWindow::save()
"and try again.\n"
"\nQuit anyway?"),
QMessageBox::Yes|QMessageBox::Escape,
QMessageBox::No|QMessageBox::Default )
!= QMessageBox::No )
return TRUE;
else
return FALSE;
}
return TRUE;
}
#ifdef __DEBUG_RELEASE
void AddressbookWindow::slotSave()
{
save();
}
#endif
void AddressbookWindow::slotNotFound()
{
qWarning("Got notfound signal !");
QMessageBox::information( this, tr( "Not Found" ),
- tr( "Unable to find a contact for this" ) + "\n"
- + tr( "search pattern !" ) );
+ tr( "Unable to find a contact for this \n search pattern!" ) );
}
void AddressbookWindow::slotWrapAround()
{
qWarning("Got wrap signal !");
// if ( doNotifyWrapAround )
// QMessageBox::information( this, tr( "End of list" ),
// tr( "End of list. Wrap around now.. !" ) + "\n" );
}
void AddressbookWindow::slotSetCategory( int c )
{
qWarning( "void AddressbookWindow::slotSetCategory( %d ) from %d", c, catMenu->count() );
QString cat, book;
AbView::Views view = AbView::TableView;
if ( c <= 0 )
return;
// Checkmark Book Menu Item Selected
if ( c < 3 )