[Kstars-devel] branches/KDE/4.2/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Thu Jan 22 09:04:05 CET 2009
SVN commit 914951 by asimha:
Backporting i18n fix to 4.2 branch.
Quoting from the original commit log:
Fix i18n issue in Time Dialog. ? ... : should not be used in a i18nc
call because the macro doesn't know what to do with it.
Note that this introduces a new string into 4.2 branch.
CCMAIL: kstars-devel at kde.org
CCMAIL: kde-i18n-doc at kde.org
M +4 -1 timedialog.cpp
--- branches/KDE/4.2/kdeedu/kstars/kstars/timedialog.cpp #914950:914951
@@ -40,7 +40,10 @@
QFrame *page = new QFrame(this);
setMainWidget( page );
- setCaption( i18nc( "set clock to a new time", UTCNow ? "Set UTC Time" : "Set Time" ) );
+ if( UTCNow )
+ setCaption( i18nc( "set clock to a new time", "Set UTC Time" ) );
+ else
+ setCaption( i18nc( "set clock to a new time", "Set Time" ) );
setButtons( KDialog::Ok|KDialog::Cancel );
vlay = new QVBoxLayout( page );
More information about the Kstars-devel
mailing list