Re: [Interest] Translating JSON files

2019-06-17 Thread Thiago Macieira
On Monday, 17 June 2019 14:18:33 PDT Mitch Curtis wrote: > The thing is that I have other data in the file that doesn't need to be > translated, so copying them would require keeping each file in sync. The > file itself is edited often fairly regularly to add new data (both > translatable and non-t

Re: [Interest] Translating JSON files

2019-06-17 Thread Mitch Curtis
> -Original Message- > From: Interest On Behalf Of Thiago > Macieira > Sent: Monday, 17 June 2019 10:28 PM > To: interest@qt-project.org > Subject: Re: [Interest] Translating JSON files > > On Monday, 17 June 2019 13:02:13 PDT Mitch Curtis wrote: > > I was hoping to avoid having to duplic

Re: [Interest] Translating JSON files

2019-06-17 Thread Thiago Macieira
On Monday, 17 June 2019 13:02:13 PDT Mitch Curtis wrote: > I was hoping to avoid having to duplicate the file, as it would be a > maintenance nightmare. Though I guess there's not much I can do in JSON > besides doing some funky string-based syntax to mark translatable strings: > > "displayTex

Re: [Interest] Translating JSON files

2019-06-17 Thread Mitch Curtis
> -Original Message- > From: Tom Isaacson > Sent: Monday, 17 June 2019 10:13 PM > To: Mitch Curtis ; Thiago Macieira > ; interest@qt-project.org > Subject: RE: [Interest] Translating JSON files > > -Original Message- > From: Interest On Behalf Of Mitch Curtis > Sent: Tuesday, Jun

Re: [Interest] Translating JSON files

2019-06-17 Thread Tom Isaacson
-Original Message- From: Interest On Behalf Of Mitch Curtis Sent: Tuesday, June 18, 2019 8:02 AM To: Thiago Macieira ; interest@qt-project.org Subject: Re: [Interest] Translating JSON files > I was hoping to avoid having to duplicate the file, as it would be a > maintenance nightmare. Th

Re: [Interest] Translating JSON files

2019-06-17 Thread Mitch Curtis
> -Original Message- > From: Interest On Behalf Of Thiago > Macieira > Sent: Monday, 17 June 2019 9:50 PM > To: interest@qt-project.org > Subject: Re: [Interest] Translating JSON files > > On Monday, 17 June 2019 12:41:07 PDT Mitch Curtis wrote: > > Is there a way to translate data that's

Re: [Interest] Translating JSON files

2019-06-17 Thread Thiago Macieira
On Monday, 17 June 2019 12:41:07 PDT Mitch Curtis wrote: > Is there a way to translate data that's not stored in a C++ or QML file, > like JSON? I have a bunch of user-facing strings in a JSON file that will > eventually need to be translated, and there doesn't seem to be any solution > for this.

[Interest] Translating JSON files

2019-06-17 Thread Mitch Curtis
Is there a way to translate data that's not stored in a C++ or QML file, like JSON? I have a bunch of user-facing strings in a JSON file that will eventually need to be translated, and there doesn't seem to be any solution for this. ___ Interest mailin

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-17 Thread Federico Buti
Oh well. If that is true, than we have found the culprit here. I didn't expect that but at the same time I totally see why it is the way it is. Luckily for us the module is not currently used any more and thus it does not represent a showstopper. I just wanted to fix it because it can come in hand

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-17 Thread Elvis Stansvik
Den mån 17 juni 2019 kl 09:37 skrev Federico Buti : > > Thanks all. > > My bad, I referred the crosscompilation for Windows as a reference point from > where we started the Qt bump, mostly because that was the major showstopper. > But on Linux we use vanilla Qt from qt.io installers. Hence I thin

Re: [Interest] Behavioural change in QFile/QDir rename

2019-06-17 Thread Federico Buti
Thanks all. My bad, I referred the crosscompilation for Windows as a reference point from where we started the Qt bump, mostly because that was the major showstopper. But on Linux we use vanilla Qt from qt.io installers. Hence I think any compilation issue in Qt can be ruled out; or at least it fe