show PIN attempts if known, nothing if unknown; refs #37

This commit is contained in:
Marc Wäckerlin
2011-06-03 06:59:40 +00:00
parent b92ec55a79
commit 114878a9d0
8 changed files with 209 additions and 65 deletions

View File

@@ -510,8 +510,8 @@ Compiled: qt-%5</oldsource>
</message>
<message>
<location filename="pinentry.ui" line="26"/>
<source>Please enter your Certificate PIN to authenticate:</source>
<oldsource>Please enter your SwissSign Certificate PIN to authenticate yourself:</oldsource>
<source>Please enter your PIN to unlock Certificate:</source>
<oldsource>Please enter your Certificate PIN to authenticate:</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
@@ -565,12 +565,27 @@ Compiled: qt-%5</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="pinentry.ui" line="171"/>
<source>You have %1 tries left</source>
<location filename="pinentry.ui" line="192"/>
<location filename="pinentry.hxx" line="45"/>
<source>there are %1 PIN attempts left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="pinentry.ui" line="181"/>
<location filename="pinentry.ui" line="206"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;DejaVu Serif&apos;; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;sans-serif&apos;; font-size:24pt; color:#ff0000;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="pinentry.ui" line="223"/>
<source>certificate is bad or locked</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="pinentry.ui" line="175"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
@@ -582,12 +597,12 @@ p, li { white-space: pre-wrap; }
<context>
<name>QMessageBox</name>
<message>
<location filename="smartcardauth.hxx" line="221"/>
<location filename="smartcardauth.hxx" line="216"/>
<source>Wrong PIN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="smartcardauth.hxx" line="222"/>
<location filename="smartcardauth.hxx" line="217"/>
<source>Authentication failed, please try again.</source>
<translation type="unfinished"></translation>
</message>