put webview in own class; refs #115

master
Marc Wäckerlin 12 years ago
parent c7c879d0aa
commit 5e1d9243c5
  1. 149
      src/browser.hxx
  2. 4
      src/downloadmanager.hxx
  3. 4
      src/pluginfactory.hxx
  4. 7
      src/qmake.pro.in
  5. 185
      src/swissbrowser_de.ts
  6. 130
      src/swissbrowser_en.ts
  7. 185
      src/swissbrowser_fr.ts
  8. 120
      src/swissbrowser_it.ts
  9. 20
      src/webpage.cxx
  10. 21
      src/webpage.hxx
  11. 50
      src/webview.hxx

@ -19,8 +19,6 @@
#include <QtGui/QPrinter>
#include <QtGui/QPrintDialog>
#include <QtGui/QPrintPreviewDialog>
#include <QtWebKit/QWebPage>
#include <QtWebKit/QWebView>
#include <QtWebKit/QWebFrame>
#include <QtWebKit/QWebHistory>
#include <QtNetwork/QNetworkReply>
@ -35,17 +33,16 @@
#include <errorlog.hxx>
#include <downloadmanager.hxx>
#include <authentication.hxx>
#include <webpage.hxx>
#include <webview.hxx>
#include <settings.hxx>
#include <editbookmarks.hxx>
#include <pluginfactory.hxx>
#include <temporaryfile.hxx>
#include <saveorrun.hxx>
#include <sslclientnetworkmanager.hxx>
#include <proxyface/proxy.hxx>
#include <stdexcept>
#include <cassert>
#include <memory>
#include <QtCore/QDebug>
#ifndef LOG
@ -63,7 +60,8 @@ class Browser: public QMainWindow, protected Ui::Browser {
Settings::MimeTypes mimeTypes = Settings::MimeTypes(),
bool kiosk = false, bool login = true, bool quirks=true):
_url(0), _find(new ButtonLineEdit),
_kiosk(kiosk),
_kiosk(kiosk),
_downloadManager(new DownloadManager),
_settings(mimeTypes, this, settings, !kiosk),
_errorLog(this), _logincertificate(this),
_proxy("http://swisssign.com", this),
@ -167,16 +165,16 @@ class Browser: public QMainWindow, protected Ui::Browser {
assert(connect(&_networkManager, SIGNAL(finished(QNetworkReply*)),
SLOT(finished(QNetworkReply*))));
assert(connect(&_networkManager, SIGNAL(created(QNetworkReply*)),
&_downloadManager, SLOT(add(QNetworkReply*))));
assert(connect(&_downloadManager, SIGNAL(progress(qint64, qint64)),
_downloadManager.get(), SLOT(add(QNetworkReply*))));
assert(connect(_downloadManager.get(), SIGNAL(progress(qint64, qint64)),
SLOT(progress(qint64, qint64))));
assert(connect(&_downloadManager, SIGNAL(started()),
assert(connect(_downloadManager.get(), SIGNAL(started()),
SLOT(started())));
assert(connect(&_downloadManager, SIGNAL(finished()),
assert(connect(_downloadManager.get(), SIGNAL(finished()),
SLOT(finished())));
assert(connect(&_downloadManager, SIGNAL(error(QString)),
assert(connect(_downloadManager.get(), SIGNAL(error(QString)),
SLOT(downloadError(QString))));
assert(connect(&_downloadManager, SIGNAL(metaDataChanged(QNetworkReply*)),
assert(connect(_downloadManager.get(), SIGNAL(metaDataChanged(QNetworkReply*)),
SLOT(metaDataChanged(QNetworkReply*))));
assert(connect(&_settings, SIGNAL(newSettings()), SLOT(newSettings())));
newSettings();
@ -223,14 +221,69 @@ class Browser: public QMainWindow, protected Ui::Browser {
return true;
}
QWebView* newTab() {
QWebView* browser(new QWebView);
browser->setPage(new WebPage(this, browser));
browser->page()->setPluginFactory(new PluginFactory);
browser->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
WebView* newTab() {
WebView* browser(new WebView);
newTab(browser);
return browser;
}
protected:
void closeEvent(QCloseEvent *event) {
LOG;
if (!_kiosk && !_startUrl && _settings.flag("SaveWindowState")
&& _settings())
saveWin();
QMainWindow::closeEvent(event);
QApplication::exit(0);
}
private Q_SLOTS:
void load() {
LOG;
if (qobject_cast<QComboBox*>(_url))
load(qobject_cast<QComboBox*>(_url)->currentText());
else
load(qobject_cast<QLineEdit*>(_url)->text());
}
void load(QString page) {
_settings.replaceSearchEngine(page);
if (QUrl(page).scheme()=="") page = "http://"+page;
load(QUrl(page));
}
void load(QUrl page, QWebView* view=0) {
LOG<<page.toString();
statusBar()->showMessage(tr("Checking: %1").arg(page.toString()));
if (!check(page)) {
LOG<<"########## BLACK LISTED IGNORED ##########";
statusBar()->showMessage(tr("Forbidden: %1").arg(page.toString()));
QMessageBox::warning(this, tr("Access Denied"),
tr("<p>Access denied due to security"
" considerations.</p><p>You are not"
" allowed to connect to %1.")
.arg(page.toString()));
return;
}
statusBar()->showMessage(tr("Reading: %1").arg(page.toString()));
if (!page.isValid()) {
statusBar()->showMessage(tr("Illegal URL: %1").arg(page.errorString()));
return;
}
if (!view) view=qobject_cast<QWebView*>(_tabs->currentWidget());
view->load(page);
}
void newTab(WebView* browser) {
browser->page()->setNetworkAccessManager(&_networkManager);
browser->page()->setForwardUnsupportedContent(true);
assert(connect(&_networkManager, SIGNAL(finished(QNetworkReply*)),
SLOT(finished(QNetworkReply*))));
_url->setFocus();
// WebView
assert(connect(browser, SIGNAL(newView(WebView*)),
SLOT(newTab(WebView*))));
// QWebView
assert(connect(browser, SIGNAL(urlChanged(const QUrl&)),
SLOT(urlChanged(const QUrl&))));
@ -486,56 +539,6 @@ class Browser: public QMainWindow, protected Ui::Browser {
SLOT(sslErrors(QNetworkReply*, const QList<QSslError>&))));
_tabs->setCurrentIndex(_tabs->addTab(browser, tr("New Tab")));
_tabs->setTabsClosable(_tabs->count()>1);
return browser;
}
protected:
void closeEvent(QCloseEvent *event) {
LOG;
if (!_kiosk && !_startUrl && _settings.flag("SaveWindowState")
&& _settings())
saveWin();
QMainWindow::closeEvent(event);
QApplication::exit(0);
}
private Q_SLOTS:
void load() {
LOG;
if (qobject_cast<QComboBox*>(_url))
load(qobject_cast<QComboBox*>(_url)->currentText());
else
load(qobject_cast<QLineEdit*>(_url)->text());
}
void load(QString page) {
_settings.replaceSearchEngine(page);
if (QUrl(page).scheme()=="") page = "http://"+page;
load(QUrl(page));
}
void load(QUrl page, QWebView* view=0) {
LOG<<page.toString();
statusBar()->showMessage(tr("Checking: %1").arg(page.toString()));
if (!check(page)) {
LOG<<"########## BLACK LISTED IGNORED ##########";
statusBar()->showMessage(tr("Forbidden: %1").arg(page.toString()));
QMessageBox::warning(this, tr("Access Denied"),
tr("<p>Access denied due to security"
" considerations.</p><p>You are not"
" allowed to connect to %1.")
.arg(page.toString()));
return;
}
statusBar()->showMessage(tr("Reading: %1").arg(page.toString()));
if (!page.isValid()) {
statusBar()->showMessage(tr("Illegal URL: %1").arg(page.errorString()));
return;
}
if (!view) view=qobject_cast<QWebView*>(_tabs->currentWidget());
view->load(page);
}
void newSettings() {
@ -685,7 +688,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
LOG;
for (int i(0); i<_tabs->count(); ++i)
qobject_cast<QWebView*>(_tabs->widget(i))->stop();
_downloadManager.abort();
_downloadManager->abort();
}
void on_actionClearLocation_triggered() {
@ -1229,7 +1232,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
void unsupportedContent(QNetworkReply* reply) {
LOG<<reply->header(QNetworkRequest::ContentTypeHeader).toString();
LOG<<"Status:"<<_downloadManager.networkError(reply->error());
LOG<<"Status:"<<_downloadManager->networkError(reply->error());
QList<QNetworkReply::RawHeaderPair> rh(reply->rawHeaderPairs());
for(QList<QNetworkReply::RawHeaderPair>::iterator it(rh.begin());
it!=rh.end(); ++it) {
@ -1278,12 +1281,12 @@ class Browser: public QMainWindow, protected Ui::Browser {
LOG<<"Content-Type:"<<reply->header(QNetworkRequest::ContentTypeHeader)
.toString();
LOG<<"Content-Disposition:"<<reply->rawHeader("Content-Disposition");
LOG<<"Status:"<<_downloadManager.networkError(reply->error());
LOG<<"Status:"<<_downloadManager->networkError(reply->error());
LOG<<"URL:"<<reply->url().toString();
LOG<<"File:"<<reply->url().toLocalFile();
LOG<<"Path:"<<reply->url().path();
if (reply->error()!=QNetworkReply::NoError) {
LOG<<"Error:"<<_downloadManager.networkError(reply->error());
LOG<<"Error:"<<_downloadManager->networkError(reply->error());
return;
}
QString filename
@ -1555,7 +1558,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
bool _kiosk;
QPrinter _printer;
SslClientAuthNetworkAccessManager _networkManager;
DownloadManager _downloadManager;
std::shared_ptr<DownloadManager> _downloadManager;
typedef std::map<QProcess*, TemporaryFile*> DownloadProcesses;
DownloadProcesses _downloadProcesses;
Settings _settings;

@ -5,6 +5,9 @@
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
#ifndef __DOWNLOAD_MANAGER_HXX
#define __DOWNLOAD_MANAGER_HXX
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QSslError>
#include <map>
@ -277,3 +280,4 @@ class DownloadManager: public QObject {
Downloads _downloads;
};
#endif

@ -16,10 +16,6 @@
#define LOG qDebug()<<__PRETTY_FUNCTION__
#endif
#define foreach(A, B) \
auto foreach_loopvar_##A(B); \
for (auto A(foreach_loopvar_##A.begin()); A!=foreach_loopvar_##A.end(); ++A)
class PluginFactory: public QWebPluginFactory {
public:
PluginFactory(QObject* p=0): QWebPluginFactory(p) {

@ -1,7 +1,6 @@
QT += webkit network gui
CONFIG += no_keywords
QMAKE_LIBS += -lproxyface -lpcscxx -lssl -lcrypto
QMAKE_CXXFLAGS += -Wno-parentheses -Wno-unused-parameter
QMAKE_CXXFLAGS += -Wno-parentheses -Wno-unused-parameter -std=c++0x
unix {
!macx {
@ -32,11 +31,11 @@ TRANSLATIONS = @PACKAGENAME@_en.ts \
@PACKAGENAME@_fr.ts \
@PACKAGENAME@_it.ts
SOURCES = main.cxx webpage.cxx
SOURCES = main.cxx
HEADERS = browser.hxx smartcardauth.hxx pinentry.hxx \
downloadmanager.hxx settings.hxx sslclientnetworkmanager.hxx \
authentication.hxx webpage.hxx errorlog.hxx \
authentication.hxx webview.hxx webpage.hxx errorlog.hxx \
certificate.hxx logincertificate.hxx editbookmarks.hxx \
pluginfactory.hxx pdfdisplay.hpp saveorrun.hxx temporaryfile.hxx

@ -170,7 +170,7 @@
</message>
<message>
<location filename="browser.ui" line="292"/>
<location filename="browser.hxx" line="487"/>
<location filename="browser.hxx" line="540"/>
<source>New Tab</source>
<translation type="unfinished"></translation>
</message>
@ -332,137 +332,118 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="521"/>
<location filename="browser.hxx" line="259"/>
<source>Checking: %1</source>
<oldsource>Opening: %1</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="532"/>
<location filename="browser.hxx" line="270"/>
<source>Reading: %1</source>
<oldsource>Reading: %1%</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="571"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="534"/>
<location filename="browser.hxx" line="272"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="551"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="631"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="652"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<location filename="browser.hxx" line="262"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="895"/>
<source>Info: %1</source>
<location filename="browser.hxx" line="149"/>
<source>background-color: white</source>
<comment>search engines combobox</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="912"/>
<source>done.</source>
<location filename="browser.hxx" line="200"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1167"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<location filename="browser.hxx" line="201"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="524"/>
<source>Forbidden: %1</source>
<location filename="browser.hxx" line="263"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="151"/>
<source>background-color: white</source>
<comment>search engines combobox</comment>
<location filename="browser.hxx" line="264"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="202"/>
<source>SSL Not Supported</source>
<location filename="browser.hxx" line="554"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="203"/>
<source>SSL is not supported on your system</source>
<location filename="browser.hxx" line="555"/>
<source>http://www.google.com/search?hl=%2&amp;q=%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="525"/>
<source>Access Denied</source>
<location filename="browser.hxx" line="574"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="526"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<location filename="browser.hxx" line="591"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="552"/>
<source>http://www.google.com/search?hl=%2&amp;q=%1</source>
<location filename="browser.hxx" line="634"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="588"/>
<source>opening new window</source>
<location filename="browser.hxx" line="655"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="674"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="712"/>
<location filename="browser.hxx" line="726"/>
<location filename="browser.hxx" line="715"/>
<location filename="browser.hxx" line="729"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="734"/>
<location filename="browser.hxx" line="744"/>
<location filename="browser.hxx" line="737"/>
<location filename="browser.hxx" line="747"/>
<source>background-color: #ADA</source>
<oldsource>background-color: #7F7</oldsource>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="736"/>
<location filename="browser.hxx" line="746"/>
<location filename="browser.hxx" line="739"/>
<location filename="browser.hxx" line="749"/>
<source>background-color: #F77</source>
<oldsource>background-color: lightred</oldsource>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="776"/>
<location filename="browser.hxx" line="779"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="777"/>
<location filename="browser.hxx" line="780"/>
<source>%8
Version: %1
Builddate: %2
@ -471,53 +452,61 @@ Libraries:
%4
qt-%5 (%6)
openssl-%7</source>
<oldsource>SwissBrowser
Version: %1
Builddate: %2
Libraries:
%3
%4
qt-%5 (%6)
openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="890"/>
<location filename="browser.hxx" line="893"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1343"/>
<location filename="browser.hxx" line="898"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="915"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1170"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1346"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1419"/>
<location filename="browser.hxx" line="1422"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1436"/>
<location filename="browser.hxx" line="1439"/>
<location filename="browser.hxx" line="1442"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1446"/>
<location filename="browser.hxx" line="1449"/>
<location filename="browser.hxx" line="1452"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1464"/>
<location filename="browser.hxx" line="1467"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1476"/>
<location filename="browser.hxx" line="1479"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -630,129 +619,129 @@ openssl-%7</oldsource>
<context>
<name>DownloadManager</name>
<message>
<location filename="downloadmanager.hxx" line="32"/>
<location filename="downloadmanager.hxx" line="35"/>
<source>Network connection successful, remote host can be reached.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="35"/>
<location filename="downloadmanager.hxx" line="38"/>
<source>The remote server refused the connection (the server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="38"/>
<location filename="downloadmanager.hxx" line="41"/>
<source>The remote server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="41"/>
<location filename="downloadmanager.hxx" line="44"/>
<source>The remote host name was not found (invalid hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="43"/>
<location filename="downloadmanager.hxx" line="46"/>
<source>The connection to the remote server timed out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="45"/>
<location filename="downloadmanager.hxx" line="48"/>
<source>The operation was canceled via calls to abort() or close() before it was finished.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="48"/>
<location filename="downloadmanager.hxx" line="51"/>
<source>The SSL/TLS handshake failed and the encrypted channel could not be established. See SSL-Errors above.</source>
<oldsource>The SSL/TLS handshake failed and the encrypted channel could not be established. The sslErrors() signal should have been emitted.</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="51"/>
<location filename="downloadmanager.hxx" line="54"/>
<source>The connection to the proxy server was refused (the proxy server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="54"/>
<location filename="downloadmanager.hxx" line="57"/>
<source>The proxy server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="57"/>
<location filename="downloadmanager.hxx" line="60"/>
<source>The proxy host name was not found (invalid proxy hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="60"/>
<location filename="downloadmanager.hxx" line="63"/>
<source>The connection to the proxy timed out or the proxy did not reply in time to the request sent.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="63"/>
<location filename="downloadmanager.hxx" line="66"/>
<source>The proxy requires authentication in order to honour the request but did not accept any credentials offered (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="67"/>
<location filename="downloadmanager.hxx" line="70"/>
<source>The access to the remote content was denied (similar to HTTP error 401).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="70"/>
<location filename="downloadmanager.hxx" line="73"/>
<source>The operation requested on the remote content is not permitted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="73"/>
<location filename="downloadmanager.hxx" line="76"/>
<source>The remote content was not found at the server (similar to HTTP error 404).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="76"/>
<location filename="downloadmanager.hxx" line="79"/>
<source>The remote server requires authentication to serve the content but the credentials provided were not accepted (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="80"/>
<location filename="downloadmanager.hxx" line="83"/>
<source>The Network Access API cannot honor the request because the protocol is not known.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="83"/>
<location filename="downloadmanager.hxx" line="86"/>
<source>The requested operation is invalid for this protocol.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="85"/>
<location filename="downloadmanager.hxx" line="88"/>
<source>An unknown network-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="87"/>
<location filename="downloadmanager.hxx" line="90"/>
<source>An unknown proxy-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="89"/>
<location filename="downloadmanager.hxx" line="92"/>
<source>An unknonwn error related to the remote content was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="92"/>
<location filename="downloadmanager.hxx" line="95"/>
<source>A breakdown in protocol was detected (parsing error, invalid or unexpected responses, etc.).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="95"/>
<location filename="downloadmanager.hxx" line="98"/>
<source>&lt;strong&gt;Unknown network error (code: %1).&lt;/string&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="163"/>
<location filename="downloadmanager.hxx" line="166"/>
<source>&lt;h1&gt;Network Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;</source>
<oldsource>&lt;h1&gt;Network Error&lt;/h2&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="220"/>
<location filename="downloadmanager.hxx" line="223"/>
<source>&lt;h1&gt;SSL Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;&lt;table&gt;&lt;caption&gt;Certificate Issuer&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;caption&gt;Certificate Subject&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%14&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%15&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</source>
<oldsource>&lt;h1&gt;SSL Error&lt;/h2&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;&lt;table&gt;&lt;caption&gt;Certificate Issuer&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;caption&gt;Certificate Subject&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%14&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%15&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</oldsource>
<translation type="unfinished"></translation>

@ -190,7 +190,7 @@
</message>
<message>
<location filename="browser.ui" line="292"/>
<location filename="browser.hxx" line="487"/>
<location filename="browser.hxx" line="540"/>
<source>New Tab</source>
<translation type="unfinished"></translation>
</message>
@ -330,118 +330,116 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="521"/>
<location filename="browser.hxx" line="259"/>
<source>Checking: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="202"/>
<location filename="browser.hxx" line="200"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="151"/>
<location filename="browser.hxx" line="149"/>
<source>background-color: white</source>
<comment>search engines combobox</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="203"/>
<location filename="browser.hxx" line="201"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="524"/>
<location filename="browser.hxx" line="262"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="525"/>
<location filename="browser.hxx" line="263"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="526"/>
<location filename="browser.hxx" line="264"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="532"/>
<location filename="browser.hxx" line="270"/>
<source>Reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="534"/>
<location filename="browser.hxx" line="272"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="551"/>
<location filename="browser.hxx" line="554"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="552"/>
<location filename="browser.hxx" line="555"/>
<source>http://www.google.com/search?hl=%2&amp;q=%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="571"/>
<location filename="browser.hxx" line="574"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="588"/>
<location filename="browser.hxx" line="591"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="631"/>
<location filename="browser.hxx" line="634"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="652"/>
<location filename="browser.hxx" line="655"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="674"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="712"/>
<location filename="browser.hxx" line="726"/>
<location filename="browser.hxx" line="715"/>
<location filename="browser.hxx" line="729"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="734"/>
<location filename="browser.hxx" line="744"/>
<location filename="browser.hxx" line="737"/>
<location filename="browser.hxx" line="747"/>
<source>background-color: #ADA</source>
<oldsource>background-color: #7F7</oldsource>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="736"/>
<location filename="browser.hxx" line="746"/>
<location filename="browser.hxx" line="739"/>
<location filename="browser.hxx" line="749"/>
<source>background-color: #F77</source>
<oldsource>background-color: lightred</oldsource>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="776"/>
<location filename="browser.hxx" line="779"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="777"/>
<location filename="browser.hxx" line="780"/>
<source>%8
Version: %1
Builddate: %2
@ -450,69 +448,61 @@ Libraries:
%4
qt-%5 (%6)
openssl-%7</source>
<oldsource>SwissBrowser
Version: %1
Builddate: %2
Libraries:
%3
%4
qt-%5 (%6)
openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="890"/>
<location filename="browser.hxx" line="893"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="895"/>
<location filename="browser.hxx" line="898"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="912"/>
<location filename="browser.hxx" line="915"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1167"/>
<location filename="browser.hxx" line="1170"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1343"/>
<location filename="browser.hxx" line="1346"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1419"/>
<location filename="browser.hxx" line="1422"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1436"/>
<location filename="browser.hxx" line="1439"/>
<location filename="browser.hxx" line="1442"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1446"/>
<location filename="browser.hxx" line="1449"/>
<location filename="browser.hxx" line="1452"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1464"/>
<location filename="browser.hxx" line="1467"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1476"/>
<location filename="browser.hxx" line="1479"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -625,127 +615,127 @@ openssl-%7</oldsource>
<context>
<name>DownloadManager</name>
<message>
<location filename="downloadmanager.hxx" line="32"/>
<location filename="downloadmanager.hxx" line="35"/>
<source>Network connection successful, remote host can be reached.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="35"/>
<location filename="downloadmanager.hxx" line="38"/>
<source>The remote server refused the connection (the server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="38"/>
<location filename="downloadmanager.hxx" line="41"/>
<source>The remote server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="41"/>
<location filename="downloadmanager.hxx" line="44"/>
<source>The remote host name was not found (invalid hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="43"/>
<location filename="downloadmanager.hxx" line="46"/>
<source>The connection to the remote server timed out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="45"/>
<location filename="downloadmanager.hxx" line="48"/>
<source>The operation was canceled via calls to abort() or close() before it was finished.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="48"/>
<location filename="downloadmanager.hxx" line="51"/>
<source>The SSL/TLS handshake failed and the encrypted channel could not be established. See SSL-Errors above.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="51"/>
<location filename="downloadmanager.hxx" line="54"/>
<source>The connection to the proxy server was refused (the proxy server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="54"/>
<location filename="downloadmanager.hxx" line="57"/>
<source>The proxy server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="57"/>
<location filename="downloadmanager.hxx" line="60"/>
<source>The proxy host name was not found (invalid proxy hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="60"/>
<location filename="downloadmanager.hxx" line="63"/>
<source>The connection to the proxy timed out or the proxy did not reply in time to the request sent.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="63"/>
<location filename="downloadmanager.hxx" line="66"/>
<source>The proxy requires authentication in order to honour the request but did not accept any credentials offered (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="67"/>
<location filename="downloadmanager.hxx" line="70"/>
<source>The access to the remote content was denied (similar to HTTP error 401).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="70"/>
<location filename="downloadmanager.hxx" line="73"/>
<source>The operation requested on the remote content is not permitted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="73"/>
<location filename="downloadmanager.hxx" line="76"/>
<source>The remote content was not found at the server (similar to HTTP error 404).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="76"/>
<location filename="downloadmanager.hxx" line="79"/>
<source>The remote server requires authentication to serve the content but the credentials provided were not accepted (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="80"/>
<location filename="downloadmanager.hxx" line="83"/>
<source>The Network Access API cannot honor the request because the protocol is not known.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="83"/>
<location filename="downloadmanager.hxx" line="86"/>
<source>The requested operation is invalid for this protocol.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="85"/>
<location filename="downloadmanager.hxx" line="88"/>
<source>An unknown network-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="87"/>
<location filename="downloadmanager.hxx" line="90"/>
<source>An unknown proxy-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="89"/>
<location filename="downloadmanager.hxx" line="92"/>
<source>An unknonwn error related to the remote content was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="92"/>
<location filename="downloadmanager.hxx" line="95"/>
<source>A breakdown in protocol was detected (parsing error, invalid or unexpected responses, etc.).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="95"/>
<location filename="downloadmanager.hxx" line="98"/>
<source>&lt;strong&gt;Unknown network error (code: %1).&lt;/string&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="163"/>
<location filename="downloadmanager.hxx" line="166"/>
<source>&lt;h1&gt;Network Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="220"/>
<location filename="downloadmanager.hxx" line="223"/>
<source>&lt;h1&gt;SSL Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;&lt;table&gt;&lt;caption&gt;Certificate Issuer&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;caption&gt;Certificate Subject&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%14&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%15&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</source>
<translation type="unfinished"></translation>
</message>

@ -170,7 +170,7 @@
</message>
<message>
<location filename="browser.ui" line="292"/>
<location filename="browser.hxx" line="487"/>
<location filename="browser.hxx" line="540"/>
<source>New Tab</source>
<translation type="unfinished"></translation>
</message>
@ -332,137 +332,118 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="521"/>
<location filename="browser.hxx" line="259"/>
<source>Checking: %1</source>
<oldsource>Opening: %1</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="532"/>
<location filename="browser.hxx" line="270"/>
<source>Reading: %1</source>
<oldsource>Reading: %1%</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="571"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="534"/>
<location filename="browser.hxx" line="272"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="551"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="631"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="652"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<location filename="browser.hxx" line="262"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="895"/>
<source>Info: %1</source>
<location filename="browser.hxx" line="149"/>
<source>background-color: white</source>
<comment>search engines combobox</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="912"/>
<source>done.</source>
<location filename="browser.hxx" line="200"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1167"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<location filename="browser.hxx" line="201"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="524"/>
<source>Forbidden: %1</source>
<location filename="browser.hxx" line="263"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="151"/>
<source>background-color: white</source>
<comment>search engines combobox</comment>
<location filename="browser.hxx" line="264"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="202"/>
<source>SSL Not Supported</source>
<location filename="browser.hxx" line="554"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="203"/>
<source>SSL is not supported on your system</source>
<location filename="browser.hxx" line="555"/>
<source>http://www.google.com/search?hl=%2&amp;q=%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="525"/>
<source>Access Denied</source>
<location filename="browser.hxx" line="574"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="526"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<location filename="browser.hxx" line="591"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="552"/>
<source>http://www.google.com/search?hl=%2&amp;q=%1</source>
<location filename="browser.hxx" line="634"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="588"/>
<source>opening new window</source>
<location filename="browser.hxx" line="655"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="674"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="712"/>
<location filename="browser.hxx" line="726"/>
<location filename="browser.hxx" line="715"/>
<location filename="browser.hxx" line="729"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="734"/>
<location filename="browser.hxx" line="744"/>
<location filename="browser.hxx" line="737"/>
<location filename="browser.hxx" line="747"/>
<source>background-color: #ADA</source>
<oldsource>background-color: #7F7</oldsource>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="736"/>
<location filename="browser.hxx" line="746"/>
<location filename="browser.hxx" line="739"/>
<location filename="browser.hxx" line="749"/>
<source>background-color: #F77</source>
<oldsource>background-color: lightred</oldsource>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="776"/>
<location filename="browser.hxx" line="779"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="777"/>
<location filename="browser.hxx" line="780"/>
<source>%8
Version: %1
Builddate: %2
@ -471,53 +452,61 @@ Libraries:
%4
qt-%5 (%6)
openssl-%7</source>
<oldsource>SwissBrowser
Version: %1
Builddate: %2
Libraries:
%3
%4
qt-%5 (%6)
openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="890"/>
<location filename="browser.hxx" line="893"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1343"/>
<location filename="browser.hxx" line="898"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="915"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1170"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1346"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1419"/>
<location filename="browser.hxx" line="1422"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1436"/>
<location filename="browser.hxx" line="1439"/>
<location filename="browser.hxx" line="1442"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1446"/>
<location filename="browser.hxx" line="1449"/>
<location filename="browser.hxx" line="1452"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1464"/>
<location filename="browser.hxx" line="1467"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1476"/>
<location filename="browser.hxx" line="1479"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -630,129 +619,129 @@ openssl-%7</oldsource>
<context>
<name>DownloadManager</name>
<message>
<location filename="downloadmanager.hxx" line="32"/>
<location filename="downloadmanager.hxx" line="35"/>
<source>Network connection successful, remote host can be reached.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="35"/>
<location filename="downloadmanager.hxx" line="38"/>
<source>The remote server refused the connection (the server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="38"/>
<location filename="downloadmanager.hxx" line="41"/>
<source>The remote server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="41"/>
<location filename="downloadmanager.hxx" line="44"/>
<source>The remote host name was not found (invalid hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="43"/>
<location filename="downloadmanager.hxx" line="46"/>
<source>The connection to the remote server timed out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="45"/>
<location filename="downloadmanager.hxx" line="48"/>
<source>The operation was canceled via calls to abort() or close() before it was finished.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="48"/>
<location filename="downloadmanager.hxx" line="51"/>
<source>The SSL/TLS handshake failed and the encrypted channel could not be established. See SSL-Errors above.</source>
<oldsource>The SSL/TLS handshake failed and the encrypted channel could not be established. The sslErrors() signal should have been emitted.</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="51"/>
<location filename="downloadmanager.hxx" line="54"/>
<source>The connection to the proxy server was refused (the proxy server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="54"/>
<location filename="downloadmanager.hxx" line="57"/>
<source>The proxy server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="57"/>
<location filename="downloadmanager.hxx" line="60"/>
<source>The proxy host name was not found (invalid proxy hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="60"/>
<location filename="downloadmanager.hxx" line="63"/>
<source>The connection to the proxy timed out or the proxy did not reply in time to the request sent.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="63"/>
<location filename="downloadmanager.hxx" line="66"/>
<source>The proxy requires authentication in order to honour the request but did not accept any credentials offered (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="67"/>
<location filename="downloadmanager.hxx" line="70"/>
<source>The access to the remote content was denied (similar to HTTP error 401).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="70"/>
<location filename="downloadmanager.hxx" line="73"/>
<source>The operation requested on the remote content is not permitted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="73"/>
<location filename="downloadmanager.hxx" line="76"/>
<source>The remote content was not found at the server (similar to HTTP error 404).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="76"/>
<location filename="downloadmanager.hxx" line="79"/>
<source>The remote server requires authentication to serve the content but the credentials provided were not accepted (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="80"/>
<location filename="downloadmanager.hxx" line="83"/>
<source>The Network Access API cannot honor the request because the protocol is not known.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="83"/>
<location filename="downloadmanager.hxx" line="86"/>
<source>The requested operation is invalid for this protocol.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="85"/>
<location filename="downloadmanager.hxx" line="88"/>
<source>An unknown network-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="87"/>
<location filename="downloadmanager.hxx" line="90"/>
<source>An unknown proxy-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="89"/>
<location filename="downloadmanager.hxx" line="92"/>
<source>An unknonwn error related to the remote content was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="92"/>
<location filename="downloadmanager.hxx" line="95"/>
<source>A breakdown in protocol was detected (parsing error, invalid or unexpected responses, etc.).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="95"/>
<location filename="downloadmanager.hxx" line="98"/>
<source>&lt;strong&gt;Unknown network error (code: %1).&lt;/string&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="163"/>
<location filename="downloadmanager.hxx" line="166"/>
<source>&lt;h1&gt;Network Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;</source>
<oldsource>&lt;h1&gt;Network Error&lt;/h2&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="220"/>
<location filename="downloadmanager.hxx" line="223"/>
<source>&lt;h1&gt;SSL Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;&lt;table&gt;&lt;caption&gt;Certificate Issuer&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;caption&gt;Certificate Subject&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%14&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%15&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</source>
<oldsource>&lt;h1&gt;SSL Error&lt;/h2&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;&lt;table&gt;&lt;caption&gt;Certificate Issuer&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;caption&gt;Certificate Subject&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%14&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%15&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</oldsource>
<translation type="unfinished"></translation>

@ -190,7 +190,7 @@
</message>
<message>
<location filename="browser.ui" line="292"/>
<location filename="browser.hxx" line="487"/>
<location filename="browser.hxx" line="540"/>
<source>New Tab</source>
<translation type="unfinished"></translation>
</message>
@ -330,116 +330,116 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="151"/>
<location filename="browser.hxx" line="149"/>
<source>background-color: white</source>
<comment>search engines combobox</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="202"/>
<location filename="browser.hxx" line="200"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="203"/>
<location filename="browser.hxx" line="201"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="521"/>
<location filename="browser.hxx" line="259"/>
<source>Checking: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="524"/>
<location filename="browser.hxx" line="262"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="525"/>
<location filename="browser.hxx" line="263"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="526"/>
<location filename="browser.hxx" line="264"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="532"/>
<location filename="browser.hxx" line="270"/>
<source>Reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="534"/>
<location filename="browser.hxx" line="272"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="551"/>
<location filename="browser.hxx" line="554"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="552"/>
<location filename="browser.hxx" line="555"/>
<source>http://www.google.com/search?hl=%2&amp;q=%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="571"/>
<location filename="browser.hxx" line="574"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="588"/>
<location filename="browser.hxx" line="591"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="631"/>
<location filename="browser.hxx" line="634"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="652"/>
<location filename="browser.hxx" line="655"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="674"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="712"/>
<location filename="browser.hxx" line="726"/>
<location filename="browser.hxx" line="715"/>
<location filename="browser.hxx" line="729"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="734"/>
<location filename="browser.hxx" line="744"/>
<location filename="browser.hxx" line="737"/>
<location filename="browser.hxx" line="747"/>
<source>background-color: #ADA</source>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="736"/>
<location filename="browser.hxx" line="746"/>
<location filename="browser.hxx" line="739"/>
<location filename="browser.hxx" line="749"/>
<source>background-color: #F77</source>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="776"/>
<location filename="browser.hxx" line="779"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="777"/>
<location filename="browser.hxx" line="780"/>
<source>%8
Version: %1
Builddate: %2
@ -451,58 +451,58 @@ openssl-%7</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="890"/>
<location filename="browser.hxx" line="893"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="895"/>
<location filename="browser.hxx" line="898"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="912"/>
<location filename="browser.hxx" line="915"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1167"/>
<location filename="browser.hxx" line="1170"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1343"/>
<location filename="browser.hxx" line="1346"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1419"/>
<location filename="browser.hxx" line="1422"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1436"/>
<location filename="browser.hxx" line="1439"/>
<location filename="browser.hxx" line="1442"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1446"/>
<location filename="browser.hxx" line="1449"/>
<location filename="browser.hxx" line="1452"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1464"/>
<location filename="browser.hxx" line="1467"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1476"/>
<location filename="browser.hxx" line="1479"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -615,127 +615,127 @@ openssl-%7</source>
<context>
<name>DownloadManager</name>
<message>
<location filename="downloadmanager.hxx" line="32"/>
<location filename="downloadmanager.hxx" line="35"/>
<source>Network connection successful, remote host can be reached.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="35"/>
<location filename="downloadmanager.hxx" line="38"/>
<source>The remote server refused the connection (the server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="38"/>
<location filename="downloadmanager.hxx" line="41"/>
<source>The remote server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="41"/>
<location filename="downloadmanager.hxx" line="44"/>
<source>The remote host name was not found (invalid hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="43"/>
<location filename="downloadmanager.hxx" line="46"/>
<source>The connection to the remote server timed out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="45"/>
<location filename="downloadmanager.hxx" line="48"/>
<source>The operation was canceled via calls to abort() or close() before it was finished.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="48"/>
<location filename="downloadmanager.hxx" line="51"/>
<source>The SSL/TLS handshake failed and the encrypted channel could not be established. See SSL-Errors above.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="51"/>
<location filename="downloadmanager.hxx" line="54"/>
<source>The connection to the proxy server was refused (the proxy server is not accepting requests).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="54"/>
<location filename="downloadmanager.hxx" line="57"/>
<source>The proxy server closed the connection prematurely, before the entire reply was received and processed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="57"/>
<location filename="downloadmanager.hxx" line="60"/>
<source>The proxy host name was not found (invalid proxy hostname).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="60"/>
<location filename="downloadmanager.hxx" line="63"/>
<source>The connection to the proxy timed out or the proxy did not reply in time to the request sent.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="63"/>
<location filename="downloadmanager.hxx" line="66"/>
<source>The proxy requires authentication in order to honour the request but did not accept any credentials offered (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="67"/>
<location filename="downloadmanager.hxx" line="70"/>
<source>The access to the remote content was denied (similar to HTTP error 401).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="70"/>
<location filename="downloadmanager.hxx" line="73"/>
<source>The operation requested on the remote content is not permitted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="73"/>
<location filename="downloadmanager.hxx" line="76"/>
<source>The remote content was not found at the server (similar to HTTP error 404).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="76"/>
<location filename="downloadmanager.hxx" line="79"/>
<source>The remote server requires authentication to serve the content but the credentials provided were not accepted (if any).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="80"/>
<location filename="downloadmanager.hxx" line="83"/>
<source>The Network Access API cannot honor the request because the protocol is not known.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="83"/>
<location filename="downloadmanager.hxx" line="86"/>
<source>The requested operation is invalid for this protocol.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="85"/>
<location filename="downloadmanager.hxx" line="88"/>
<source>An unknown network-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="87"/>
<location filename="downloadmanager.hxx" line="90"/>
<source>An unknown proxy-related error was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="89"/>
<location filename="downloadmanager.hxx" line="92"/>
<source>An unknonwn error related to the remote content was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="92"/>
<location filename="downloadmanager.hxx" line="95"/>
<source>A breakdown in protocol was detected (parsing error, invalid or unexpected responses, etc.).</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="95"/>
<location filename="downloadmanager.hxx" line="98"/>
<source>&lt;strong&gt;Unknown network error (code: %1).&lt;/string&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="163"/>
<location filename="downloadmanager.hxx" line="166"/>
<source>&lt;h1&gt;Network Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadmanager.hxx" line="220"/>
<location filename="downloadmanager.hxx" line="223"/>
<source>&lt;h1&gt;SSL Error&lt;/h1&gt;&lt;dl&gt;&lt;dt&gt;URL:&lt;/dt&gt;&lt;dd&gt;%1&lt;/dd&gt;&lt;dt&gt;Error Code:&lt;/dt&gt;&lt;dd&gt;%3&lt;/dd&gt;&lt;dt&gt;Error Details:&lt;/dt&gt;&lt;dd&gt;%2&lt;/dd&gt;&lt;/dl&gt;&lt;table&gt;&lt;caption&gt;Certificate Issuer&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%9&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;caption&gt;Certificate Subject&lt;/caption&gt;&lt;tr&gt;&lt;th&gt;Organization:&lt;/th&gt;&lt;td&gt;%10&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Common Name:&lt;/th&gt;&lt;td&gt;%11&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Location:&lt;/th&gt;&lt;td&gt;%12&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Organizational Unit:&lt;/th&gt;&lt;td&gt;%13&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Country:&lt;/th&gt;&lt;td&gt;%14&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;State or Provive:&lt;/th&gt;&lt;td&gt;%15&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</source>
<translation type="unfinished"></translation>
</message>

@ -1,20 +0,0 @@
/*! @file
@id $Id$
*/
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
#include <webpage.hxx>
#include <browser.hxx>
QWebPage* WebPage::createWindow(WebWindowType type) {
switch (type) {
case QWebPage::WebBrowserWindow:
case QWebPage::WebModalDialog: {
return _browser->newTab()->page();
} break;
}
return 0;
}

@ -16,13 +16,24 @@
#define LOG qDebug()<<__PRETTY_FUNCTION__
#endif
class Browser;
class WebPage: public QWebPage {
Q_OBJECT;
signals:
void newPage(WebPage*);
public:
WebPage(Browser* b, QObject *parent = 0): QWebPage(parent), _browser(b) {}
WebPage(QObject *parent = 0): QWebPage(parent) {}
protected:
virtual QWebPage* createWindow(WebWindowType type);
virtual QWebPage* createWindow(WebWindowType type) {
switch (type) {
case QWebPage::WebBrowserWindow:
case QWebPage::WebModalDialog: {
WebPage *page(new WebPage);
newPage(page);
return page;
} break;
}
return 0;
}
virtual QString userAgentForUrl(const QUrl& url) const {
QString add(QProcessEnvironment::systemEnvironment()
.value("SWISSSURFER_USERAGENT"));
@ -37,8 +48,6 @@ class WebPage: public QWebPage {
<<"paramValues:"<<paramValues.join(", ");
return QWebPage::createPlugin(classid, url, paramNames, paramValues);
}
private:
Browser* _browser;
};
#endif

@ -0,0 +1,50 @@
/*! @file
@id $Id$
*/
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
#ifndef WEBVIEW_HXX
#define WEBVIEW_HXX
#include <webpage.hxx>
#include <pluginfactory.hxx>
#include <sslclientnetworkmanager.hxx>
#include <downloadmanager.hxx>
#include <QtWebKit>
#include <memory>
class WebView: public QWebView {
Q_OBJECT;
signals:
void newView(WebView*);
public:
WebView(WebPage* webpage) {
x(webpage); //! @bugfix, gcc does not yet support constructor calling
}
WebView(QWidget *parent=0): QWebView(parent) {
x(new WebPage); //! @bugfix, gcc does not yet support constructor calling
}
private:
//! @bugfix, gcc does not yet support constructor calling
/*! @see http://en.wikipedia.org/wiki/C++11#Object_construction_improvement
*/
void x(WebPage* webpage) {
webpage->setParent(this);
setPage(webpage);
page()->setPluginFactory(new PluginFactory);
page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
page()->setForwardUnsupportedContent(true);
assert(connect(page(), SIGNAL(newPage(WebPage*)),
SLOT(newPage(WebPage*))));
}
private slots:
void newPage(WebPage* p) {
newView(new WebView(p));
}
};
#endif
Loading…
Cancel
Save