[Kstars-devel] missing message context
Akarsh Simha
akarshsimha at gmail.com
Mon Jun 8 07:57:18 CEST 2009
On Sun, Jun 07, 2009 at 06:13:26PM +0200, Burkhard Lück wrote:
> Hi,
>
> in src:/tools/wutdialog.cpp there are these two messages:
> Sunset: %1 on %2
> Sunrise: %1 on %2
>
> I guess %1 is a time, but what's %2 ?
%2 is a date:
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->NightDurationLabel->setText( i18n("Night duration: %1 hours", sDuration ) );
Regards
Akarsh
More information about the Kstars-devel
mailing list