Re: [Interest] qsTr in components

2016-06-11 Thread Shantanu Tushar
ll have to switch to the ID based translations > http://doc.qt.io/qt-5/linguist-id-based-i18n.html to make this approach > work. > > -Even > > -Original Message- > From: Kristoffersen, Even (NO14) > Sent: 24. mai 2016 11:58 > To: Kristoffersen, Even (NO14) <even.kris

Re: [Interest] qsTr in components

2016-05-26 Thread Kristoffersen, Even (NO14)
lations http://doc.qt.io/qt-5/linguist-id-based-i18n.html to make this approach work. -Even -Original Message- From: Kristoffersen, Even (NO14) Sent: 24. mai 2016 11:58 To: Kristoffersen, Even (NO14) <even.kristoffer...@honeywell.com> Cc: interest@qt-project.org Subject: RE: [Interest]

Re: [Interest] qsTr in components

2016-05-23 Thread Kristoffersen, Even (NO14)
2016 15:17 To: Jason H <jh...@gmx.com> Cc: Kristoffersen, Even (NO14) <even.kristoffer...@honeywell.com>; interest@qt-project.org Subject: Re: [Interest] qsTr in components > Sent: Monday, May 23, 2016 at 9:14 AM > From: "Jason H" <jh...@gmx.com>

Re: [Interest] qsTr in components

2016-05-23 Thread Jason H
> Sent: Monday, May 23, 2016 at 9:14 AM > From: "Jason H" <jh...@gmx.com> > To: "Kristoffersen, Even (NO14)" <even.kristoffer...@honeywell.com> > Cc: "interest@qt-project.org" <interest@qt-project.org> > Subject: Re: [Interest] qsTr

Re: [Interest] qsTr in components

2016-05-23 Thread Jason H
> Sent: Monday, May 23, 2016 at 8:31 AM > From: "Kristoffersen, Even (NO14)" <even.kristoffer...@honeywell.com> > To: "interest@qt-project.org" <interest@qt-project.org> > Subject: [Interest] qsTr in components > > Hello all, > > I've

[Interest] qsTr in components

2016-05-23 Thread Kristoffersen, Even (NO14)
Hello all, I've played around a bit with an approach inspired by http://wiki.qt.io/How_to_do_dynamic_translation_in_QML . I've made a component for easier use: TextTr.qml -- Import QtQuick 2.0 Text { property string txt: "" text: qsTr(txt) + translator.refresh }