mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Fixed build issue. Closes #16
This commit is contained in:
parent
13bde06e9e
commit
6225283814
1
AUTHORS
1
AUTHORS
@ -5,6 +5,7 @@ David Rosca <nowrep@gmail.com>
|
|||||||
Contributors:
|
Contributors:
|
||||||
|
|
||||||
Daniele Cocca <jmc@chakra-project.org> (added close tabs with middle click feature)
|
Daniele Cocca <jmc@chakra-project.org> (added close tabs with middle click feature)
|
||||||
|
Jan Rajnoha <honza.rajny@hotmail.com> (QupZilla icon)
|
||||||
|
|
||||||
Translators:
|
Translators:
|
||||||
|
|
||||||
|
@ -315,7 +315,7 @@ unix {
|
|||||||
icon_folder = "$$d_prefix"share/pixmaps
|
icon_folder = "$$d_prefix"share/pixmaps
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES += USE_DATADIR=\""$$data_folder"/\"
|
DEFINES += USE_DATADIR=\\\"""$$data_folder/"\\\""
|
||||||
|
|
||||||
target.path = $$binary_folder
|
target.path = $$binary_folder
|
||||||
|
|
||||||
@ -355,4 +355,3 @@ message($$DEFINES)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,6 +21,11 @@
|
|||||||
#include "mainapplication.h"
|
#include "mainapplication.h"
|
||||||
#include "webpage.h"
|
#include "webpage.h"
|
||||||
|
|
||||||
|
QString authorString(const QString &name, const QString &mail)
|
||||||
|
{
|
||||||
|
return QString("%1 <<a href=mailto:%2>%2</a>>").arg(name, mail);
|
||||||
|
}
|
||||||
|
|
||||||
QupZillaSchemeHandler::QupZillaSchemeHandler(QObject* parent) :
|
QupZillaSchemeHandler::QupZillaSchemeHandler(QObject* parent) :
|
||||||
QObject(parent)
|
QObject(parent)
|
||||||
{
|
{
|
||||||
@ -170,13 +175,15 @@ QString QupZillaSchemeReply::aboutPage()
|
|||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Plugins"), mApp->PLUGINSDIR) +
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Plugins"), mApp->PLUGINSDIR) +
|
||||||
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Translations"), mApp->TRANSLATIONSDIR));
|
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Translations"), mApp->TRANSLATIONSDIR));
|
||||||
page.replace("%MAIN-DEVELOPER%", tr("Main developer"));
|
page.replace("%MAIN-DEVELOPER%", tr("Main developer"));
|
||||||
page.replace("%MAIN-DEVELOPER-TEXT%", QupZilla::AUTHOR + " <<a href=mailto:nowrep@gmail.com>nowrep@gmail.com</a>>");
|
page.replace("%MAIN-DEVELOPER-TEXT%", authorString(QupZilla::AUTHOR, "nowrep@gmail.com"));
|
||||||
page.replace("%CONTRIBUTORS%", tr("Contributors"));
|
page.replace("%CONTRIBUTORS%", tr("Contributors"));
|
||||||
page.replace("%CONTRIBUTORS-TEXT%", "Daniele Cocca <<a href=mailto:jmc@chakra-project.org>jmc@chakra-project.org</a>>");
|
page.replace("%CONTRIBUTORS-TEXT%", authorString("Daniele Cocca", "jmc@chakra-project.org") + "<br/>" +
|
||||||
|
authorString("Jan Rajnoha", "honza.rajny@hotmail.com")
|
||||||
|
);
|
||||||
page.replace("%TRANSLATORS%", tr("Translators"));
|
page.replace("%TRANSLATORS%", tr("Translators"));
|
||||||
page.replace("%TRANSLATORS-TEXT%", "Heimen Stoffels <<a href=mailto:vistausss@gmail.com>vistausss@gmail.com</a>> (Dutch)<br/>"
|
page.replace("%TRANSLATORS-TEXT%", authorString("Heimen Stoffels", "vistausss@gmail.com") + " (Dutch)<br/>" +
|
||||||
"Peter Vacula <<a href=mailto:pvacula1989@gmail.com>pvacula1989@gmail.com</a>> (Slovak)<br/>"
|
authorString("Peter Vacula", "pvacula1989@gmail.com") + " (Slovak)<br/>" +
|
||||||
"Jonathan Hooverman <<a href=mailto:jonathan.hooverman@gmail.com>jonathan.hooverman@gmail.com</a>> (German)<br/>");
|
authorString("Jonathan Hooverman", "jonathan.hooverman@gmail.com") + " (German)<br/>");
|
||||||
|
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ void AboutDialog::showAuthors()
|
|||||||
if (m_authorsHtml.isEmpty()) {
|
if (m_authorsHtml.isEmpty()) {
|
||||||
m_authorsHtml.append("<div style='margin:10px;'>");
|
m_authorsHtml.append("<div style='margin:10px;'>");
|
||||||
m_authorsHtml.append(tr("<p><b>Main developers:</b><br/>%1 <%2></p>").arg(QupZilla::AUTHOR, "<a href=mailto:nowrep@gmail.com>nowrep@gmail.com</a>"));
|
m_authorsHtml.append(tr("<p><b>Main developers:</b><br/>%1 <%2></p>").arg(QupZilla::AUTHOR, "<a href=mailto:nowrep@gmail.com>nowrep@gmail.com</a>"));
|
||||||
m_authorsHtml.append(tr("<p><b>Contributors:</b><br/>%1</p>").arg("Daniele Cocca"));
|
m_authorsHtml.append(tr("<p><b>Contributors:</b><br/>%1</p>").arg("Daniele Cocca<br/>Jan Rajnoha"));
|
||||||
m_authorsHtml.append(tr("<p><b>Translators:</b><br/>%1</p>").arg("Heimen Stoffels (Dutch)<br/>"
|
m_authorsHtml.append(tr("<p><b>Translators:</b><br/>%1</p>").arg("Heimen Stoffels (Dutch)<br/>"
|
||||||
"Peter Vacula (Slovakia)<br/>"
|
"Peter Vacula (Slovakia)<br/>"
|
||||||
"Jonathan Hooverman (German)"));
|
"Jonathan Hooverman (German)"));
|
||||||
|
Loading…
Reference in New Issue
Block a user