Add form for second authorization (2fa) with checking transaction hashes in blockchain 231/head
authorPenek <if@penek.org>
Wed, 16 Sep 2015 13:48:25 +0000 (16:48 +0300)
committerPenek <if@penek.org>
Wed, 16 Sep 2015 13:48:25 +0000 (16:48 +0300)
novacoin-qt.pro
src/qt/bitcoingui.cpp
src/qt/bitcoingui.h
src/qt/forms/secondauthdialog.ui [new file with mode: 0644]
src/qt/locale/bitcoin_en.ts
src/qt/locale/bitcoin_ru.ts
src/qt/locale/bitcoin_uk.ts
src/qt/secondauthdialog.cpp [new file with mode: 0644]
src/qt/secondauthdialog.h [new file with mode: 0644]

index f540caf..1972f70 100644 (file)
@@ -268,7 +268,8 @@ HEADERS += src/qt/bitcoingui.h \
     src/clientversion.h \
     src/qt/multisigaddressentry.h \
     src/qt/multisiginputentry.h \
-    src/qt/multisigdialog.h
+    src/qt/multisigdialog.h \
+    src/qt/secondauthdialog.h
 
 SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
     src/qt/intro.cpp \
@@ -342,7 +343,8 @@ SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
     src/kernel.cpp \
     src/qt/multisigaddressentry.cpp \
     src/qt/multisiginputentry.cpp \
-    src/qt/multisigdialog.cpp
+    src/qt/multisigdialog.cpp \
+    src/qt/secondauthdialog.cpp
 
 RESOURCES += \
     src/qt/bitcoin.qrc
@@ -363,7 +365,8 @@ FORMS += \
     src/qt/forms/optionsdialog.ui \
     src/qt/forms/multisigaddressentry.ui \
     src/qt/forms/multisiginputentry.ui \
-    src/qt/forms/multisigdialog.ui
+    src/qt/forms/multisigdialog.ui \
+    src/qt/forms/secondauthdialog.ui
 
 contains(USE_QRCODE, 1) {
 HEADERS += src/qt/qrcodedialog.h
index 8b9e114..15c8075 100644 (file)
@@ -9,6 +9,7 @@
 #include "addressbookpage.h"
 #include "sendcoinsdialog.h"
 #include "signverifymessagedialog.h"
+#include "secondauthdialog.h"
 #include "multisigdialog.h"
 #include "optionsdialog.h"
 #include "aboutdialog.h"
@@ -77,6 +78,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
     clientModel(0),
     walletModel(0),
     signVerifyMessageDialog(0),
+    secondAuthDialog(0),
     multisigPage(0),
     encryptWalletAction(0),
     lockWalletAction(0),
@@ -137,6 +139,8 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
 
     signVerifyMessageDialog = new SignVerifyMessageDialog(0);
 
+    secondAuthDialog = new SecondAuthDialog(0);
+
     multisigPage = new MultisigDialog(0);
 
     centralWidget = new QStackedWidget(this);
@@ -229,6 +233,7 @@ BitcoinGUI::~BitcoinGUI()
     delete aboutDialog;
     delete optionsDialog;
     delete multisigPage;
+    delete secondAuthDialog;
     delete signVerifyMessageDialog;
 }
 
@@ -324,6 +329,8 @@ void BitcoinGUI::createActions()
     signMessageAction->setStatusTip(tr("Sign messages with your Novacoin addresses to prove you own them"));
     verifyMessageAction = new QAction(QIcon(":/icons/transaction_0"), tr("&Verify message..."), this);
     verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Novacoin addresses"));
+    secondAuthAction = new QAction(QIcon(":/icons/key"), tr("Second &auth..."), this);
+    secondAuthAction->setStatusTip(tr("Second auth with your Novacoin addresses"));
 
     lockWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Lock wallet"), this);
     lockWalletAction->setStatusTip(tr("Lock wallet"));
@@ -357,6 +364,7 @@ void BitcoinGUI::createActions()
     connect(changePassphraseAction, SIGNAL(triggered()), this, SLOT(changePassphrase()));
     connect(signMessageAction, SIGNAL(triggered()), this, SLOT(gotoSignMessageTab()));
     connect(verifyMessageAction, SIGNAL(triggered()), this, SLOT(gotoVerifyMessageTab()));
+    connect(secondAuthAction, SIGNAL(triggered()), this, SLOT(gotoSecondAuthPage()));
 }
 
 void BitcoinGUI::createMenuBar()
@@ -378,6 +386,7 @@ void BitcoinGUI::createMenuBar()
     file->addAction(exportAction);
     file->addAction(signMessageAction);
     file->addAction(verifyMessageAction);
+    file->addAction(secondAuthAction);
     file->addAction(multisigAction);
     file->addSeparator();
     file->addAction(quitAction);
@@ -478,6 +487,7 @@ void BitcoinGUI::setWalletModel(WalletModel *walletModel)
         receiveCoinsPage->setModel(walletModel->getAddressTableModel());
         sendCoinsPage->setModel(walletModel);
         signVerifyMessageDialog->setModel(walletModel);
+        secondAuthDialog->setModel(walletModel);
         multisigPage->setModel(walletModel);
 
         setEncryptionStatus(walletModel->getEncryptionStatus());
@@ -521,6 +531,7 @@ void BitcoinGUI::createTrayIcon()
     trayIconMenu->addSeparator();
     trayIconMenu->addAction(signMessageAction);
     trayIconMenu->addAction(verifyMessageAction);
+    trayIconMenu->addAction(secondAuthAction);
     trayIconMenu->addSeparator();
     trayIconMenu->addAction(optionsAction);
     trayIconMenu->addAction(openRPCConsoleAction);
@@ -931,6 +942,13 @@ void BitcoinGUI::gotoVerifyMessageTab(QString addr)
         signVerifyMessageDialog->setAddress_VM(addr);
 }
 
