1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +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

@ -23,10 +23,10 @@ namespace Qz
const int sessionVersion = 0x0004; const int sessionVersion = 0x0004;
const int bookmarksVersion = 1; const int bookmarksVersion = 1;
FALKON_EXPORT const char* APPNAME = "Falkon"; FALKON_EXPORT const char *APPNAME = "Falkon";
FALKON_EXPORT const char* VERSION = FALKON_VERSION; FALKON_EXPORT const char *VERSION = FALKON_VERSION;
FALKON_EXPORT const char* AUTHOR = "David Rosca"; FALKON_EXPORT const char *AUTHOR = "David Rosca";
FALKON_EXPORT const char* COPYRIGHT = "2010-2018"; FALKON_EXPORT const char *COPYRIGHT = "2010-2018";
FALKON_EXPORT const char* WWWADDRESS = "https://www.qupzilla.com"; FALKON_EXPORT const char *WWWADDRESS = "https://kde.org";
FALKON_EXPORT const char* WIKIADDRESS = "https://github.com/QupZilla/qupzilla/wiki"; FALKON_EXPORT const char *BUGSADDRESS = "https://bugs.kde.org/describecomponents.cgi?product=Falkon";
} }

View File

@ -55,12 +55,12 @@ extern const int sessionVersion;
// Version of bookmarks.json file // Version of bookmarks.json file
extern const int bookmarksVersion; extern const int bookmarksVersion;
FALKON_EXPORT extern const char* APPNAME; FALKON_EXPORT extern const char *APPNAME;
FALKON_EXPORT extern const char* VERSION; FALKON_EXPORT extern const char *VERSION;
FALKON_EXPORT extern const char* AUTHOR; FALKON_EXPORT extern const char *AUTHOR;
FALKON_EXPORT extern const char* COPYRIGHT; FALKON_EXPORT extern const char *COPYRIGHT;
FALKON_EXPORT extern const char* WWWADDRESS; FALKON_EXPORT extern const char *WWWADDRESS;
FALKON_EXPORT extern const char* WIKIADDRESS; FALKON_EXPORT extern const char *BUGSADDRESS;
enum BrowserWindowType { enum BrowserWindowType {
BW_FirstAppWindow, BW_FirstAppWindow,

View File

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