set SWISSSURFER_USERAGENT e.g. to "Mozilla/5.0 (%Platform%; %Security%; %Subplatform%; %Locale%) AppleWebKit/%WebKitVersion% (KHTML, like Gecko) %AppVersion Safari/%WebKitVersion%"; closes #88

This commit is contained in:
Marc Wäckerlin
2011-06-29 06:52:18 +00:00
parent 313b75fbf0
commit 6d16b9e672
7 changed files with 166 additions and 159 deletions

View File

@@ -280,22 +280,22 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="694"/>
<location filename="browser.hxx" line="695"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="707"/>
<location filename="browser.hxx" line="708"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="707"/>
<location filename="browser.hxx" line="708"/>
<source>page load error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="960"/>
<location filename="browser.hxx" line="961"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@@ -338,7 +338,7 @@
</message>
<message>
<location filename="browser.hxx" line="634"/>
<source>SwissSurfer
<source>%8
Version: %1
Builddate: %2
Libraries:
@@ -346,8 +346,7 @@ Libraries:
%4
qt-%5 (%6)
openssl-%7</source>
<oldsource>SwissSurfer %1 (%2)
<oldsource>SwissSurfer
Version: %1
Builddate: %2
Libraries:
@@ -358,22 +357,22 @@ openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="689"/>
<location filename="browser.hxx" line="690"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1096"/>
<location filename="browser.hxx" line="1097"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1159"/>
<location filename="browser.hxx" line="1160"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1171"/>
<location filename="browser.hxx" line="1172"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@@ -681,7 +680,13 @@ openssl-%7</oldsource>
<context>
<name>QObject</name>
<message>
<location filename="main.cxx" line="307"/>
<location filename="main.cxx" line="253"/>
<source>SwissSurfer</source>
<comment>application name</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cxx" line="309"/>
<source>Usage: %1 [OPTIONS...] [&lt;url&gt; ...]
Options:
-h, --help show this help text
@@ -699,57 +704,44 @@ Options:
start &lt;tool&gt; for mimetype &lt;mime&gt;
&lt;url&gt; optional full URL
Environment:
LANGUAGE &quot;de&quot;, &quot;en&quot;, ... (actual: %5)
PROXY_TYPE &quot;http&quot; or &quot;socks&quot; or &quot;&quot; (actual: %2)
PROXY_PORT proxy port number (actual: %3)
PROXY_HOST proxy host name (actual: %4)
LANGUAGE &quot;de&quot;, &quot;en&quot;, ... (actual: %5)
PROXY_TYPE &quot;http&quot; or &quot;socks&quot; or &quot;&quot; (actual: %2)
PROXY_PORT proxy port number (actual: %3)
PROXY_HOST proxy host name (actual: %4)
SWISSSURFER_USERAGENT fake user agent (actual: %6)
%Platform% and %Subplatform% are expanded
to the windowing system and the operation
system. %Security% expands to U if SSL is
available, otherwise N. %Locale% is
replaced with locale name. %WebKitVersion%
is the version of WebKit the application
was compiled against. %AppVersion% expands
to application name/version
</source>
<oldsource>Usage: %1 [OPTIONS...] [&lt;url&gt; ...]
Options:
-h, --help show this help text
-k, --kiosk no url bar
if you sepcify -k and -s, -k must be first
-n, --no-settings don&apos;t load or store any settings
--no-login don&apos;t ask for smartcard password
-l, --lib &lt;file&gt; path to file libengine_act.so
-s, --settings &lt;file&gt;
load settings from &lt;file&gt;
if you sepcify -k and -s, -k must be first
-c, --cert &lt;file&gt; load local client certificate from &lt;file&gt;
-y, --key &lt;file&gt; load local certificate key from &lt;file&gt;
-m, --mime &lt;mime&gt; &lt;ext&gt; &lt;tool&gt;
start &lt;tool&gt; for mimetype &lt;mime&gt;
&lt;url&gt; optional full URL
Environment:
LANGUAGE &quot;de&quot;, &quot;en&quot;, ... (actual: %5)
PROXY_TYPE &quot;http&quot; or &quot;socks&quot; or &quot;&quot; (actual: %2)
PROXY_PORT proxy port number (actual: %3)
PROXY_HOST proxy host name (actual: %4)
</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cxx" line="352"/>
<location filename="main.cxx" line="363"/>
<source>Cannot read PEM certificate from file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cxx" line="358"/>
<location filename="main.cxx" line="369"/>
<source>Read PEM certificates from file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cxx" line="365"/>
<location filename="main.cxx" line="376"/>
<source>Cannot read PEM RSA key from file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cxx" line="370"/>
<location filename="main.cxx" line="381"/>
<source>Read private key from file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="main.cxx" line="381"/>
<location filename="main.cxx" line="392"/>
<source>Too few arguments.
Try: %1 --help</source>
<translation type="unfinished"></translation>