[Kstars-devel] KDE/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Thu Jan 22 08:58:44 CET 2009


SVN commit 914949 by asimha:

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.

Will backport to 4.2 branch

CCMAIL: kstars-devel at kde.org



 M  +4 -1      timedialog.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/timedialog.cpp #914948:914949
@@ -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