Re: Porting away from KLocale

2013-10-25 Thread Kevin Ottens
On Thursday 24 October 2013 19:22:02 Albert Astals Cid wrote: > El Dijous, 24 d'octubre de 2013, a les 17:44:01, Kevin Ottens va escriure: > > On Thursday 24 October 2013 16:56:47 John Layt wrote: > > > On 24 October 2013 07:33, Kevin Ottens wrote: > > > > On Wednesday 23 October 2013 20:40:19 Joh

Re: Porting away from KLocale

2013-10-24 Thread Albert Astals Cid
El Dijous, 24 d'octubre de 2013, a les 17:44:01, Kevin Ottens va escriure: > On Thursday 24 October 2013 16:56:47 John Layt wrote: > > On 24 October 2013 07:33, Kevin Ottens wrote: > > > On Wednesday 23 October 2013 20:40:19 John Layt wrote: > > >> * The obviously place to move it is k18n, as eith

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 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, wou

Re: Porting away from KLocale

2013-10-24 Thread John Layt
On 24 October 2013 07:33, Kevin Ottens 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 the d

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 wrote: > > On Tue, Oct 22, 2013 at 2:03 PM, David Faure 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 > >> >

Re: Porting away from KLocale

2013-10-23 Thread John Layt
On 23 October 2013 12:56, Aleix Pol wrote: > On Tue, Oct 22, 2013 at 2:03 PM, David Faure 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'

Re: Porting away from KLocale

2013-10-23 Thread Aleix Pol
On Tue, Oct 22, 2013 at 2:03 PM, David Faure 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 KF5, and

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 Aleix Pol
On Thu, Oct 17, 2013 at 11:30 PM, John Layt wrote: > On 17 October 2013 01:51, Aleix Pol 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 s

Re: Porting away from KLocale

2013-10-17 Thread John Layt
On 17 October 2013 01:51, Aleix Pol 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 > KDE5Porting.html >

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! Al