put webview in own class; refs #115

This commit is contained in:
Marc Wäckerlin
2012-02-03 13:04:41 +00:00
parent c7c879d0aa
commit 5e1d9243c5
11 changed files with 448 additions and 439 deletions

View File

@@ -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>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="895"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="912"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1167"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<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="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="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="552"/>
<location filename="browser.hxx" line="554"/>
<source>gg</source>
<translation type="unfinished"></translation>
</message>
<message>
<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="588"/>
<location filename="browser.hxx" line="574"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="591"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="634"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<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="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>