two questions regarding QML

Robert Helling helling at atdotde.de
Mon Mar 14 09:22:09 PDT 2016


Hi,

> On 14.03.2016, at 17:15, Dirk Hohndel <dirk at hohndel.org> wrote:
> 
>> I could quickly find this page:
>> http://doc.qt.io/qt-5/qtquick-internationalization.html <http://doc.qt.io/qt-5/qtquick-internationalization.html> which suggests
>> that it works the same way as lupdate / lrelease.
> 
> I'll look into that. Thanks.


the  upshot seems to be to replace

text: “hi ho”

by

text: qsTr(“hi ho”)

in all the QML files and do a but more for strings with arguments.

Do you want me to start doing that?

Best
Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160314/1c49e1df/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160314/1c49e1df/attachment-0001.sig>


More information about the subsurface mailing list