1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +01:00

QzCommon: Add BUGSADDRESS

Also remove WIKIADDRESS and change urls to KDE/Falkon
This commit is contained in:
David Rosca 2018-02-16 14:30:10 +01:00
parent 2cd4e8a74b
commit cf7d077e3a
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
3 changed files with 13 additions and 13 deletions

View File

@ -27,6 +27,6 @@ FALKON_EXPORT const char* APPNAME = "Falkon";
FALKON_EXPORT const char *VERSION = FALKON_VERSION;
FALKON_EXPORT const char *AUTHOR = "David Rosca";
FALKON_EXPORT const char *COPYRIGHT = "2010-2018";
FALKON_EXPORT const char* WWWADDRESS = "https://www.qupzilla.com";
FALKON_EXPORT const char* WIKIADDRESS = "https://github.com/QupZilla/qupzilla/wiki";
FALKON_EXPORT const char *WWWADDRESS = "https://kde.org";
FALKON_EXPORT const char *BUGSADDRESS = "https://bugs.kde.org/describecomponents.cgi?product=Falkon";
}

View File

@ -60,7 +60,7 @@ FALKON_EXPORT extern const char* VERSION;
FALKON_EXPORT extern const char *AUTHOR;
FALKON_EXPORT extern const char *COPYRIGHT;
FALKON_EXPORT extern const char *WWWADDRESS;
FALKON_EXPORT extern const char* WIKIADDRESS;
FALKON_EXPORT extern const char *BUGSADDRESS;
enum BrowserWindowType {
BW_FirstAppWindow,

View File

@ -190,7 +190,7 @@ QString FalkonSchemeReply::startPage()
sPage.replace(QLatin1String("%TITLE%"), tr("Start Page"));
sPage.replace(QLatin1String("%BUTTON-LABEL%"), tr("Search on Web"));
sPage.replace(QLatin1String("%SEARCH-BY%"), tr("Search results provided by DuckDuckGo"));
sPage.replace(QLatin1String("%WWW%"), Qz::WIKIADDRESS);
sPage.replace(QLatin1String("%WWW%"), Qz::WWWADDRESS);
sPage.replace(QLatin1String("%ABOUT-FALKON%"), tr("About Falkon"));
sPage.replace(QLatin1String("%PRIVATE-BROWSING%"), mApp->isPrivate() ? tr("<h1>Private Browsing</h1>") : QString());
sPage = QzTools::applyDirectionToPage(sPage);