- Update documentation links to point to the actual documentation articles (in french or english depending on the current locale) instead of the wiki main page

This commit is contained in:
Christophe Dumez 2009-11-22 10:03:40 +00:00
parent 03552c9a1f
commit 002faac042

View file

@ -239,7 +239,10 @@ void GUI::on_actionWebsite_triggered() const {
}
void GUI::on_actionDocumentation_triggered() const {
QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://wiki.qbittorrent.org")));
if(Preferences::getLocale().startsWith("fr"))
QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://60gp.ovh.net/~dchris/wiki/wikka.php?wakka=FrenchDocumentation")));
else
QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://60gp.ovh.net/~dchris/wiki/wikka.php?wakka=EnglishDocumentation")));
}
void GUI::on_actionBugReport_triggered() const {