[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    branches/KDE/4.2/kdeedu/kstars/kstars
From:       Akarsh Simha <akarshsimha () gmail ! com>
Date:       2009-01-22 8:04:05
Message-ID: 1232611445.522701.3055.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@kde.org
CCMAIL: kde-i18n-doc@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 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic