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

Prakash Mohan prak902000 at gmail.com
Fri Oct 9 22:30:50 CEST 2009


SVN commit 1033270 by prakash:

Adding a silly 0 as the 'missing' argument for i18np to make it stop shoing the ugly (i18n_PLURAL_ARGUMENT_MISSING) error.

CCMAIL: kstars-devel at kde.org


 M  +1 -1      wutdialog.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/tools/wutdialog.cpp #1033269:1033270
@@ -172,7 +172,7 @@
 
     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( i18np("Night duration: %1 hour", "Night duration: %1 hours", sDuration ) );
+    WUT->NightDurationLabel->setText( i18np("Night duration: %1 hour", "Night duration: %1 hours", sDuration, 0 ) );
 
     // moon almanac information
     KSMoon *oMoon = reinterpret_cast<KSMoon*>( data->objectNamed("Moon") );


More information about the Kstars-devel mailing list