Hi, I just sent an improved patch.
> On 14.03.2016, at 19:19, Thiago Macieira <[email protected]> wrote: > > This should be: > qsTr("A mobile version of the free Subsurface divelog > software.\n" + > "View your dive logs while on the go.") > > If you split the string like you did, you'll have two strings to translate > instead of one. > > I'm not sure this will extract correctly. Please test. > Now, I put both strings into a single qsTr. Let’s hope that works (I could not test the actual string extraction). > And there needs to be a way to do this properly: > >> + text: qsTr("Version: ") + >> manager.getVersion() + qsTr("\n\n© Subsurface developer team\n2011-2016") > > How do you interpolate fields in JS/QML? According to that web page mentioned earlier, this could be written as qsTr(„Version %1\n\n bla bla“).arg(manager.getVersion()) I changed this accordingly. Best Robert
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
