Re: [Development] How to submit Portuguese, Spanish, and Indonesian translations Qt?

2012-06-01 Thread David Burson
Hello Giuseppe,

Thanks for the information.  I spent some time today reading the wiki from the 
links you sent - lots of helpful information.  I assume the right people are 
aware of this, but probably half the links in the Contributions section things 
you generally need to know of  
http://qt-project.org/wiki/Category:Developing_Qt point to blank pages.

Since we are only using 4.7.4 at this point I don't know about 4.8.  So I guess 
I will not be able to submit our translations at this time, if I understand you 
correctly.

We expect to use version 5 when it is available, and may end up using 4.8 at 
some point in the meantime.  Then we'll be able to contribute our translations 
that apply.  By that time I imagine the blank articles will have been written 
and I expect we'll be able to figure out what to do.

Thanks!
David

-Original Message-
From: Giuseppe D'Angelo [mailto:dange...@gmail.com] 
Sent: Friday, June 01, 2012 12:52 PM
To: David Burson
Cc: development@qt-project.org
Subject: Re: [Development] How to submit Portuguese, Spanish, and Indonesian 
translations Qt?

Hello David,

On 1 June 2012 15:36, David Burson david_bur...@ntm.org wrote:
 Hi,



 We translated some of Qt 4.7.4 into Indonesian (qt_id), and we added 
 some translations to qt_pt and qt_es.  How do I submit them back to 
 the Qt project?

Do your translations still apply to 4.8? No more 4.7 releases are planned.

 - What pri/pro files need to change?

Maybe none?

 - Where do I run make commit-ts?

In the translations subdirectory, I think.

 - How do I make a merge request on Gitorious?  I went to 
 https://qt.gitorious.org/qt/qt, but I don't know what I'm supposed to do.

Gitorious is not used any more to submit patches to Qt. Please read the 
instructions on the wiki http://qt-project.org/wiki/Category:Developing_Qt
http://qt-project.org/wiki/Qt-Contribution-Guidelines
http://qt-project.org/wiki/Code_Reviews

HTH,
--
Giuseppe D'Angelo

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] mailto links in Qt Assistant - a fix?

2012-02-07 Thread David Burson
Hi,

 

We're using Qt 4.7.4 and discovered when you click a mailto link in a custom
help file in Qt Assistant, nothing happens.

 

Here's our fix, showing lines 171-179 in the end of
AbstractHelpViewer::launchWithExternalApp(const QUrl ) in
[Qt]\tools\assistant\tools\assistant\helpviewer.cpp

 

actualTmpFile.close();

return
QDesktopServices::openUrl(QUrl(actualTmpFile.fileName()));

}

} else if (url.scheme() == QLatin1String(http) ||

   url.scheme() == QLatin1String(mailto)) {

  return QDesktopServices::openUrl(url);

}

return false;

}

 

The only change was replacing the old line 174, which tests for url.scheme()
= http, with lines 174-175, which adds the extra test for mailto.

 

My question:  is there a reason mailto was deliberately omitted, or is it
a bug?  Is this a reasonable fix?  Or is there some security issue with
allowing mailto links like this?

 

Thanks,

David

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development