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

Akarsh Simha akarshsimha at gmail.com
Mon Jun 8 08:25:14 CEST 2009


SVN commit 978759 by asimha:

Adding context to i18n calls referring to sunset and sunrise times in
the What's Up Tonight dialog.

CCMAIL: kstars-devel at kde.org, kde-i18n-doc at kde.org



 M  +2 -2      wutdialog.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/tools/wutdialog.cpp #978758:978759
@@ -165,8 +165,8 @@
         sDuration = KGlobal::locale()->formatTime( tDur );
     }
 
-    WUT->SunSetLabel->setText( i18n( "Sunset: %1 on %2" , sSet, KGlobal::locale()->formatDate( Evening.date(), KLocale::LongDate) ) );
-    WUT->SunRiseLabel->setText( i18n( "Sunrise: %1 on %2" , sRise, KGlobal::locale()->formatDate( Tomorrow.date(), KLocale::LongDate) ) );
+    WUT->SunSetLabel->setText( i18nc( "Sunset at time %1 on date %2", "Sunset: %1 on %2" , sSet, KGlobal::locale()->formatDate( Evening.date(), KLocale::LongDate) ) );
+    WUT->SunRiseLabel->setText( i18nc( "Sunrise at time %1 on date %2", "Sunrise: %1 on %2" , sRise, KGlobal::locale()->formatDate( Tomorrow.date(), KLocale::LongDate) ) );
     WUT->NightDurationLabel->setText( i18n("Night duration: %1 hours", sDuration ) );
 
     // moon almanac information


More information about the Kstars-devel mailing list