Re: Porting away from KLocale

2013-10-24 Thread John Layt
On 24 October 2013 07:33, Kevin Ottens er...@kde.org wrote: On Wednesday 23 October 2013 20:40:19 John Layt wrote: * The obviously place to move it is k18n, as either part of KLocalizedString or in a new KByteFormatter class? Hm, wouldn't that fit in KCoreAddons? * No locale file overrides

Re: Porting away from KLocale

2013-10-24 Thread Kevin Ottens
On Thursday 24 October 2013 16:56:47 John Layt wrote: On 24 October 2013 07:33, Kevin Ottens er...@kde.org wrote: On Wednesday 23 October 2013 20:40:19 John Layt wrote: * The obviously place to move it is k18n, as either part of KLocalizedString or in a new KByteFormatter class? Hm,

Re: Porting away from KLocale

2013-10-23 Thread Aleix Pol
On Tue, Oct 22, 2013 at 2:03 PM, David Faure fa...@kde.org wrote: On Thursday 17 October 2013 23:47:40 Aleix Pol wrote: Well maybe I could help with this, but I'd need to know what do you think it would be the most appropriate solution. I'd say, split it out into a separate function for

Re: Porting away from KLocale

2013-10-23 Thread John Layt
On 23 October 2013 12:56, Aleix Pol aleix...@kde.org wrote: On Tue, Oct 22, 2013 at 2:03 PM, David Faure fa...@kde.org wrote: On Thursday 17 October 2013 23:47:40 Aleix Pol wrote: Well maybe I could help with this, but I'd need to know what do you think it would be the most appropriate

Re: Porting away from KLocale

2013-10-23 Thread Kevin Ottens
On Wednesday 23 October 2013 20:40:19 John Layt wrote: On 23 October 2013 12:56, Aleix Pol aleix...@kde.org wrote: On Tue, Oct 22, 2013 at 2:03 PM, David Faure fa...@kde.org wrote: On Thursday 17 October 2013 23:47:40 Aleix Pol wrote: Well maybe I could help with this, but I'd need to know

Re: Porting away from KLocale

2013-10-22 Thread David Faure
On Thursday 17 October 2013 23:47:40 Aleix Pol wrote: Well maybe I could help with this, but I'd need to know what do you think it would be the most appropriate solution. I'd say, split it out into a separate function for KF5, and later on, if you feel like it, contribute it to Qt for 5.3. --

Re: Porting away from KLocale

2013-10-17 Thread John Layt
On 17 October 2013 01:51, Aleix Pol aleix...@kde.org wrote: Hi, I was trying to port some application to Qt/KF5, then I realized that I didn't know how to port KLocale::formatByteSize. I don't see anything in QLocale for this, so I feel a bit stuck. Also I don't see any information in

Porting away from KLocale

2013-10-16 Thread Aleix Pol
Hi, I was trying to port some application to Qt/KF5, then I realized that I didn't know how to port KLocale::formatByteSize. I don't see anything in QLocale for this, so I feel a bit stuck. Also I don't see any information in KDE5Porting.html Anybody has an idea of what's the solution? Thanks!