+void BitcoinGUI::gotoSecondAuthPage(QString addr)
+{
+    secondAuthDialog->show();
+    secondAuthDialog->raise();
+    secondAuthDialog->activateWindow();
+}
+
 void BitcoinGUI::gotoMultisigPage()
 {
     multisigPage->show();
index d27151a..20eb7ca 100644 (file)
@@ -13,6 +13,7 @@ class OverviewPage;
 class AddressBookPage;
 class SendCoinsDialog;
 class SignVerifyMessageDialog;
+class SecondAuthDialog;
 class MultisigDialog;
 class Notificator;
 class RPCConsole;
@@ -70,6 +71,7 @@ private:
     AddressBookPage *receiveCoinsPage;
     SendCoinsDialog *sendCoinsPage;
     SignVerifyMessageDialog *signVerifyMessageDialog;
+    SecondAuthDialog *secondAuthDialog;
     MultisigDialog *multisigPage;
 
     QLabel *labelEncryptionIcon;
@@ -88,6 +90,7 @@ private:
     QAction *addressBookAction;
     QAction *signMessageAction;
     QAction *verifyMessageAction;
+    QAction *secondAuthAction;
     QAction *multisigAction;
     QAction *aboutAction;
     QAction *receiveCoinsAction;
@@ -173,6 +176,9 @@ private slots:
     /** Show Sign/Verify Message dialog and switch to verify message tab */
     void gotoVerifyMessageTab(QString addr = "");
 
+    /** Show Second Auth dialog */
+    void gotoSecondAuthPage(QString addr = "");
+
     /** Show configuration dialog */
     void optionsClicked();
     /** Show about dialog */
diff --git a/src/qt/forms/secondauthdialog.ui b/src/qt/forms/secondauthdialog.ui
new file mode 100644 (file)
index 0000000..7d529fc
--- /dev/null
@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>SecondAuthDialog</class>
+ <widget class="QWidget" name="SecondAuthDialog">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>768</width>
+    <height>221</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Second Authentification</string>
+  </property>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <widget class="QLabel" name="infoLabel">
+     <property name="text">
+      <string>You can sign hash of transaction exists in the blockchain with your addresses.</string>
+     </property>
+     <property name="textFormat">
+      <enum>Qt::PlainText</enum>
+     </property>
+     <property name="wordWrap">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout">
+     <item>
+      <widget class="QValidatedLineEdit" name="addressIn">
+       <property name="toolTip">
+        <string>The address for authentification (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</string>
+       </property>
+       <property name="maxLength">
+        <number>34</number>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="addressBookButton">
+       <property name="toolTip">
+        <string>Choose an address from the address book</string>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
+       </property>
+       <property name="shortcut">
+        <string>Alt+A</string>
+       </property>
+       <property name="autoDefault">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_2">
+     <item>
+      <widget class="QLineEdit" name="messageIn">
+       <property name="maxLength">
+        <number>64</number>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="pasteButton">
+       <property name="toolTip">
+        <string>Paste hash from clipboard</string>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>
+       </property>
+       <property name="shortcut">
+        <string>Alt+P</string>
+       </property>
+       <property name="autoDefault">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_3">
+     <property name="spacing">
+      <number>6</number>
+     </property>
+     <item>
+      <widget class="QLineEdit" name="signatureOut">
+       <property name="font">
+        <font>
+         <italic>true</italic>
+        </font>
+       </property>
+       <property name="readOnly">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="copySignatureButton">
+       <property name="toolTip">
+        <string>Copy the current signature to the system clipboard</string>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>
+       </property>
+       <property name="shortcut">
+        <string>Alt+C</string>
+       </property>
+       <property name="autoDefault">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout_4">
+     <item>
+      <widget class="QPushButton" name="signMessageButton">
+       <property name="toolTip">
+        <string>Sign the hash</string>
+       </property>
+       <property name="text">
+        <string>&amp;Sign Data</string>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
+       </property>
+       <property name="autoDefault">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="clearButton">
+       <property name="toolTip">
+        <string>Reset all sign message fields</string>
+       </property>
+       <property name="text">
+        <string>Clear &amp;All</string>
+       </property>
+       <property name="icon">
+        <iconset resource="../bitcoin.qrc">
+         <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset>
+       </property>
+       <property name="autoDefault">
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>10</width>
+         <height>48</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QLabel" name="statusLabel">
+       <property name="font">
+        <font>
+         <weight>75</weight>
+         <bold>true</bold>
+        </font>
+       </property>
+       <property name="text">
+        <string/>
+       </property>
+       <property name="wordWrap">
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_2">
+       <property name="orientation">
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0">
+        <size>
+         <width>40</width>
+         <height>48</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>QValidatedLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>qvalidatedlineedit.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="../bitcoin.qrc"/>
+ </resources>
+ <connections/>
+</ui>
index 3505128..1fe2b2d 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<TS version="2.1" language="en">
+<TS version="2.0" language="en">
+<defaultcodec>UTF-8</defaultcodec>
 <context>
     <name>AboutDialog</name>
     <message>
@@ -33,7 +34,7 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
     </message>
     <message>
         <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;This is experimental software.&lt;/p&gt;&lt;p&gt;Distributed under the MIT/X11 software license, see the accompanying file COPYING or &lt;br/&gt;&lt;a href=&quot;http://www.opensource.org/licenses/mit-license.php&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.opensource.org/licenses/mit-license.php&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (&lt;a href=&quot;http://www.openssl.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.openssl.org/&lt;/span&gt;&lt;/a&gt;) and cryptographic software written by Eric Young (&lt;a href=&quot;mailto:eay@cryptsoft.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;eay@cryptsoft.com&lt;/span&gt;&lt;/a&gt;) and UPnP software written by Thomas Bernard(&lt;a href=&quot;mailto:miniupnp@free.fr&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;miniupnp@free.fr&lt;/span&gt;&lt;/a&gt;).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
-        <translation type="vanished">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;This is experimental software.&lt;/p&gt;&lt;p&gt;Distributed under the MIT/X11 software license, see the accompanying file COPYING or &lt;br/&gt;&lt;a href=&quot;http://www.opensource.org/licenses/mit-license.php&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.opensource.org/licenses/mit-license.php&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (&lt;a href=&quot;http://www.openssl.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.openssl.org/&lt;/span&gt;&lt;/a&gt;) and cryptographic software written by Eric Young (&lt;a href=&quot;mailto:eay@cryptsoft.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;eay@cryptsoft.com&lt;/span&gt;&lt;/a&gt;) and UPnP software written by Thomas Bernard(&lt;a href=&quot;mailto:miniupnp@free.fr&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;miniupnp@free.fr&lt;/span&gt;&lt;/a&gt;).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+        <translation type="obsolete">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;This is experimental software.&lt;/p&gt;&lt;p&gt;Distributed under the MIT/X11 software license, see the accompanying file COPYING or &lt;br/&gt;&lt;a href=&quot;http://www.opensource.org/licenses/mit-license.php&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.opensource.org/licenses/mit-license.php&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (&lt;a href=&quot;http://www.openssl.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.openssl.org/&lt;/span&gt;&lt;/a&gt;) and cryptographic software written by Eric Young (&lt;a href=&quot;mailto:eay@cryptsoft.com&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;eay@cryptsoft.com&lt;/span&gt;&lt;/a&gt;) and UPnP software written by Thomas Bernard(&lt;a href=&quot;mailto:miniupnp@free.fr&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;miniupnp@free.fr&lt;/span&gt;&lt;/a&gt;).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
     </message>
 </context>
 <context>
@@ -318,296 +319,306 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         <translation>A fatal error occurred. NovaCoin can no longer continue safely and will quit.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="94"/>
-        <location filename="../bitcoingui.cpp" line="725"/>
+        <location filename="../bitcoingui.cpp" line="96"/>
+        <location filename="../bitcoingui.cpp" line="736"/>
         <source>NovaCoin</source>
         <translation>NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="94"/>
+        <location filename="../bitcoingui.cpp" line="96"/>
         <source>Wallet</source>
         <translation>Wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="239"/>
+        <location filename="../bitcoingui.cpp" line="244"/>
         <source>&amp;Overview</source>
         <translation>&amp;Overview</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="240"/>
+        <location filename="../bitcoingui.cpp" line="245"/>
         <source>Show general overview of wallet</source>
         <translation>Show general overview of wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="245"/>
+        <location filename="../bitcoingui.cpp" line="250"/>
         <source>&amp;Send coins</source>
         <translation>&amp;Send coins</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="246"/>
+        <location filename="../bitcoingui.cpp" line="251"/>
         <source>Send coins to a NovaCoin address</source>
         <translation>Send coins to a NovaCoin address</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="251"/>
+        <location filename="../bitcoingui.cpp" line="256"/>
         <source>&amp;Receive coins</source>
         <translation>&amp;Receive coins</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="252"/>
+        <location filename="../bitcoingui.cpp" line="257"/>
         <source>Show the list of addresses for receiving payments</source>
         <translation>Show the list of addresses for receiving payments</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="257"/>
+        <location filename="../bitcoingui.cpp" line="262"/>
         <source>&amp;Transactions</source>
         <translation>&amp;Transactions</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="258"/>
+        <location filename="../bitcoingui.cpp" line="263"/>
         <source>Browse transaction history</source>
         <translation>Browse transaction history</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="263"/>
+        <location filename="../bitcoingui.cpp" line="268"/>
         <source>&amp;Minting</source>
         <translation>&amp;Minting</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="264"/>
+        <location filename="../bitcoingui.cpp" line="269"/>
         <source>Show your minting capacity</source>
         <translation>Show your minting capacity</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="269"/>
+        <location filename="../bitcoingui.cpp" line="274"/>
         <source>&amp;Address Book</source>
         <translation>&amp;Address Book</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="270"/>
+        <location filename="../bitcoingui.cpp" line="275"/>
         <source>Edit the list of stored addresses and labels</source>
         <translation>Edit the list of stored addresses and labels</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="275"/>
+        <location filename="../bitcoingui.cpp" line="280"/>
         <source>Multisig</source>
         <translation>Multisig</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="276"/>
+        <location filename="../bitcoingui.cpp" line="281"/>
         <source>Open window for working with multisig addresses</source>
         <translation>Open window for working with multisig addresses</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="294"/>
+        <location filename="../bitcoingui.cpp" line="299"/>
         <source>E&amp;xit</source>
         <translation>E&amp;xit</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="295"/>
+        <location filename="../bitcoingui.cpp" line="300"/>
         <source>Quit application</source>
         <translation>Quit application</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="298"/>
+        <location filename="../bitcoingui.cpp" line="303"/>
         <source>&amp;About NovaCoin</source>
         <translation>&amp;About NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="299"/>
+        <location filename="../bitcoingui.cpp" line="304"/>
         <source>Show information about NovaCoin</source>
         <translation>Show information about NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="302"/>
-        <location filename="../bitcoingui.cpp" line="304"/>
+        <location filename="../bitcoingui.cpp" line="307"/>
+        <location filename="../bitcoingui.cpp" line="309"/>
         <source>About &amp;Qt</source>
         <translation>About &amp;Qt</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="306"/>
+        <location filename="../bitcoingui.cpp" line="311"/>
         <source>Show information about Qt</source>
         <translation>Show information about Qt</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="308"/>
+        <location filename="../bitcoingui.cpp" line="313"/>
         <source>&amp;Options...</source>
         <translation>&amp;Options...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="309"/>
+        <location filename="../bitcoingui.cpp" line="314"/>
         <source>Modify configuration options for NovaCoin</source>
         <translation>Modify configuration options for NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="311"/>
+        <location filename="../bitcoingui.cpp" line="316"/>
         <source>&amp;Show / Hide</source>
         <translation>&amp;Show / Hide</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="312"/>
+        <location filename="../bitcoingui.cpp" line="317"/>
         <source>&amp;Encrypt Wallet...</source>
         <translation>&amp;Encrypt Wallet...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="313"/>
+        <location filename="../bitcoingui.cpp" line="318"/>
         <source>Encrypt or decrypt wallet</source>
         <translation>Encrypt or decrypt wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="315"/>
+        <location filename="../bitcoingui.cpp" line="320"/>
         <source>&amp;Backup Wallet...</source>
         <translation>&amp;Backup Wallet...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="316"/>
+        <location filename="../bitcoingui.cpp" line="321"/>
         <source>Backup wallet to another location</source>
         <translation>Backup wallet to another location</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="317"/>
+        <location filename="../bitcoingui.cpp" line="322"/>
         <source>&amp;Dump Wallet...</source>
         <translation>&amp;Dump Wallet...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="318"/>
+        <location filename="../bitcoingui.cpp" line="323"/>
         <source>Dump keys to a text file</source>
         <translation>Dump keys to a text file</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="319"/>
+        <location filename="../bitcoingui.cpp" line="324"/>
         <source>&amp;Import Wallet...</source>
         <translation>&amp;Import Wallet...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="320"/>
+        <location filename="../bitcoingui.cpp" line="325"/>
         <source>Import keys into a wallet</source>
         <translation>Import keys into a wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="321"/>
+        <location filename="../bitcoingui.cpp" line="326"/>
         <source>&amp;Change Passphrase...</source>
         <translation>&amp;Change Passphrase...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="322"/>
+        <location filename="../bitcoingui.cpp" line="327"/>
         <source>Change the passphrase used for wallet encryption</source>
         <translation>Change the passphrase used for wallet encryption</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="323"/>
+        <location filename="../bitcoingui.cpp" line="328"/>
         <source>Sign &amp;message...</source>
         <translation>Sign &amp;message...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="324"/>
+        <location filename="../bitcoingui.cpp" line="329"/>
         <source>Sign messages with your Novacoin addresses to prove you own them</source>
         <translation>Sign messages with your Novacoin addresses to prove you own them</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="325"/>
+        <location filename="../bitcoingui.cpp" line="330"/>
         <source>&amp;Verify message...</source>
         <translation>&amp;Verify message...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="326"/>
+        <location filename="../bitcoingui.cpp" line="331"/>
         <source>Verify messages to ensure they were signed with specified Novacoin addresses</source>
         <translation>Verify messages to ensure they were signed with specified Novacoin addresses</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="328"/>
+        <location filename="../bitcoingui.cpp" line="332"/>
+        <source>Second &amp;auth...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../bitcoingui.cpp" line="333"/>
+        <source>Second auth with your Novacoin addresses</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../bitcoingui.cpp" line="335"/>
         <source>&amp;Lock wallet</source>
         <translation>&amp;Lock wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="329"/>
+        <location filename="../bitcoingui.cpp" line="336"/>
         <source>Lock wallet</source>
         <translation>Lock wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="332"/>
+        <location filename="../bitcoingui.cpp" line="339"/>
         <source>Unlo&amp;ck wallet</source>
         <translation>Unlo&amp;ck wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="333"/>
+        <location filename="../bitcoingui.cpp" line="340"/>
         <source>Unlock wallet</source>
         <translation>Unlock wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="336"/>
+        <location filename="../bitcoingui.cpp" line="343"/>
         <source>Unlo&amp;ck wallet for mining</source>
         <translation>Unlo&amp;ck wallet for mining</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="337"/>
+        <location filename="../bitcoingui.cpp" line="344"/>
         <source>Unlock wallet for mining</source>
         <translation>Unlock wallet for mining</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="340"/>
+        <location filename="../bitcoingui.cpp" line="347"/>
         <source>&amp;Export...</source>
         <translation>&amp;Export...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="341"/>
+        <location filename="../bitcoingui.cpp" line="348"/>
         <source>Export the data in the current tab to a file</source>
         <translation>Export the data in the current tab to a file</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="342"/>
+        <location filename="../bitcoingui.cpp" line="349"/>
         <source>&amp;Debug window</source>
         <translation>&amp;Debug window</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="343"/>
+        <location filename="../bitcoingui.cpp" line="350"/>
         <source>Open debugging and diagnostic console</source>
         <translation>Open debugging and diagnostic console</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="373"/>
+        <location filename="../bitcoingui.cpp" line="381"/>
         <source>&amp;File</source>
         <translation>&amp;File</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="385"/>
+        <location filename="../bitcoingui.cpp" line="394"/>
         <source>&amp;Settings</source>
         <translation>&amp;Settings</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="386"/>
+        <location filename="../bitcoingui.cpp" line="395"/>
         <source>&amp;Wallet security</source>
         <translation>&amp;Wallet security</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="394"/>
+        <location filename="../bitcoingui.cpp" line="403"/>
         <source>&amp;Help</source>
         <translation>&amp;Help</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="403"/>
+        <location filename="../bitcoingui.cpp" line="412"/>
         <source>Tabs toolbar</source>
         <translation>Tabs toolbar</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="412"/>
+        <location filename="../bitcoingui.cpp" line="421"/>
         <source>Actions toolbar</source>
         <translation>Actions toolbar</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="427"/>
         <location filename="../bitcoingui.cpp" line="436"/>
+        <location filename="../bitcoingui.cpp" line="445"/>
         <source>[testnet]</source>
         <translation>[testnet]</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="436"/>
-        <location filename="../bitcoingui.cpp" line="503"/>
+        <location filename="../bitcoingui.cpp" line="445"/>
+        <location filename="../bitcoingui.cpp" line="513"/>
         <source>NovaCoin client</source>
         <translation>NovaCoin client</translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="575"/>
+        <location filename="../bitcoingui.cpp" line="586"/>
         <source>%n active connection(s) to NovaCoin network</source>
         <translation>
             <numerusform>%n active connection to NovaCoin network</numerusform>
@@ -615,12 +626,12 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="599"/>
+        <location filename="../bitcoingui.cpp" line="610"/>
         <source>Synchronizing with network...</source>
         <translation>Synchronizing with network...</translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="601"/>
+        <location filename="../bitcoingui.cpp" line="612"/>
         <source>~%n block(s) remaining</source>
         <translation>
             <numerusform>~%n block remaining</numerusform>
@@ -628,27 +639,27 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="607"/>
+        <location filename="../bitcoingui.cpp" line="618"/>
         <source>Downloaded %1 of %2 blocks of transaction history (%3% done).</source>
         <translation>Downloaded %1 of %2 blocks of transaction history (%3% done).</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="615"/>
+        <location filename="../bitcoingui.cpp" line="626"/>
         <source>Downloaded %1 blocks of transaction history.</source>
         <translation>Downloaded %1 blocks of transaction history.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="626"/>
+        <location filename="../bitcoingui.cpp" line="637"/>
         <source>Current PoW difficulty is %1.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="627"/>
+        <location filename="../bitcoingui.cpp" line="638"/>
         <source>Current PoS difficulty is %1.</source>
         <translation type="unfinished"></translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="640"/>
+        <location filename="../bitcoingui.cpp" line="651"/>
         <source>%n second(s) ago</source>
         <translation>
             <numerusform>%n second ago</numerusform>
@@ -656,7 +667,7 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="644"/>
+        <location filename="../bitcoingui.cpp" line="655"/>
         <source>%n minute(s) ago</source>
         <translation>
             <numerusform>%n minute ago</numerusform>
@@ -664,7 +675,7 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="648"/>
+        <location filename="../bitcoingui.cpp" line="659"/>
         <source>%n hour(s) ago</source>
         <translation>
             <numerusform>%n hour ago</numerusform>
@@ -672,7 +683,7 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="652"/>
+        <location filename="../bitcoingui.cpp" line="663"/>
         <source>%n day(s) ago</source>
         <translation>
             <numerusform>%n day ago</numerusform>
@@ -680,86 +691,86 @@ Copyright © 2012-2015 The NovaCoin developers</translation>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="658"/>
+        <location filename="../bitcoingui.cpp" line="669"/>
         <source>Up to date</source>
         <translation>Up to date</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="665"/>
+        <location filename="../bitcoingui.cpp" line="676"/>
         <source>Catching up...</source>
         <translation>Catching up...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="675"/>
+        <location filename="../bitcoingui.cpp" line="686"/>
         <source>Last received block was generated %1.</source>
         <translation>Last received block was generated %1.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="695"/>
+        <location filename="../bitcoingui.cpp" line="706"/>
         <source>Wallet is offline</source>
         <translation>Wallet is offline</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="701"/>
+        <location filename="../bitcoingui.cpp" line="712"/>
         <source>Wallet is locked</source>
         <translation>Wallet is locked</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="707"/>
+        <location filename="../bitcoingui.cpp" line="718"/>
         <source>Blockchain download is in progress</source>
         <translation>Blockchain download is in progress</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="717"/>
+        <location filename="../bitcoingui.cpp" line="728"/>
         <source>Stake miner is active&lt;br&gt;%1 inputs being used for mining&lt;br&gt;Network weight is %3</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
         <source>Stake miner is active&lt;br&gt;Kernel rate is %1 k/s&lt;br&gt;CD rate is %2 CD/s&lt;br&gt;Network weight is %3</source>
-        <translation type="vanished">Stake miner is active&lt;br&gt;Kernel rate is %1 k/s&lt;br&gt;CD rate is %2 CD/s&lt;br&gt;Network weight is %3</translation>
+        <translation type="obsolete">Stake miner is active&lt;br&gt;Kernel rate is %1 k/s&lt;br&gt;CD rate is %2 CD/s&lt;br&gt;Network weight is %3</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="720"/>
+        <location filename="../bitcoingui.cpp" line="731"/>
         <source>No suitable inputs were found</source>
         <translation>No suitable inputs were found</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="734"/>
+        <location filename="../bitcoingui.cpp" line="745"/>
         <source>Error</source>
         <translation>Error</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="737"/>
+        <location filename="../bitcoingui.cpp" line="748"/>
         <source>Warning</source>
         <translation>Warning</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="740"/>
+        <location filename="../bitcoingui.cpp" line="751"/>
         <source>Information</source>
         <translation>Information</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="812"/>
+        <location filename="../bitcoingui.cpp" line="823"/>
         <source>This transaction is over the size limit.  You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network.  Do you want to pay the fee?</source>
         <translation>This transaction is over the size limit.  You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network.  Do you want to pay the fee?</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="817"/>
+        <location filename="../bitcoingui.cpp" line="828"/>
         <source>Confirm transaction fee</source>
         <translation>Confirm transaction fee</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="844"/>
+        <location filename="../bitcoingui.cpp" line="855"/>
         <source>Sent transaction</source>
         <translation>Sent transaction</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="845"/>
+        <location filename="../bitcoingui.cpp" line="856"/>
         <source>Incoming transaction</source>
         <translation>Incoming transaction</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="846"/>
+        <location filename="../bitcoingui.cpp" line="857"/>
         <source>Date: %1
 Amount: %2
 Type: %3
@@ -772,94 +783,94 @@ Address: %4
 </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="964"/>
-        <location filename="../bitcoingui.cpp" line="979"/>
+        <location filename="../bitcoingui.cpp" line="982"/>
+        <location filename="../bitcoingui.cpp" line="997"/>
         <source>URI handling</source>
         <translation>URI handling</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="964"/>
-        <location filename="../bitcoingui.cpp" line="979"/>
+        <location filename="../bitcoingui.cpp" line="982"/>
+        <location filename="../bitcoingui.cpp" line="997"/>
         <source>URI can not be parsed! This can be caused by an invalid NovaCoin address or malformed URI parameters.</source>
         <translation>URI can not be parsed! This can be caused by an invalid NovaCoin address or malformed URI parameters.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="998"/>
+        <location filename="../bitcoingui.cpp" line="1016"/>
         <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source>
         <translation>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1017"/>
+        <location filename="../bitcoingui.cpp" line="1035"/>
         <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source>
         <translation>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1066"/>
+        <location filename="../bitcoingui.cpp" line="1084"/>
         <source>Backup Wallet</source>
         <translation>Backup Wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1066"/>
+        <location filename="../bitcoingui.cpp" line="1084"/>
         <source>Wallet Data (*.dat)</source>
         <translation>Wallet Data (*.dat)</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1069"/>
+        <location filename="../bitcoingui.cpp" line="1087"/>
         <source>Backup Failed</source>
         <translation>Backup Failed</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1069"/>
+        <location filename="../bitcoingui.cpp" line="1087"/>
         <source>There was an error trying to save the wallet data to the new location.</source>
         <translation>There was an error trying to save the wallet data to the new location.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1091"/>
+        <location filename="../bitcoingui.cpp" line="1109"/>
         <source>Dump Wallet</source>
         <translation>There was an error trying to save the wallet data to the new location.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1091"/>
-        <location filename="../bitcoingui.cpp" line="1124"/>
+        <location filename="../bitcoingui.cpp" line="1109"/>
+        <location filename="../bitcoingui.cpp" line="1142"/>
         <source>Wallet dump (*.txt)</source>
         <translation>Wallet dump (*.txt)</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1094"/>
+        <location filename="../bitcoingui.cpp" line="1112"/>
         <source>Dump failed</source>
         <translation>Dump failed</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1095"/>
+        <location filename="../bitcoingui.cpp" line="1113"/>
         <source>An error happened while trying to save the keys to your location.
 Keys were not saved.</source>
         <translation>An error happened while trying to save the keys to your location.
 Keys were not saved.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1100"/>
+        <location filename="../bitcoingui.cpp" line="1118"/>
         <source>Dump successful</source>
         <translation>Dump successful</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1101"/>
+        <location filename="../bitcoingui.cpp" line="1119"/>
         <source>Keys were saved to this file:
 %2</source>
         <translation>Keys were saved to this file:
 %2</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1124"/>
+        <location filename="../bitcoingui.cpp" line="1142"/>
         <source>Import Wallet</source>
         <translation>Import Wallet</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1127"/>
+        <location filename="../bitcoingui.cpp" line="1145"/>
         <source>Import Failed</source>
         <translation>Import Failed</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1128"/>
+        <location filename="../bitcoingui.cpp" line="1146"/>
         <source>An error happened while trying to import the keys.
 Some or all keys from:
  %1,
@@ -870,12 +881,12 @@ Some or all keys from:
  were not imported into your wallet.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1134"/>
+        <location filename="../bitcoingui.cpp" line="1152"/>
         <source>Import Successful</source>
         <translation>Import Successful</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1135"/>
+        <location filename="../bitcoingui.cpp" line="1153"/>
         <source>All keys from:
  %1,
  were imported into your wallet.</source>
@@ -906,7 +917,7 @@ Some or all keys from:
     </message>
     <message>
         <source>0</source>
-        <translation type="vanished">0</translation>
+        <translation type="obsolete">0</translation>
     </message>
     <message>
         <location filename="../forms/coincontroldialog.ui" line="77"/>
@@ -920,7 +931,7 @@ Some or all keys from:
     </message>
     <message>
         <source>0.00 NVC</source>
-        <translation type="vanished">0.00 NVC</translation>
+        <translation type="obsolete">0.00 NVC</translation>
     </message>
     <message>
         <location filename="../forms/coincontroldialog.ui" line="157"/>
@@ -1711,7 +1722,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
     </message>
     <message>
         <source>/ 1</source>
-        <translation type="vanished">/ 1</translation>
+        <translation type="obsolete">/ 1</translation>
     </message>
     <message>
         <location filename="../forms/multisigdialog.ui" line="183"/>
@@ -1775,11 +1786,11 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
     </message>
     <message>
         <source>123.456</source>
-        <translation type="vanished">123.456</translation>
+        <translation type="obsolete">123.456</translation>
     </message>
     <message>
         <source>NVC</source>
-        <translation type="vanished">NVC</translation>
+        <translation type="obsolete">NVC</translation>
     </message>
     <message>
         <location filename="../forms/multisigdialog.ui" line="413"/>
@@ -2637,6 +2648,141 @@ Reduce the number of addresses involved in the address creation.</translation>
     </message>
 </context>
 <context>
+    <name>SecondAuthDialog</name>
+    <message>
+        <source>Signatures - Sign / Verify a Message</source>
+        <translation type="obsolete">Signatures - Sign / Verify a Message</translation>
+    </message>
+    <message>
+        <source>The address to sign the message with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="obsolete">The address to sign the message with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="48"/>
+        <source>Choose an address from the address book</source>
+        <translation type="unfinished">Choose an address from the address book</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="58"/>
+        <source>Alt+A</source>
+        <translation type="unfinished">Alt+A</translation>
+    </message>
+    <message>
+        <source>Paste address from clipboard</source>
+        <translation type="obsolete">Paste address from clipboard</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="17"/>
+        <source>Second Authentication</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="23"/>
+        <source>You can sign hash of transaction exists in the blockchain with your addresses.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="38"/>
+        <source>The address for authentification (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="79"/>
+        <source>Paste hash from clipboard</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="89"/>
+        <source>Alt+P</source>
+        <translation type="unfinished">Alt+P</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="118"/>
+        <source>Copy the current signature to the system clipboard</source>
+        <translation type="unfinished">Copy the current signature to the system clipboard</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="128"/>
+        <source>Alt+C</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="142"/>
+        <source>Sign the hash</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Sign the message to prove you own this NovaCoin address</source>
+        <translation type="obsolete">Sign the message to prove you own this NovaCoin address</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="145"/>
+        <source>&amp;Sign Data</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="159"/>
+        <source>Reset all sign message fields</source>
+        <translation type="unfinished">Reset all sign message fields</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="162"/>
+        <source>Clear &amp;All</source>
+        <translation type="unfinished">Clear &amp;All</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="29"/>
+        <source>Enter a NovaCoin address (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="unfinished">Enter a NovaCoin address (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="30"/>
+        <source>Click &quot;Sign data&quot; to generate signature</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="80"/>
+        <source>The entered address is invalid.</source>
+        <translation type="unfinished">The entered address is invalid.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="80"/>
+        <location filename="../secondauthdialog.cpp" line="89"/>
+        <source>Please check the address and try again.</source>
+        <translation type="unfinished">Please check the address and try again.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="89"/>
+        <source>The entered address does not refer to a key.</source>
+        <translation type="unfinished">The entered address does not refer to a key.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="97"/>
+        <source>Wallet unlock was cancelled.</source>
+        <translation type="unfinished">Wallet unlock was cancelled.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="105"/>
+        <source>Private key for the entered address is not available.</source>
+        <translation type="unfinished">Private key for the entered address is not available.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="115"/>
+        <source>No information available about transaction.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="127"/>
+        <source>Message signing failed.</source>
+        <translation type="unfinished">Message signing failed.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="132"/>
+        <source>Message signed.</source>
+        <translation type="unfinished">Message signed.</translation>
+    </message>
+</context>
+<context>
     <name>SendCoinsDialog</name>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="14"/>
@@ -2677,7 +2823,7 @@ Reduce the number of addresses involved in the address creation.</translation>
     </message>
     <message>
         <source>0</source>
-        <translation type="vanished">0</translation>
+        <translation type="obsolete">0</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="251"/>
@@ -2691,7 +2837,7 @@ Reduce the number of addresses involved in the address creation.</translation>
     </message>
     <message>
         <source>0.00 NVC</source>
-        <translation type="vanished">0.00 NVC</translation>
+        <translation type="obsolete">0.00 NVC</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="337"/>
@@ -2780,7 +2926,7 @@ Reduce the number of addresses involved in the address creation.</translation>
     </message>
     <message>
         <source>123.456 NVC</source>
-        <translation type="vanished">123.456 NVC</translation>
+        <translation type="obsolete">123.456 NVC</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="772"/>
index bfaa6bf..3b9f27e 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<TS version="2.1" language="ru_RU">
+<TS version="2.0" language="ru_RU">
+<defaultcodec>UTF-8</defaultcodec>
 <context>
     <name>AboutDialog</name>
     <message>
@@ -314,296 +315,306 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         <translation>Произошла неисправимая ошибка. NovaCoin не может безопасно продолжать работу и будет закрыт.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="94"/>
-        <location filename="../bitcoingui.cpp" line="725"/>
+        <location filename="../bitcoingui.cpp" line="96"/>
+        <location filename="../bitcoingui.cpp" line="736"/>
         <source>NovaCoin</source>
         <translation>NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="94"/>
+        <location filename="../bitcoingui.cpp" line="96"/>
         <source>Wallet</source>
         <translation>Бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="239"/>
+        <location filename="../bitcoingui.cpp" line="244"/>
         <source>&amp;Overview</source>
         <translation>О&amp;бзор</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="240"/>
+        <location filename="../bitcoingui.cpp" line="245"/>
         <source>Show general overview of wallet</source>
         <translation>Показать общий обзор действий с бумажником</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="245"/>
+        <location filename="../bitcoingui.cpp" line="250"/>
         <source>&amp;Send coins</source>
         <translation>Отп&amp;равка монет</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="246"/>
+        <location filename="../bitcoingui.cpp" line="251"/>
         <source>Send coins to a NovaCoin address</source>
         <translation>Отправить монеты на указанный адрес NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="251"/>
+        <location filename="../bitcoingui.cpp" line="256"/>
         <source>&amp;Receive coins</source>
         <translation>&amp;Получение монет</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="252"/>
+        <location filename="../bitcoingui.cpp" line="257"/>
         <source>Show the list of addresses for receiving payments</source>
         <translation>Показать список адресов для получения платежей</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="257"/>
+        <location filename="../bitcoingui.cpp" line="262"/>
         <source>&amp;Transactions</source>
         <translation>&amp;Транзакции</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="258"/>
+        <location filename="../bitcoingui.cpp" line="263"/>
         <source>Browse transaction history</source>
         <translation>Показать историю транзакций</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="263"/>
+        <location filename="../bitcoingui.cpp" line="268"/>
         <source>&amp;Minting</source>
         <translation>&amp;PoS</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="264"/>
+        <location filename="../bitcoingui.cpp" line="269"/>
         <source>Show your minting capacity</source>
         <translation>Показать ваш PoS потенциал</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="269"/>
+        <location filename="../bitcoingui.cpp" line="274"/>
         <source>&amp;Address Book</source>
         <translation>&amp;Адресная книга</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="270"/>
+        <location filename="../bitcoingui.cpp" line="275"/>
         <source>Edit the list of stored addresses and labels</source>
         <translation>Изменить список сохранённых адресов и меток к ним</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="275"/>
+        <location filename="../bitcoingui.cpp" line="280"/>
         <source>Multisig</source>
         <translation>Мультиподпись</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="276"/>
+        <location filename="../bitcoingui.cpp" line="281"/>
         <source>Open window for working with multisig addresses</source>
         <translation>Открыть окно для работы с адресами с мультиподписью</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="294"/>
+        <location filename="../bitcoingui.cpp" line="299"/>
         <source>E&amp;xit</source>
         <translation>В&amp;ыход</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="295"/>
+        <location filename="../bitcoingui.cpp" line="300"/>
         <source>Quit application</source>
         <translation>Закрыть приложение</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="298"/>
+        <location filename="../bitcoingui.cpp" line="303"/>
         <source>&amp;About NovaCoin</source>
         <translation>&amp;О NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="299"/>
+        <location filename="../bitcoingui.cpp" line="304"/>
         <source>Show information about NovaCoin</source>
         <translation>Показать информацию о NovaCoin&apos;е</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="302"/>
-        <location filename="../bitcoingui.cpp" line="304"/>
+        <location filename="../bitcoingui.cpp" line="307"/>
+        <location filename="../bitcoingui.cpp" line="309"/>
         <source>About &amp;Qt</source>
         <translation>О &amp;Qt</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="306"/>
+        <location filename="../bitcoingui.cpp" line="311"/>
         <source>Show information about Qt</source>
         <translation>Показать информацию о Qt</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="308"/>
+        <location filename="../bitcoingui.cpp" line="313"/>
         <source>&amp;Options...</source>
         <translation>Оп&amp;ции...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="309"/>
+        <location filename="../bitcoingui.cpp" line="314"/>
         <source>Modify configuration options for NovaCoin</source>
         <translation>Изменить параметры конфигурации NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="311"/>
+        <location filename="../bitcoingui.cpp" line="316"/>
         <source>&amp;Show / Hide</source>
         <translation>&amp;Показать / Скрыть</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="312"/>
+        <location filename="../bitcoingui.cpp" line="317"/>
         <source>&amp;Encrypt Wallet...</source>
         <translation>&amp;Зашифровать бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="313"/>
+        <location filename="../bitcoingui.cpp" line="318"/>
         <source>Encrypt or decrypt wallet</source>
         <translation>Зашифровать или расшифровать бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="315"/>
+        <location filename="../bitcoingui.cpp" line="320"/>
         <source>&amp;Backup Wallet...</source>
         <translation>&amp;Сделать резервную копию бумажника</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="316"/>
+        <location filename="../bitcoingui.cpp" line="321"/>
         <source>Backup wallet to another location</source>
         <translation>Сделать резервную копию бумажника в другом месте</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="317"/>
+        <location filename="../bitcoingui.cpp" line="322"/>
         <source>&amp;Dump Wallet...</source>
         <translation>&amp;Выгрузка ключей...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="318"/>
+        <location filename="../bitcoingui.cpp" line="323"/>
         <source>Dump keys to a text file</source>
         <translation>Выгрузить ключи в текстовый файл</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="319"/>
+        <location filename="../bitcoingui.cpp" line="324"/>
         <source>&amp;Import Wallet...</source>
         <translation>&amp;Импорт ключей...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="320"/>
+        <location filename="../bitcoingui.cpp" line="325"/>
         <source>Import keys into a wallet</source>
         <translation>Импортировать ключи из текстового файла</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="321"/>
+        <location filename="../bitcoingui.cpp" line="326"/>
         <source>&amp;Change Passphrase...</source>
         <translation>&amp;Изменить пароль</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="322"/>
+        <location filename="../bitcoingui.cpp" line="327"/>
         <source>Change the passphrase used for wallet encryption</source>
         <translation>Изменить пароль шифрования бумажника</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="323"/>
+        <location filename="../bitcoingui.cpp" line="328"/>
         <source>Sign &amp;message...</source>
         <translation>&amp;Подписать сообщение</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="324"/>
+        <location filename="../bitcoingui.cpp" line="329"/>
         <source>Sign messages with your Novacoin addresses to prove you own them</source>
         <translation>Подписать сообщения вашим Novacoin адресом, чтобы доказать, что вы им владеете</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="325"/>
+        <location filename="../bitcoingui.cpp" line="330"/>
         <source>&amp;Verify message...</source>
         <translation>&amp;Проверить сообщение...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="326"/>
+        <location filename="../bitcoingui.cpp" line="331"/>
         <source>Verify messages to ensure they were signed with specified Novacoin addresses</source>
         <translation>Проверить сообщения, чтобы удостовериться, что они подписаны определенным Novacoin адресом</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="328"/>
+        <location filename="../bitcoingui.cpp" line="332"/>
+        <source>Second &amp;auth...</source>
+        <translation>&amp;Дополнительная авторизация</translation>
+    </message>
+    <message>
+        <location filename="../bitcoingui.cpp" line="333"/>
+        <source>Second auth with your Novacoin addresses</source>
+        <translation>Дополнительная авторизация по Вашим адресам</translation>
+    </message>
+    <message>
+        <location filename="../bitcoingui.cpp" line="335"/>
         <source>&amp;Lock wallet</source>
         <translation>&amp;Заблокировать бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="329"/>
+        <location filename="../bitcoingui.cpp" line="336"/>
         <source>Lock wallet</source>
         <translation>Заблокировать бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="332"/>
+        <location filename="../bitcoingui.cpp" line="339"/>
         <source>Unlo&amp;ck wallet</source>
         <translation>Разб&amp;локировать бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="333"/>
+        <location filename="../bitcoingui.cpp" line="340"/>
         <source>Unlock wallet</source>
         <translation>Разблокировать бумажник</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="336"/>
+        <location filename="../bitcoingui.cpp" line="343"/>
         <source>Unlo&amp;ck wallet for mining</source>
         <translation>Ра&amp;зблокировать для майнинга</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="337"/>
+        <location filename="../bitcoingui.cpp" line="344"/>
         <source>Unlock wallet for mining</source>
         <translation>Разблокировать для майнинга</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="340"/>
+        <location filename="../bitcoingui.cpp" line="347"/>
         <source>&amp;Export...</source>
         <translation>&amp;Экспорт...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="341"/>
+        <location filename="../bitcoingui.cpp" line="348"/>
         <source>Export the data in the current tab to a file</source>
         <translation>Экспортировать данные из вкладки в файл</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="342"/>
+        <location filename="../bitcoingui.cpp" line="349"/>
         <source>&amp;Debug window</source>
         <translation>&amp;Окно отладки</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="343"/>
+        <location filename="../bitcoingui.cpp" line="350"/>
         <source>Open debugging and diagnostic console</source>
         <translation>Открыть консоль отладки и диагностики</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="373"/>
+        <location filename="../bitcoingui.cpp" line="381"/>
         <source>&amp;File</source>
         <translation>&amp;Файл</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="385"/>
+        <location filename="../bitcoingui.cpp" line="394"/>
         <source>&amp;Settings</source>
         <translation>&amp;Настройки</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="386"/>
+        <location filename="../bitcoingui.cpp" line="395"/>
         <source>&amp;Wallet security</source>
         <translation>&amp;Безопасность</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="394"/>
+        <location filename="../bitcoingui.cpp" line="403"/>
         <source>&amp;Help</source>
         <translation>&amp;Помощь</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="403"/>
+        <location filename="../bitcoingui.cpp" line="412"/>
         <source>Tabs toolbar</source>
         <translation>Панель вкладок</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="412"/>
+        <location filename="../bitcoingui.cpp" line="421"/>
         <source>Actions toolbar</source>
         <translation>Панель действий</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="427"/>
         <location filename="../bitcoingui.cpp" line="436"/>
+        <location filename="../bitcoingui.cpp" line="445"/>
         <source>[testnet]</source>
         <translation>[тестовая сеть]</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="436"/>
-        <location filename="../bitcoingui.cpp" line="503"/>
+        <location filename="../bitcoingui.cpp" line="445"/>
+        <location filename="../bitcoingui.cpp" line="513"/>
         <source>NovaCoin client</source>
         <translation>NovaCoin клиент</translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="575"/>
+        <location filename="../bitcoingui.cpp" line="586"/>
         <source>%n active connection(s) to NovaCoin network</source>
         <translation>
             <numerusform>%n активное соединение с сетью</numerusform>
@@ -612,12 +623,12 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="599"/>
+        <location filename="../bitcoingui.cpp" line="610"/>
         <source>Synchronizing with network...</source>
         <translation>Синхронизация с сетью...</translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="601"/>
+        <location filename="../bitcoingui.cpp" line="612"/>
         <source>~%n block(s) remaining</source>
         <translation>
             <numerusform>остался ~%n блок</numerusform>
@@ -626,27 +637,27 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="607"/>
+        <location filename="../bitcoingui.cpp" line="618"/>
         <source>Downloaded %1 of %2 blocks of transaction history (%3% done).</source>
         <translation>Загружено %1 из %2 блоков истории операций (%3% завершено).</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="615"/>
+        <location filename="../bitcoingui.cpp" line="626"/>
         <source>Downloaded %1 blocks of transaction history.</source>
         <translation>Загружено %1 блоков истории транзакций.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="626"/>
+        <location filename="../bitcoingui.cpp" line="637"/>
         <source>Current PoW difficulty is %1.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="627"/>
+        <location filename="../bitcoingui.cpp" line="638"/>
         <source>Current PoS difficulty is %1.</source>
         <translation type="unfinished"></translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="640"/>
+        <location filename="../bitcoingui.cpp" line="651"/>
         <source>%n second(s) ago</source>
         <translation>
             <numerusform>%n секунду назад</numerusform>
@@ -655,7 +666,7 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="644"/>
+        <location filename="../bitcoingui.cpp" line="655"/>
         <source>%n minute(s) ago</source>
         <translation>
             <numerusform>%n минуту назад</numerusform>
@@ -664,7 +675,7 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="648"/>
+        <location filename="../bitcoingui.cpp" line="659"/>
         <source>%n hour(s) ago</source>
         <translation>
             <numerusform>%n час назад</numerusform>
@@ -673,7 +684,7 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="652"/>
+        <location filename="../bitcoingui.cpp" line="663"/>
         <source>%n day(s) ago</source>
         <translation>
             <numerusform>%n день назад</numerusform>
@@ -682,86 +693,86 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="658"/>
+        <location filename="../bitcoingui.cpp" line="669"/>
         <source>Up to date</source>
         <translation>Синхронизировано</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="665"/>
+        <location filename="../bitcoingui.cpp" line="676"/>
         <source>Catching up...</source>
         <translation>Синхронизируется...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="675"/>
+        <location filename="../bitcoingui.cpp" line="686"/>
         <source>Last received block was generated %1.</source>
         <translation>Последний полученный блок был сгенерирован %1.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="695"/>
+        <location filename="../bitcoingui.cpp" line="706"/>
         <source>Wallet is offline</source>
         <translation>Бумажник не в сети</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="701"/>
+        <location filename="../bitcoingui.cpp" line="712"/>
         <source>Wallet is locked</source>
         <translation>Бумажник заблокирован</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="707"/>
+        <location filename="../bitcoingui.cpp" line="718"/>
         <source>Blockchain download is in progress</source>
         <translation>Загрузка цепочки блоков ещё не завершена</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="717"/>
+        <location filename="../bitcoingui.cpp" line="728"/>
         <source>Stake miner is active&lt;br&gt;%1 inputs being used for mining&lt;br&gt;Network weight is %3</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
         <source>Stake miner is active&lt;br&gt;Kernel rate is %1 k/s&lt;br&gt;CD rate is %2 CD/s&lt;br&gt;Network weight is %3</source>
-        <translation type="vanished">Proof-of-Stake майнер активен&lt;br&gt;Попыток генерации %1 в сек&lt;br&gt;Вес попыток %2 монетодень/с&lt;br&gt;Вес сети %3 монетодней</translation>
+        <translation type="obsolete">Proof-of-Stake майнер активен&lt;br&gt;Попыток генерации %1 в сек&lt;br&gt;Вес попыток %2 монетодень/с&lt;br&gt;Вес сети %3 монетодней</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="720"/>
+        <location filename="../bitcoingui.cpp" line="731"/>
         <source>No suitable inputs were found</source>
         <translation>Нет подходящих транзакций</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="734"/>
+        <location filename="../bitcoingui.cpp" line="745"/>
         <source>Error</source>
         <translation>Ошибка</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="737"/>
+        <location filename="../bitcoingui.cpp" line="748"/>
         <source>Warning</source>
         <translation>Предупреждение</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="740"/>
+        <location filename="../bitcoingui.cpp" line="751"/>
         <source>Information</source>
         <translation>Сообщение</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="812"/>
+        <location filename="../bitcoingui.cpp" line="823"/>
         <source>This transaction is over the size limit.  You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network.  Do you want to pay the fee?</source>
         <translation>Данная транзакция превышает предельно допустимый размер.  Но Вы можете всё равно совершить её, добавив комиссию в %1, которая отправится тем узлам, которые обработают Вашу транзакцию, и поможет поддержать сеть.  Вы хотите добавить комиссию?</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="817"/>
+        <location filename="../bitcoingui.cpp" line="828"/>
         <source>Confirm transaction fee</source>
         <translation>Подтвердите комиссию</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="844"/>
+        <location filename="../bitcoingui.cpp" line="855"/>
         <source>Sent transaction</source>
         <translation>Исходящая транзакция</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="845"/>
+        <location filename="../bitcoingui.cpp" line="856"/>
         <source>Incoming transaction</source>
         <translation>Входящая транзакция</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="846"/>
+        <location filename="../bitcoingui.cpp" line="857"/>
         <source>Date: %1
 Amount: %2
 Type: %3
@@ -774,94 +785,94 @@ Address: %4
 </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="964"/>
-        <location filename="../bitcoingui.cpp" line="979"/>
+        <location filename="../bitcoingui.cpp" line="982"/>
+        <location filename="../bitcoingui.cpp" line="997"/>
         <source>URI handling</source>
         <translation>Обработка URI</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="964"/>
-        <location filename="../bitcoingui.cpp" line="979"/>
+        <location filename="../bitcoingui.cpp" line="982"/>
+        <location filename="../bitcoingui.cpp" line="997"/>
         <source>URI can not be parsed! This can be caused by an invalid NovaCoin address or malformed URI parameters.</source>
         <translation>Не удалось обработать URI! Это может быть связано с неверным адресом NovaCoin или неправильными параметрами URI.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="998"/>
+        <location filename="../bitcoingui.cpp" line="1016"/>
         <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source>
         <translation>Бумажник &lt;b&gt;зашифрован&lt;/b&gt; и в настоящее время &lt;b&gt;разблокирован&lt;/b&gt;</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1017"/>
+        <location filename="../bitcoingui.cpp" line="1035"/>
         <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source>
         <translation>Бумажник &lt;b&gt;зашифрован&lt;/b&gt; и в настоящее время &lt;b&gt;заблокирован&lt;/b&gt;</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1066"/>
+        <location filename="../bitcoingui.cpp" line="1084"/>
         <source>Backup Wallet</source>
         <translation>Сделать резервную копию бумажника</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1066"/>
+        <location filename="../bitcoingui.cpp" line="1084"/>
         <source>Wallet Data (*.dat)</source>
         <translation>Данные бумажника (*.dat)</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1069"/>
+        <location filename="../bitcoingui.cpp" line="1087"/>
         <source>Backup Failed</source>
         <translation>Резервное копирование не удалось</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1069"/>
+        <location filename="../bitcoingui.cpp" line="1087"/>
         <source>There was an error trying to save the wallet data to the new location.</source>
         <translation>При попытке сохранения данных бумажника в новое место произошла ошибка.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1091"/>
+        <location filename="../bitcoingui.cpp" line="1109"/>
         <source>Dump Wallet</source>
         <translation>Произошла ошибка при сохранении копии данных бумажника.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1091"/>
-        <location filename="../bitcoingui.cpp" line="1124"/>
+        <location filename="../bitcoingui.cpp" line="1109"/>
+        <location filename="../bitcoingui.cpp" line="1142"/>
         <source>Wallet dump (*.txt)</source>
         <translation>Файл с ключами (*.txt)</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1094"/>
+        <location filename="../bitcoingui.cpp" line="1112"/>
         <source>Dump failed</source>
         <translation>Ошибка выгрузки</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1095"/>
+        <location filename="../bitcoingui.cpp" line="1113"/>
         <source>An error happened while trying to save the keys to your location.
 Keys were not saved.</source>
         <translation>Произошла ошибка при попытке выгрузки ключей в указанный файл.
 Ключи не сохранены.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1100"/>
+        <location filename="../bitcoingui.cpp" line="1118"/>
         <source>Dump successful</source>
         <translation>Выгрузка завершена</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1101"/>
+        <location filename="../bitcoingui.cpp" line="1119"/>
         <source>Keys were saved to this file:
 %2</source>
         <translation>Ключи сохранены в 
 %2</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1124"/>
+        <location filename="../bitcoingui.cpp" line="1142"/>
         <source>Import Wallet</source>
         <translation>Импорт ключей</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1127"/>
+        <location filename="../bitcoingui.cpp" line="1145"/>
         <source>Import Failed</source>
         <translation>Ошибка импорта</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1128"/>
+        <location filename="../bitcoingui.cpp" line="1146"/>
         <source>An error happened while trying to import the keys.
 Some or all keys from:
  %1,
@@ -872,12 +883,12 @@ Some or all keys from:
  не были импортированы.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1134"/>
+        <location filename="../bitcoingui.cpp" line="1152"/>
         <source>Import Successful</source>
         <translation>Импорт завершен</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1135"/>
+        <location filename="../bitcoingui.cpp" line="1153"/>
         <source>All keys from:
  %1,
  were imported into your wallet.</source>
@@ -908,7 +919,7 @@ Some or all keys from:
     </message>
     <message>
         <source>0</source>
-        <translation type="vanished">0</translation>
+        <translation type="obsolete">0</translation>
     </message>
     <message>
         <location filename="../forms/coincontroldialog.ui" line="77"/>
@@ -922,7 +933,7 @@ Some or all keys from:
     </message>
     <message>
         <source>0.00 NVC</source>
-        <translation type="vanished">0.00 NVC</translation>
+        <translation type="obsolete">0.00 NVC</translation>
     </message>
     <message>
         <location filename="../forms/coincontroldialog.ui" line="157"/>
@@ -1713,7 +1724,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
     </message>
     <message>
         <source>/ 1</source>
-        <translation type="vanished">/ 1</translation>
+        <translation type="obsolete">/ 1</translation>
     </message>
     <message>
         <location filename="../forms/multisigdialog.ui" line="183"/>
@@ -1777,11 +1788,11 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
     </message>
     <message>
         <source>123.456</source>
-        <translation type="vanished">123.456</translation>
+        <translation type="obsolete">123.456</translation>
     </message>
     <message>
         <source>NVC</source>
-        <translation type="vanished">NVC</translation>
+        <translation type="obsolete">NVC</translation>
     </message>
     <message>
         <location filename="../forms/multisigdialog.ui" line="413"/>
@@ -2639,6 +2650,137 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
 </context>
 <context>
+    <name>SecondAuthDialog</name>
+    <message>
+        <source>Signatures - Sign / Verify a Message</source>
+        <translation type="obsolete">Подписи - подписать/проверить сообщение</translation>
+    </message>
+    <message>
+        <source>The address to sign the message with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="obsolete">Адрес, которым вы хотите подписать сообщение  (напр. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="48"/>
+        <source>Choose an address from the address book</source>
+        <translation>Выберите адрес из адресной книги</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="58"/>
+        <source>Alt+A</source>
+        <translation>Alt+A</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="89"/>
+        <source>Alt+P</source>
+        <translation>Alt+P</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="118"/>
+        <source>Copy the current signature to the system clipboard</source>
+        <translation>Скопировать текущую подпись в системный буфер обмена</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="128"/>
+        <source>Alt+C</source>
+        <translation>Alt+C</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="145"/>
+        <source>&amp;Sign Data</source>
+        <translation>&amp;Подписать данные</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="159"/>
+        <source>Reset all sign message fields</source>
+        <translation>Сбросить значения всех полей подписывания сообщений</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="162"/>
+        <source>Clear &amp;All</source>
+        <translation>Очистить &amp;всё</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="29"/>
+        <source>Enter a NovaCoin address (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation>Введите адрес NovaCoin (напр. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="80"/>
+        <source>The entered address is invalid.</source>
+        <translation>Введённый адрес неверен</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="80"/>
+        <location filename="../secondauthdialog.cpp" line="89"/>
+        <source>Please check the address and try again.</source>
+        <translation>Пожалуйста, проверьте адрес и попробуйте ещё раз.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="89"/>
+        <source>The entered address does not refer to a key.</source>
+        <translation>Введённый адрес не связан с ключом</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="97"/>
+        <source>Wallet unlock was cancelled.</source>
+        <translation>Разблокировка бумажника была отменена.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="105"/>
+        <source>Private key for the entered address is not available.</source>
+        <translation>Для введённого адреса недоступен закрытый ключ</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="115"/>
+        <source>No information available about transaction.</source>
+        <translation>Информация об указанной транзакции недоступна.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="127"/>
+        <source>Message signing failed.</source>
+        <translation>Не удалось подписать сообщение</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="132"/>
+        <source>Message signed.</source>
+        <translation>Сообщение подписано</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="17"/>
+        <source>Second Authentification</source>
+        <translation>Дополнительная авторизация</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="23"/>
+        <source>You can sign hash of transaction exists in the blockchain with your addresses.</source>
+        <translation>Вы можете подписывать хэши транзакций, существующих в цепочке блоков, своими адресами.</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="38"/>
+        <source>The address for authentification (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation>Адрес, по которому вы проходите авторизацию (напр. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="79"/>
+        <source>Paste hash from clipboard</source>
+        <translation>Вставить хэш из буфера обмена</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="142"/>
+        <source>Sign the hash</source>
+        <translation>Подписать хэш транзакции</translation>
+    </message>
+    <message>
+        <source>&amp;Sign data</source>
+        <translation type="obsolete">&amp;Подписать данные</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="30"/>
+        <source>Click &quot;Sign data&quot; to generate signature</source>
+        <translation>Нажмите &quot;Подписать данные&quot; для создания подписи</translation>
+    </message>
+</context>
+<context>
     <name>SendCoinsDialog</name>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="14"/>
@@ -2679,7 +2821,7 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
     <message>
         <source>0</source>
-        <translation type="vanished">0</translation>
+        <translation type="obsolete">0</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="251"/>
@@ -2693,7 +2835,7 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
     <message>
         <source>0.00 NVC</source>
-        <translation type="vanished">0.00 NVC</translation>
+        <translation type="obsolete">0.00 NVC</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="337"/>
@@ -2782,7 +2924,7 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
     <message>
         <source>123.456 NVC</source>
-        <translation type="vanished">123.456 NVC</translation>
+        <translation type="obsolete">123.456 NVC</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="772"/>
index cbaeb7b..ea2163f 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<TS version="2.1" language="uk_UA">
+<TS version="2.0" language="uk_UA">
+<defaultcodec>UTF-8</defaultcodec>
 <context>
     <name>AboutDialog</name>
     <message>
@@ -315,296 +316,306 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         <translation>Сталася фатальна помилка. Програма зараз закриється, оскільки NovaCoin не може продовжувати роботу безпечно.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="94"/>
-        <location filename="../bitcoingui.cpp" line="725"/>
+        <location filename="../bitcoingui.cpp" line="96"/>
+        <location filename="../bitcoingui.cpp" line="736"/>
         <source>NovaCoin</source>
         <translation>NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="94"/>
+        <location filename="../bitcoingui.cpp" line="96"/>
         <source>Wallet</source>
         <translation>Гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="239"/>
+        <location filename="../bitcoingui.cpp" line="244"/>
         <source>&amp;Overview</source>
         <translation>&amp;Огляд</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="240"/>
+        <location filename="../bitcoingui.cpp" line="245"/>
         <source>Show general overview of wallet</source>
         <translation>Показати загальний огляд гаманця</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="245"/>
+        <location filename="../bitcoingui.cpp" line="250"/>
         <source>&amp;Send coins</source>
         <translation>В&amp;ідправити</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="246"/>
+        <location filename="../bitcoingui.cpp" line="251"/>
         <source>Send coins to a NovaCoin address</source>
         <translation>Відправити монети на вказану адресу</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="251"/>
+        <location filename="../bitcoingui.cpp" line="256"/>
         <source>&amp;Receive coins</source>
         <translation>О&amp;тримати</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="252"/>
+        <location filename="../bitcoingui.cpp" line="257"/>
         <source>Show the list of addresses for receiving payments</source>
         <translation>Показати список адрес для отримання платежів</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="257"/>
+        <location filename="../bitcoingui.cpp" line="262"/>
         <source>&amp;Transactions</source>
         <translation>&amp;Транзакції</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="258"/>
+        <location filename="../bitcoingui.cpp" line="263"/>
         <source>Browse transaction history</source>
         <translation>Переглянути історію транзакцій</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="263"/>
+        <location filename="../bitcoingui.cpp" line="268"/>
         <source>&amp;Minting</source>
         <translation>&amp;PoS</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="264"/>
+        <location filename="../bitcoingui.cpp" line="269"/>
         <source>Show your minting capacity</source>
         <translation>Показати ваш PoS потенціал</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="269"/>
+        <location filename="../bitcoingui.cpp" line="274"/>
         <source>&amp;Address Book</source>
         <translation>&amp;Адресна книга</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="270"/>
+        <location filename="../bitcoingui.cpp" line="275"/>
         <source>Edit the list of stored addresses and labels</source>
         <translation>Редагувати список збережених адрес та міток</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="275"/>
+        <location filename="../bitcoingui.cpp" line="280"/>
         <source>Multisig</source>
         <translation>Мультипідпис</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="276"/>
+        <location filename="../bitcoingui.cpp" line="281"/>
         <source>Open window for working with multisig addresses</source>
         <translation>Відкрити вікно для роботи з мультипідпис-адресом</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="294"/>
+        <location filename="../bitcoingui.cpp" line="299"/>
         <source>E&amp;xit</source>
         <translation>&amp;Вихід</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="295"/>
+        <location filename="../bitcoingui.cpp" line="300"/>
         <source>Quit application</source>
         <translation>Вийти</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="298"/>
+        <location filename="../bitcoingui.cpp" line="303"/>
         <source>&amp;About NovaCoin</source>
         <translation>П&amp;ро NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="299"/>
+        <location filename="../bitcoingui.cpp" line="304"/>
         <source>Show information about NovaCoin</source>
         <translation>Показати інформацію про NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="302"/>
-        <location filename="../bitcoingui.cpp" line="304"/>
+        <location filename="../bitcoingui.cpp" line="307"/>
+        <location filename="../bitcoingui.cpp" line="309"/>
         <source>About &amp;Qt</source>
         <translation>&amp;Про Qt</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="306"/>
+        <location filename="../bitcoingui.cpp" line="311"/>
         <source>Show information about Qt</source>
         <translation>Показати інформацію про Qt</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="308"/>
+        <location filename="../bitcoingui.cpp" line="313"/>
         <source>&amp;Options...</source>
         <translation>&amp;Параметри...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="309"/>
+        <location filename="../bitcoingui.cpp" line="314"/>
         <source>Modify configuration options for NovaCoin</source>
         <translation>Редагувати параметри NovaCoin</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="311"/>
+        <location filename="../bitcoingui.cpp" line="316"/>
         <source>&amp;Show / Hide</source>
         <translation>Показати / Приховати</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="312"/>
+        <location filename="../bitcoingui.cpp" line="317"/>
         <source>&amp;Encrypt Wallet...</source>
         <translation>&amp;Шифрування гаманця...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="313"/>
+        <location filename="../bitcoingui.cpp" line="318"/>
         <source>Encrypt or decrypt wallet</source>
         <translation>Зашифрувати чи розшифрувати гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="315"/>
+        <location filename="../bitcoingui.cpp" line="320"/>
         <source>&amp;Backup Wallet...</source>
         <translation>&amp;Резервне копіювання гаманця...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="316"/>
+        <location filename="../bitcoingui.cpp" line="321"/>
         <source>Backup wallet to another location</source>
         <translation>Резервне копіювання гаманця в інше місце</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="317"/>
+        <location filename="../bitcoingui.cpp" line="322"/>
         <source>&amp;Dump Wallet...</source>
         <translation>&amp;Вивантаження гаманця...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="318"/>
+        <location filename="../bitcoingui.cpp" line="323"/>
         <source>Dump keys to a text file</source>
         <translation>Вивантажити ключі у текстовий файл</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="319"/>
+        <location filename="../bitcoingui.cpp" line="324"/>
         <source>&amp;Import Wallet...</source>
         <translation>&amp;Імпорт гаманця...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="320"/>
+        <location filename="../bitcoingui.cpp" line="325"/>
         <source>Import keys into a wallet</source>
         <translation>Імпортувати ключі до гаманця</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="321"/>
+        <location filename="../bitcoingui.cpp" line="326"/>
         <source>&amp;Change Passphrase...</source>
         <translation>&amp;Змінити пароль...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="322"/>
+        <location filename="../bitcoingui.cpp" line="327"/>
         <source>Change the passphrase used for wallet encryption</source>
         <translation>Змінити пароль, який використовується для шифрування гаманця</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="323"/>
+        <location filename="../bitcoingui.cpp" line="328"/>
         <source>Sign &amp;message...</source>
         <translation>Підписати п&amp;овідомлення...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="324"/>
+        <location filename="../bitcoingui.cpp" line="329"/>
         <source>Sign messages with your Novacoin addresses to prove you own them</source>
         <translation>Підтвердіть, що Ви є власником повідомлення підписавши його Вашою Novacoin-адресою</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="325"/>
+        <location filename="../bitcoingui.cpp" line="330"/>
         <source>&amp;Verify message...</source>
         <translation>П&amp;еревірити повідомлення...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="326"/>
+        <location filename="../bitcoingui.cpp" line="331"/>
         <source>Verify messages to ensure they were signed with specified Novacoin addresses</source>
         <translation>Перевірте повідомлення для впевненості, що воно підписано вказаною Novacoin-адресою</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="328"/>
+        <location filename="../bitcoingui.cpp" line="332"/>
+        <source>Second &amp;auth...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../bitcoingui.cpp" line="333"/>
+        <source>Second auth with your Novacoin addresses</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../bitcoingui.cpp" line="335"/>
         <source>&amp;Lock wallet</source>
         <translation>Заблокувати гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="329"/>
+        <location filename="../bitcoingui.cpp" line="336"/>
         <source>Lock wallet</source>
         <translation>Розблокувати гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="332"/>
+        <location filename="../bitcoingui.cpp" line="339"/>
         <source>Unlo&amp;ck wallet</source>
         <translation>Розбло&amp;кувати гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="333"/>
+        <location filename="../bitcoingui.cpp" line="340"/>
         <source>Unlock wallet</source>
         <translation>Розблокувати гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="336"/>
+        <location filename="../bitcoingui.cpp" line="343"/>
         <source>Unlo&amp;ck wallet for mining</source>
         <translation>Розбло&amp;кувати гаманець для майнігу</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="337"/>
+        <location filename="../bitcoingui.cpp" line="344"/>
         <source>Unlock wallet for mining</source>
         <translation>Розблокувати гаманець для майнігу</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="340"/>
+        <location filename="../bitcoingui.cpp" line="347"/>
         <source>&amp;Export...</source>
         <translation>&amp;Експорт...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="341"/>
+        <location filename="../bitcoingui.cpp" line="348"/>
         <source>Export the data in the current tab to a file</source>
         <translation>Експортувати дані з поточної вкладки в файл</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="342"/>
+        <location filename="../bitcoingui.cpp" line="349"/>
         <source>&amp;Debug window</source>
         <translation>&amp;Вікно відладки</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="343"/>
+        <location filename="../bitcoingui.cpp" line="350"/>
         <source>Open debugging and diagnostic console</source>
         <translation>Відкрити консоль відладки і діагностики</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="373"/>
+        <location filename="../bitcoingui.cpp" line="381"/>
         <source>&amp;File</source>
         <translation>&amp;Файл</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="385"/>
+        <location filename="../bitcoingui.cpp" line="394"/>
         <source>&amp;Settings</source>
         <translation>&amp;Налаштування</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="386"/>
+        <location filename="../bitcoingui.cpp" line="395"/>
         <source>&amp;Wallet security</source>
         <translation>&amp;Безпека гаманця</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="394"/>
+        <location filename="../bitcoingui.cpp" line="403"/>
         <source>&amp;Help</source>
         <translation>&amp;Довідка</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="403"/>
+        <location filename="../bitcoingui.cpp" line="412"/>
         <source>Tabs toolbar</source>
         <translation>Панель вкладок</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="412"/>
+        <location filename="../bitcoingui.cpp" line="421"/>
         <source>Actions toolbar</source>
         <translation>Панель дій</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="427"/>
         <location filename="../bitcoingui.cpp" line="436"/>
+        <location filename="../bitcoingui.cpp" line="445"/>
         <source>[testnet]</source>
         <translation>[тестова мережа]</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="436"/>
-        <location filename="../bitcoingui.cpp" line="503"/>
+        <location filename="../bitcoingui.cpp" line="445"/>
+        <location filename="../bitcoingui.cpp" line="513"/>
         <source>NovaCoin client</source>
         <translation>NovaCoin клієнт</translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="575"/>
+        <location filename="../bitcoingui.cpp" line="586"/>
         <source>%n active connection(s) to NovaCoin network</source>
         <translation>
             <numerusform>%n активне з&apos;єднання з мережею NovaCoin</numerusform>
@@ -613,12 +624,12 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="599"/>
+        <location filename="../bitcoingui.cpp" line="610"/>
         <source>Synchronizing with network...</source>
         <translation>Синхронізація з мережею...</translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="601"/>
+        <location filename="../bitcoingui.cpp" line="612"/>
         <source>~%n block(s) remaining</source>
         <translation>
             <numerusform>~%n блок залишився</numerusform>
@@ -627,27 +638,27 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="607"/>
+        <location filename="../bitcoingui.cpp" line="618"/>
         <source>Downloaded %1 of %2 blocks of transaction history (%3% done).</source>
         <translation>Завантажено %1 з %2 блоків історії транзакцій (%3% виконано).</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="615"/>
+        <location filename="../bitcoingui.cpp" line="626"/>
         <source>Downloaded %1 blocks of transaction history.</source>
         <translation>Завантажено %1 блоків історії транзакцій.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="626"/>
+        <location filename="../bitcoingui.cpp" line="637"/>
         <source>Current PoW difficulty is %1.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="627"/>
+        <location filename="../bitcoingui.cpp" line="638"/>
         <source>Current PoS difficulty is %1.</source>
         <translation type="unfinished"></translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="640"/>
+        <location filename="../bitcoingui.cpp" line="651"/>
         <source>%n second(s) ago</source>
         <translation>
             <numerusform>%n секунду тому</numerusform>
@@ -656,7 +667,7 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="644"/>
+        <location filename="../bitcoingui.cpp" line="655"/>
         <source>%n minute(s) ago</source>
         <translation>
             <numerusform>%n хвилину тому</numerusform>
@@ -665,7 +676,7 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="648"/>
+        <location filename="../bitcoingui.cpp" line="659"/>
         <source>%n hour(s) ago</source>
         <translation>
             <numerusform>%n годину тому</numerusform>
@@ -674,7 +685,7 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message numerus="yes">
-        <location filename="../bitcoingui.cpp" line="652"/>
+        <location filename="../bitcoingui.cpp" line="663"/>
         <source>%n day(s) ago</source>
         <translation>
             <numerusform>%n день тому</numerusform>
@@ -683,86 +694,86 @@ Copyright © 2012-2015 The NovaCoin developers</source>
         </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="658"/>
+        <location filename="../bitcoingui.cpp" line="669"/>
         <source>Up to date</source>
         <translation>Синхронізовано</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="665"/>
+        <location filename="../bitcoingui.cpp" line="676"/>
         <source>Catching up...</source>
         <translation>Синхронізується...</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="675"/>
+        <location filename="../bitcoingui.cpp" line="686"/>
         <source>Last received block was generated %1.</source>
         <translation>Останній отриманий блок було згенеровано %1.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="695"/>
+        <location filename="../bitcoingui.cpp" line="706"/>
         <source>Wallet is offline</source>
         <translation>Гаманець офф-лайн</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="701"/>
+        <location filename="../bitcoingui.cpp" line="712"/>
         <source>Wallet is locked</source>
         <translation>Гаманець заблокованний</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="707"/>
+        <location filename="../bitcoingui.cpp" line="718"/>
         <source>Blockchain download is in progress</source>
         <translation>Відбувається завантаження ланцюжка блоків</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="717"/>
+        <location filename="../bitcoingui.cpp" line="728"/>
         <source>Stake miner is active&lt;br&gt;%1 inputs being used for mining&lt;br&gt;Network weight is %3</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
         <source>Stake miner is active&lt;br&gt;Kernel rate is %1 k/s&lt;br&gt;CD rate is %2 CD/s&lt;br&gt;Network weight is %3</source>
-        <translation type="vanished">PoS майнер активний&lt;br&gt;Спроб генерації %1 в сек&lt;br&gt;Вага спроб %2 монетодень/с&lt;br&gt;Вага мережі %3 монетоднів</translation>
+        <translation type="obsolete">PoS майнер активний&lt;br&gt;Спроб генерації %1 в сек&lt;br&gt;Вага спроб %2 монетодень/с&lt;br&gt;Вага мережі %3 монетоднів</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="720"/>
+        <location filename="../bitcoingui.cpp" line="731"/>
         <source>No suitable inputs were found</source>
         <translation>Було знайдено непридатний вхід</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="734"/>
+        <location filename="../bitcoingui.cpp" line="745"/>
         <source>Error</source>
         <translation>Помилка</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="737"/>
+        <location filename="../bitcoingui.cpp" line="748"/>
         <source>Warning</source>
         <translation>Попередження</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="740"/>
+        <location filename="../bitcoingui.cpp" line="751"/>
         <source>Information</source>
         <translation>Інформація</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="812"/>
+        <location filename="../bitcoingui.cpp" line="823"/>
         <source>This transaction is over the size limit.  You can still send it for a fee of %1, which goes to the nodes that process your transaction and helps to support the network.  Do you want to pay the fee?</source>
         <translation>Ця транзакція перевищує максимально допустимий розмір. Проте ви можете здійснити її, додавши комісію в %1, яка відправиться тим вузлам, які її оброблять, це допоможе підтримати мережу. Ви бажаєте додати комісію?</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="817"/>
+        <location filename="../bitcoingui.cpp" line="828"/>
         <source>Confirm transaction fee</source>
         <translation>Підтвердіть комісію транзакції</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="844"/>
+        <location filename="../bitcoingui.cpp" line="855"/>
         <source>Sent transaction</source>
         <translation>Вихідна транзакція</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="845"/>
+        <location filename="../bitcoingui.cpp" line="856"/>
         <source>Incoming transaction</source>
         <translation>Вхідна транзакція</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="846"/>
+        <location filename="../bitcoingui.cpp" line="857"/>
         <source>Date: %1
 Amount: %2
 Type: %3
@@ -775,94 +786,94 @@ Address: %4
 </translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="964"/>
-        <location filename="../bitcoingui.cpp" line="979"/>
+        <location filename="../bitcoingui.cpp" line="982"/>
+        <location filename="../bitcoingui.cpp" line="997"/>
         <source>URI handling</source>
         <translation>Обробка URI</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="964"/>
-        <location filename="../bitcoingui.cpp" line="979"/>
+        <location filename="../bitcoingui.cpp" line="982"/>
+        <location filename="../bitcoingui.cpp" line="997"/>
         <source>URI can not be parsed! This can be caused by an invalid NovaCoin address or malformed URI parameters.</source>
         <translation>Неможливо обробити URI! Це може бути викликано неправильною NovaCoin-адресою, чи невірними параметрами URI.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="998"/>
+        <location filename="../bitcoingui.cpp" line="1016"/>
         <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;unlocked&lt;/b&gt;</source>
         <translation>&lt;b&gt;Зашифрований&lt;/b&gt; гаманець &lt;b&gt;розблоковано&lt;/b&gt;</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1017"/>
+        <location filename="../bitcoingui.cpp" line="1035"/>
         <source>Wallet is &lt;b&gt;encrypted&lt;/b&gt; and currently &lt;b&gt;locked&lt;/b&gt;</source>
         <translation>&lt;b&gt;Зашифрований&lt;/b&gt; гаманець &lt;b&gt;заблоковано&lt;/b&gt;</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1066"/>
+        <location filename="../bitcoingui.cpp" line="1084"/>
         <source>Backup Wallet</source>
         <translation>Бекап гаманця</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1066"/>
+        <location filename="../bitcoingui.cpp" line="1084"/>
         <source>Wallet Data (*.dat)</source>
         <translation>Данi гаманця (*.dat)</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1069"/>
+        <location filename="../bitcoingui.cpp" line="1087"/>
         <source>Backup Failed</source>
         <translation>Помилка резервного копіювання</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1069"/>
+        <location filename="../bitcoingui.cpp" line="1087"/>
         <source>There was an error trying to save the wallet data to the new location.</source>
         <translation>Виникла помилка при спробі зберегти гаманець на нове місце.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1091"/>
+        <location filename="../bitcoingui.cpp" line="1109"/>
         <source>Dump Wallet</source>
         <translation>Вивантажити гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1091"/>
-        <location filename="../bitcoingui.cpp" line="1124"/>
+        <location filename="../bitcoingui.cpp" line="1109"/>
+        <location filename="../bitcoingui.cpp" line="1142"/>
         <source>Wallet dump (*.txt)</source>
         <translation>Дамп гаманця (*.txt)</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1094"/>
+        <location filename="../bitcoingui.cpp" line="1112"/>
         <source>Dump failed</source>
         <translation>Вивантаження не вдалося</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1095"/>
+        <location filename="../bitcoingui.cpp" line="1113"/>
         <source>An error happened while trying to save the keys to your location.
 Keys were not saved.</source>
         <translation>Відбулася помилка під час спроби зберегти ключі до місця призначення.
 Ключі не були збережені.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1100"/>
+        <location filename="../bitcoingui.cpp" line="1118"/>
         <source>Dump successful</source>
         <translation>Вивантаження успішне</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1101"/>
+        <location filename="../bitcoingui.cpp" line="1119"/>
         <source>Keys were saved to this file:
 %2</source>
         <translation>Ключі були збережені у цей фаіл:
 %2</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1124"/>
+        <location filename="../bitcoingui.cpp" line="1142"/>
         <source>Import Wallet</source>
         <translation>Імпортувати гаманець</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1127"/>
+        <location filename="../bitcoingui.cpp" line="1145"/>
         <source>Import Failed</source>
         <translation>Імпорт не вдався</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1128"/>
+        <location filename="../bitcoingui.cpp" line="1146"/>
         <source>An error happened while trying to import the keys.
 Some or all keys from:
  %1,
@@ -873,12 +884,12 @@ Some or all keys from:
 не були імпортовані до вашого гаманця.</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1134"/>
+        <location filename="../bitcoingui.cpp" line="1152"/>
         <source>Import Successful</source>
         <translation>Імпорт успішний</translation>
     </message>
     <message>
-        <location filename="../bitcoingui.cpp" line="1135"/>
+        <location filename="../bitcoingui.cpp" line="1153"/>
         <source>All keys from:
  %1,
  were imported into your wallet.</source>
@@ -909,7 +920,7 @@ Some or all keys from:
     </message>
     <message>
         <source>0</source>
-        <translation type="vanished">0</translation>
+        <translation type="obsolete">0</translation>
     </message>
     <message>
         <location filename="../forms/coincontroldialog.ui" line="77"/>
@@ -923,7 +934,7 @@ Some or all keys from:
     </message>
     <message>
         <source>0.00 NVC</source>
-        <translation type="vanished">0.00 NVC</translation>
+        <translation type="obsolete">0.00 NVC</translation>
     </message>
     <message>
         <location filename="../forms/coincontroldialog.ui" line="157"/>
@@ -1716,7 +1727,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
     </message>
     <message>
         <source>/ 1</source>
-        <translation type="vanished">/ 1</translation>
+        <translation type="obsolete">/ 1</translation>
     </message>
     <message>
         <location filename="../forms/multisigdialog.ui" line="183"/>
@@ -1780,11 +1791,11 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
     </message>
     <message>
         <source>123.456</source>
-        <translation type="vanished">123.456</translation>
+        <translation type="obsolete">123.456</translation>
     </message>
     <message>
         <source>NVC</source>
-        <translation type="vanished">NVC</translation>
+        <translation type="obsolete">NVC</translation>
     </message>
     <message>
         <location filename="../forms/multisigdialog.ui" line="413"/>
@@ -2642,6 +2653,137 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
 </context>
 <context>
+    <name>SecondAuthDialog</name>
+    <message>
+        <source>Signatures - Sign / Verify a Message</source>
+        <translation type="obsolete">Підписи - Підпис / Перевірка повідомлення</translation>
+    </message>
+    <message>
+        <source>The address to sign the message with (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="obsolete">Виберіть адресу, який буде використаний для підписання повідомлення (наприклад 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="48"/>
+        <source>Choose an address from the address book</source>
+        <translation type="unfinished">Оберіть адресу з адресної книги</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="58"/>
+        <source>Alt+A</source>
+        <translation type="unfinished">Alt+A</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="17"/>
+        <source>Second Authentication</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="23"/>
+        <source>You can sign hash of transaction exists in the blockchain with your addresses.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="38"/>
+        <source>The address for authentification (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="79"/>
+        <source>Paste hash from clipboard</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="89"/>
+        <source>Alt+P</source>
+        <translation type="unfinished">Alt+P</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="118"/>
+        <source>Copy the current signature to the system clipboard</source>
+        <translation type="unfinished">Скопіювати поточну сигнатуру до системного буферу обміну</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="128"/>
+        <source>Alt+C</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="142"/>
+        <source>Sign the hash</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Sign the message to prove you own this NovaCoin address</source>
+        <translation type="obsolete">Підпишіть повідомлення щоб довести, що ви є власником цієї адреси</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="145"/>
+        <source>&amp;Sign Data</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="159"/>
+        <source>Reset all sign message fields</source>
+        <translation type="unfinished">Скинути всі поля підпису повідомлення</translation>
+    </message>
+    <message>
+        <location filename="../forms/secondauthdialog.ui" line="162"/>
+        <source>Clear &amp;All</source>
+        <translation type="unfinished">Очистити &amp;все</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="29"/>
+        <source>Enter a NovaCoin address (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</source>
+        <translation type="unfinished">Введіть адресу NovaCoin (наприклад 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="30"/>
+        <source>Click &quot;Sign data&quot; to generate signature</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="80"/>
+        <source>The entered address is invalid.</source>
+        <translation type="unfinished">Введена нечинна адреса.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="80"/>
+        <location filename="../secondauthdialog.cpp" line="89"/>
+        <source>Please check the address and try again.</source>
+        <translation type="unfinished">Будь ласка, перевірте адресу та спробуйте ще.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="89"/>
+        <source>The entered address does not refer to a key.</source>
+        <translation type="unfinished">Введена адреса не відноситься до ключа.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="97"/>
+        <source>Wallet unlock was cancelled.</source>
+        <translation type="unfinished">Розблокування гаманця було скасоване.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="105"/>
+        <source>Private key for the entered address is not available.</source>
+        <translation type="unfinished">Приватний ключ для введеної адреси недоступний.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="115"/>
+        <source>No information available about transaction.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="127"/>
+        <source>Message signing failed.</source>
+        <translation type="unfinished">Не вдалося підписати повідомлення.</translation>
+    </message>
+    <message>
+        <location filename="../secondauthdialog.cpp" line="132"/>
+        <source>Message signed.</source>
+        <translation type="unfinished">Повідомлення підписано.</translation>
+    </message>
+</context>
+<context>
     <name>SendCoinsDialog</name>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="14"/>
@@ -2682,7 +2824,7 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
     <message>
         <source>0</source>
-        <translation type="vanished">0</translation>
+        <translation type="obsolete">0</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="251"/>
@@ -2696,7 +2838,7 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
     <message>
         <source>0.00 NVC</source>
-        <translation type="vanished">0.00 NVC</translation>
+        <translation type="obsolete">0.00 NVC</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="337"/>
@@ -2785,7 +2927,7 @@ Reduce the number of addresses involved in the address creation.</source>
     </message>
     <message>
         <source>123.456 NVC</source>
-        <translation type="vanished">123.456 NVC</translation>
+        <translation type="obsolete">123.456 NVC</translation>
     </message>
     <message>
         <location filename="../forms/sendcoinsdialog.ui" line="772"/>
diff --git a/src/qt/secondauthdialog.cpp b/src/qt/secondauthdialog.cpp
new file mode 100644 (file)
index 0000000..2f28103
--- /dev/null
@@ -0,0 +1,170 @@
+#include "secondauthdialog.h"
+#include "ui_secondauthdialog.h"
+
+#include "addressbookpage.h"
+#include "base58.h"
+#include "guiutil.h"
+#include "dialogwindowflags.h"
+#include "init.h"
+#include "main.h"
+#include "optionsmodel.h"
+#include "walletmodel.h"
+#include "wallet.h"
+
+#include <string>
+#include <vector>
+
+#include <QClipboard>
+#include <QKeyEvent>
+
+SecondAuthDialog::SecondAuthDialog(QWidget *parent) :
+    QWidget(parent, DIALOGWINDOWHINTS),
+    ui(new Ui::SecondAuthDialog),
+    model(0)
+{
+    ui->setupUi(this);
+
+#if (QT_VERSION >= 0x040700)
+    /* Do not move this to the XML file, Qt before 4.7 will choke on it */
+    ui->addressIn->setPlaceholderText(tr("Enter a NovaCoin address (e.g. 4Zo1ga6xuKuQ7JV7M9rGDoxdbYwV5zgQJ5)"));
+    ui->signatureOut->setPlaceholderText(tr("Click \"Sign data\" to generate signature"));
+#endif
+
+    GUIUtil::setupAddressWidget(ui->addressIn, this);
+
+    ui->addressIn->installEventFilter(this);
+    ui->messageIn->installEventFilter(this);
+    ui->signatureOut->installEventFilter(this);
+
+    ui->signatureOut->setFont(GUIUtil::bitcoinAddressFont());
+}
+
+SecondAuthDialog::~SecondAuthDialog()
+{
+    delete ui;
+}
+
+void SecondAuthDialog::setModel(WalletModel *model)
+{
+    this->model = model;
+}
+
+void SecondAuthDialog::on_addressBookButton_clicked()
+{
+    if (model && model->getAddressTableModel())
+    {
+        AddressBookPage dlg(AddressBookPage::ForSending, AddressBookPage::ReceivingTab, this);
+        dlg.setModel(model->getAddressTableModel());
+        if (dlg.exec())
+        {
+            ui->addressIn->setText(dlg.getReturnValue());
+        }
+    }
+}
+
+void SecondAuthDialog::on_pasteButton_clicked()
+{
+    ui->messageIn->setText(QApplication::clipboard()->text());
+}
+
+void SecondAuthDialog::on_signMessageButton_clicked()
+{
+    /* Clear old signature to ensure users don't get confused on error with an old signature displayed */
+    ui->signatureOut->clear();
+
+    CBitcoinAddress addr(ui->addressIn->text().toStdString());
+    if (!addr.IsValid())
+    {
+        ui->addressIn->setValid(false);
+        ui->statusLabel->setStyleSheet("QLabel { color: red; }");
+        ui->statusLabel->setText(tr("The entered address is invalid.") + QString(" ") + tr("Please check the address and try again."));
+        return;
+    }
+
+    CKeyID keyID;
+    if (!addr.GetKeyID(keyID))
+    {
+        ui->addressIn->setValid(false);
+        ui->statusLabel->setStyleSheet("QLabel { color: red; }");
+        ui->statusLabel->setText(tr("The entered address does not refer to a key.") + QString(" ") + tr("Please check the address and try again."));
+        return;
+    }
+
+    WalletModel::UnlockContext ctx(model->requestUnlock());
+    if (!ctx.isValid())
+    {
+        ui->statusLabel->setStyleSheet("QLabel { color: red; }");
+        ui->statusLabel->setText(tr("Wallet unlock was cancelled."));
+        return;
+    }
+
+    CKey key;
+    if (!pwalletMain->GetKey(keyID, key))
+    {
+        ui->statusLabel->setStyleSheet("QLabel { color: red; }");
+        ui->statusLabel->setText(tr("Private key for the entered address is not available."));
+        return;
+    }
+
+    uint256 hash;
+    hash.SetHex(ui->messageIn->text().toStdString());
+    CTransaction tx;
+    uint256 hashBlock = 0;
+    if (!GetTransaction(hash, tx, hashBlock) || !hashBlock) {
+        ui->statusLabel->setStyleSheet("QLabel { color: red; }");
+        ui->statusLabel->setText(tr("No information available about transaction."));
+        return;
+    }
+
+    CDataStream ss(SER_GETHASH, 0);
+    ss << strMessageMagic;
+    ss << ui->messageIn->text().toStdString();
+
+    std::vector<unsigned char> vchSig;
+    if (!key.SignCompact(Hash(ss.begin(), ss.end()), vchSig))
+    {
+        ui->statusLabel->setStyleSheet("QLabel { color: red; }");
+        ui->statusLabel->setText(QString("<nobr>") + tr("Message signing failed.") + QString("</nobr>"));
+        return;
+    }
+
+    ui->statusLabel->setStyleSheet("QLabel { color: green; }");
+    ui->statusLabel->setText(QString("<nobr>") + tr("Message signed.") + QString("</nobr>"));
+
+    ui->signatureOut->setText(QString::fromStdString(EncodeBase64(&vchSig[0], vchSig.size())));
+}
+
+void SecondAuthDialog::on_copySignatureButton_clicked()
+{
+    QApplication::clipboard()->setText(ui->signatureOut->text());
+}
+
+void SecondAuthDialog::on_clearButton_clicked()
+{
+    ui->addressIn->clear();
+    ui->messageIn->clear();
+    ui->signatureOut->clear();
+    ui->statusLabel->clear();
+
+    ui->addressIn->setFocus();
+}
+
+bool SecondAuthDialog::eventFilter(QObject *object, QEvent *event)
+{
+    return QWidget::eventFilter(object, event);
+}
+
+void SecondAuthDialog::keyPressEvent(QKeyEvent *event)
+{
+#ifdef ANDROID
+    if(event->key() == Qt::Key_Back)
+    {
+        close();
+    }
+#else
+    if(event->key() == Qt::Key_Escape)
+    {
+        close();
+    }
+#endif
+}
diff --git a/src/qt/secondauthdialog.h b/src/qt/secondauthdialog.h
new file mode 100644 (file)
index 0000000..1fa329c
--- /dev/null
@@ -0,0 +1,42 @@
+#ifndef SECONDAUTHDIALOG_H
+#define SECONDAUTHDIALOG_H
+
+#include <QWidget>
+
+namespace Ui {
+    class SecondAuthDialog;
+}
+class WalletModel;
+
+QT_BEGIN_NAMESPACE
+QT_END_NAMESPACE
+
+class SecondAuthDialog : public QWidget
+{
+    Q_OBJECT
+
+public:
+    explicit SecondAuthDialog(QWidget *parent = 0);
+    ~SecondAuthDialog();
+
+    void setModel(WalletModel *model);
+    void setAddress(QString address);
+
+protected:
+    bool eventFilter(QObject *object, QEvent *event);
+    void keyPressEvent(QKeyEvent *);
+
+private:
+    Ui::SecondAuthDialog *ui;
+    WalletModel *model;
+
+private slots:
+    /* sign */
+    void on_addressBookButton_clicked();
+    void on_pasteButton_clicked();
+    void on_signMessageButton_clicked();
+    void on_copySignatureButton_clicked();
+    void on_clearButton_clicked();
+};
+
+#endif // SECONDAUTHDIALOG_H