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
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]
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>
> 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
> 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
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
}