author | llornkcor <llornkcor> | 2002-04-06 22:42:25 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-06 22:42:25 (UTC) |
commit | f79c6b3e3407a4263e7210b52638c4426dea825b (patch) (side-by-side diff) | |
tree | 3f47f4338251ea5f6c7d60d38dca3afe945b7f6c | |
parent | 08f0cefd22cb2122850b0786dafae15d0a5efebb (diff) | |
download | opie-f79c6b3e3407a4263e7210b52638c4426dea825b.zip opie-f79c6b3e3407a4263e7210b52638c4426dea825b.tar.gz opie-f79c6b3e3407a4263e7210b52638c4426dea825b.tar.bz2 |
translations stuff
-rw-r--r-- | noncore/tools/clock/clock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/clock/clock.cpp b/noncore/tools/clock/clock.cpp index d5d77bc..6f570c5 100644 --- a/noncore/tools/clock/clock.cpp +++ b/noncore/tools/clock/clock.cpp @@ -67,33 +67,33 @@ Clock::Clock( QWidget * parent, const char * name, WFlags f ) snoozeBtn = new QPushButton ( this); snoozeBtn->setText( tr( "Snooze" ) ); aclock = new AnalogClock( this ); aclock->display( QTime::currentTime() ); aclock->setLineWidth( 2 ); QHBox *hb = new QHBox( this ); hb->setMargin( 0 ); QWidget *space = new QWidget( hb ); lcd = new QLCDNumber( hb ); lcd->setSegmentStyle( QLCDNumber::Flat ); lcd->setFrameStyle( QFrame::NoFrame ); lcd->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum ) ); lcd->setFixedHeight( 23 ); - ampmLabel = new QLabel( "PM", hb ); + ampmLabel = new QLabel( tr("PM"), hb ); ampmLabel->setFont( QFont( "Helvetica", 14, QFont::Bold ) ); ampmLabel->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Preferred ) ); ampmLabel->setAlignment( AlignLeft | AlignBottom ); space = new QWidget( hb ); date = new QLabel( this ); date->setAlignment( AlignHCenter | AlignVCenter ); date->setFont( QFont( "Helvetica", 14, QFont::Bold ) ); date->setText( TimeString::longDateString( QDate::currentDate() ) ); QWidget *controls = new QWidget( this ); QGridLayout *gl = new QGridLayout( controls, 2, 2, 6, 4 ); QButtonGroup *grp = new QButtonGroup( controls ); grp->setRadioButtonExclusive( true ); grp->hide(); |