Review Request 127252: Port all ion plugins away from KDELibs4Support

Friedrich W. H. Kossebau kossebau at kde.org
Wed Mar 2 01:21:09 UTC 2016



> On March 2, 2016, 1:13 a.m., Aleix Pol Gonzalez wrote:
> > dataengines/weather/ions/wetter.com/ion_wettercom.cpp, line 718
> > <https://git.reviewboard.kde.org/r/127252/diff/1/?file=447838#file447838line718>
> >
> >     Shouldn't this be i18n?

No, this is an identifier/key (and not exposed in UI). Agreed it seems strange.


- Friedrich W. H.


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127252/#review93051
-----------------------------------------------------------


On March 2, 2016, 12:54 a.m., Friedrich W. H. Kossebau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127252/
> -----------------------------------------------------------
> 
> (Updated March 2, 2016, 12:54 a.m.)
> 
> 
> Review request for Plasma and Marco Martin.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> Porting `KLocalizedDate(date.date()).formatDate(KLocale::DayName, KLocale::ShortName)` needed some lookup, as `KLocale::DayName` confused me. But it's still just the number of the day in the month, cmp.
> https://code.woboq.org/kde/kdelibs/kdecore/date/kcalendarsystem.cpp.html#2160
> 
> I hunted that call down to
> https://code.woboq.org/kde/kdelibs/kdecore/localization/klocale_kde.cpp.html#1145
> for which I consider `QLocale().toString(qlonglong)` to be an equivalent and which also seems proper here.
> Agreed?
> 
> Other changes should be no-brainers.
> 
> 
> Diffs
> -----
> 
>   dataengines/weather/ions/noaa/CMakeLists.txt 6b76c61 
>   dataengines/weather/ions/noaa/ion_noaa.h ea74814 
>   dataengines/weather/ions/noaa/ion_noaa.cpp 809f550 
>   dataengines/weather/ions/wetter.com/CMakeLists.txt 9b22dd4 
>   dataengines/weather/ions/wetter.com/ion_wettercom.cpp f4d3dad 
> 
> Diff: https://git.reviewboard.kde.org/r/127252/diff/
> 
> 
> Testing
> -------
> 
> Tested both noaa & wettercom station, still showed correct day numbers for me.
> Could not test with non-arabic number presentation locale (only assume it should work)
> 
> 
> Thanks,
> 
> Friedrich W. H. Kossebau
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160302/b1ef0374/attachment.html>


More information about the Plasma-devel mailing list