Merge pull request #51 from fsb4000/master
author0xDEADFACE <masmfan@gmail.com>
Sat, 15 Nov 2014 16:47:53 +0000 (19:47 +0300)
committer0xDEADFACE <masmfan@gmail.com>
Sat, 15 Nov 2014 16:47:53 +0000 (19:47 +0300)
translation ThirdPartyURLs

src/qt/forms/optionsdialog.ui
src/qt/locale/bitcoin_ru.ts
src/qt/transactiontablemodel.cpp

index 953ff2a..25ee24b 100644 (file)
          <item>
           <widget class="QLabel" name="thirdPartyTxUrlsLabel">
            <property name="toolTip">
-            <string>Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
+            <string>Third party URLs (e.g. explorer.novaco.in) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
            </property>
            <property name="text">
             <string>Third party transaction URLs</string>
          <item>
           <widget class="QLineEdit" name="thirdPartyTxUrls">
            <property name="toolTip">
-            <string>Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
+            <string>Third party URLs (e.g. explorer.novaco.in) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
            </property>
           </widget>
          </item>
index b147093..7eb849a 100644 (file)
@@ -1429,6 +1429,14 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
         <translation>Управление &amp;входами (только для продвинутых пользователей!)</translation>
     </message>
     <message>
+        <source>Third party transaction URLs</source>
+        <translation>Сторонние URL транзакций</translation>
+    </message>
+    <message>
+        <source>Third party URLs (e.g. explorer.novaco.in) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</source>
+        <translation>Сторонние URL (например explorer.novaco.in), которые отображаются на вкладке транзакций как пункты контекстного меню. %s в URL заменяется хешем транзакции. URL отделяются друг от друга вертикальной чертой |.</translation>
+    </message>
+    <message>
         <location line="+71"/>
         <source>&amp;OK</source>
         <translation>О&amp;К</translation>
index f0ec309..01efd1f 100644 (file)
@@ -572,6 +572,8 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
         return rec->credit + rec->debit;
     case TxIDRole:
         return QString::fromStdString(rec->getTxID());
+    case TxHashRole:
+        return QString::fromStdString(rec->hash.ToString());
     case ConfirmedRole:
         // Return True if transaction counts for balance
         return rec->status.confirmed && !(rec->type == TransactionRecord::Generated && rec->status.maturity != TransactionStatus::Mature);