summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-04-13 17:15:16 (UTC)
committer cniehaus <cniehaus>2002-04-13 17:15:16 (UTC)
commit74ca4fc34f8634c39b12a60ae97df88a612c12b1 (patch) (side-by-side diff)
tree86b511b649da8d7ef52fdc27c5b5642f9ef749d9
parent1eb54898047fab3963debe51fa3e570b361a1215 (diff)
downloadopie-74ca4fc34f8634c39b12a60ae97df88a612c12b1.zip
opie-74ca4fc34f8634c39b12a60ae97df88a612c12b1.tar.gz
opie-74ca4fc34f8634c39b12a60ae97df88a612c12b1.tar.bz2
added tr("") for 3 strings
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 95a8521..360aa7e 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -204,35 +204,35 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
abList->load( addressbookOldXMLFilename() );
QFile::remove(addressbookOldXMLFilename());
}
catMenu = new QPopupMenu( this );
catMenu->setCheckable( TRUE );
connect( catMenu, SIGNAL(activated(int)), this, SLOT(slotSetCategory(int)) );
populateCategories();
mbList->insertItem( tr("View"), catMenu );
setCentralWidget( abList );
fontMenu = new QPopupMenu(this);
fontMenu->setCheckable( true );
connect( fontMenu, SIGNAL(activated(int)), this, SLOT(slotSetFont(int)));
- fontMenu->insertItem("Small", 0);
- fontMenu->insertItem("Normal", 1);
- fontMenu->insertItem("Large", 2);
+ fontMenu->insertItem(tr( "Small" ), 0);
+ fontMenu->insertItem(tr( "Normal" ), 1);
+ fontMenu->insertItem(tr( "Large" ), 2);
defaultFont = new QFont( abList->font() );
slotSetFont(startFontSize);
mbList->insertItem( tr("Font"), fontMenu);
setCentralWidget(abList);
// qDebug("adressbook contrsuction: t=%d", t.elapsed() );
}
void AddressbookWindow::slotSetFont( int size ) {
if (size > 2 || size < 0)
size = 1;
startFontSize = size;