Skip to content

Commit

Permalink
Add Market Browser
Browse files Browse the repository at this point in the history
Add BTC price
Add USD price
Add BRL price
More Portuguese translation
  • Loading branch information
Bzlcoin committed Feb 2, 2018
1 parent 8b87509 commit e545759
Show file tree
Hide file tree
Showing 7 changed files with 364 additions and 257 deletions.
2 changes: 1 addition & 1 deletion src/qt/bitcoingui.cpp
Expand Up @@ -484,7 +484,7 @@ void BitcoinGUI::createToolBars()
mainToolbar->addAction(messageAction);
mainToolbar->addAction(statisticsAction);
mainToolbar->addAction(blockAction);
//mainToolbar->addAction(marketAction);
mainToolbar->addAction(marketAction);
//mainToolbar->addAction(chatAction); Next release

secondaryToolbar = addToolBar(tr("Actions toolbar"));
Expand Down
2 changes: 1 addition & 1 deletion src/qt/forms/aboutdialog.ui
Expand Up @@ -128,7 +128,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Join us on the forums at &lt;a href=&quot;https://bzlcointalk.org&quot; style=&quot;color: #FFF;&quot;&gt;https://bzlcointalk.org&lt;/a&gt;</string>
<string>Join us on the forums at &lt;a href=&quot;https://forum.bzlcoin.org&quot; style=&quot;color: #FFF;&quot;&gt;https://forum.bzlcoin.org&lt;/a&gt;</string>
</property>
</widget>
</item>
Expand Down
92 changes: 82 additions & 10 deletions src/qt/forms/overviewpage.ui
Expand Up @@ -227,7 +227,6 @@
<widget class="QLabel" name="labelTotal">
<property name="font">
<font>
<pointsize>11</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
Expand All @@ -245,6 +244,84 @@
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>USD Total:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="labelUSDTotal">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="toolTip">
<string>Your current total balance in USD, Rate is not updated often</string>
</property>
<property name="text">
<string>0 USD</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>BRL Total:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="labelBRLTotal">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="toolTip">
<string>Your current total balance in BRL, Rate is not updated often</string>
</property>
<property name="text">
<string>0 BRL</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>BTC Total:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="labelBTCTotal">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="toolTip">
<string>Your current total balance in BTC, Rate is not updated often</string>
</property>
<property name="text">
<string>0 BTC</string>
</property>
</widget>
</item>
</layout>
</item>
Expand All @@ -270,7 +347,7 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../bitcoin.qrc">:/icons/bzlcoin</pixmap>
<pixmap resource="../bitcoin.qrc">:/icons/denarius</pixmap>
</property>
</widget>
</item>
Expand All @@ -291,20 +368,15 @@
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>&lt;b&gt;Recent Transactions&lt;/b&gt;</string>
<string>&lt;b&gt;Recent transactions&lt;/b&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelTransactionsStatus">
<property name="toolTip">
<string>The displayed information may be out of date. Your wallet automatically synchronizes with the BZLCoin network after a connection is established, but this process has not completed yet.</string>
<string>The displayed information may be out of date. Your wallet automatically synchronizes with the Denarius network after a connection is established, but this process has not completed yet.</string>
</property>
<property name="styleSheet">
<string notr="true">QLabel { color: red; }</string>
Expand Down Expand Up @@ -375,4 +447,4 @@
<include location="../bitcoin.qrc"/>
</resources>
<connections/>
</ui>
</ui>
56 changes: 28 additions & 28 deletions src/qt/locale/bitcoin_pt_BR.ts
Expand Up @@ -549,7 +549,7 @@ Este produto inclui software desenvolvido pelo Projeto OpenSSL para uso no OpenS
<message>
<location line="+40"/>
<source>Downloaded %1 blocks of transaction history.</source>
<translation type="unfinished"/>
<translation>Baixando %1 blocos de histórico de transações</translation>
</message>
<message>
<location line="+413"/>
Expand All @@ -559,22 +559,22 @@ Este produto inclui software desenvolvido pelo Projeto OpenSSL para uso no OpenS
<message>
<location line="+6"/>
<source>Not staking because wallet is locked</source>
<translation type="unfinished"/>
<translation>Não estacando porque a carteira está bloqueada</translation>
</message>
<message>
<location line="+2"/>
<source>Not staking because wallet is offline</source>
<translation type="unfinished"/>
<translation>Não estacando porque a carteira está sem conexão</translation>
</message>
<message>
<location line="+2"/>
<source>Not staking because wallet is syncing</source>
<translation type="unfinished"/>
<translation> Não apostando porque a carteira está sincronizando</translation>
</message>
<message>
<location line="+2"/>
<source>Not staking because you don&apos;t have mature coins</source>
<translation type="unfinished"/>
<translation>Não estacando porque você não tem moedas maduras</translation>
</message>
<message numerus="yes">
<location line="-403"/>
Expand Down Expand Up @@ -614,17 +614,17 @@ Este produto inclui software desenvolvido pelo Projeto OpenSSL para uso no OpenS
<message>
<location line="+10"/>
<source>Last received block was generated %1.</source>
<translation type="unfinished"/>
<translation>O último bloco recebido foi gerado %1</translation>
</message>
<message>
<location line="+59"/>
<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 type="unfinished"/>
<translation>Essa transação excede o limite de tamanho. Você ainda pode enviá-lo para uma taxa de %1, que vai para os nós que processam sua transação e ajuda a suportar a rede. Você quer pagar a taxa?</translation>
</message>
<message>
<location line="+5"/>
<source>Confirm transaction fee</source>
<translation type="unfinished"/>
<translation>Confirmar taxa de transação</translation>
</message>
<message>
<location line="+27"/>
Expand Down Expand Up @@ -658,7 +658,7 @@ Endereço: %4</translation>
<location line="-15"/>
<location line="+15"/>
<source>URI can not be parsed! This can be caused by an invalid ShadowCoin address or malformed URI parameters.</source>
<translation type="unfinished"/>
<translation> URI não pode ser analisado! Isso pode ser causado por um endereço inválido do ShadowCoin ou por parâmetros URI malformados</translation>
</message>
<message>
<location line="+18"/>
Expand All @@ -673,12 +673,12 @@ Endereço: %4</translation>
<message>
<location line="+25"/>
<source>Backup Wallet</source>
<translation type="unfinished"/>
<translation> Backup Carteira </translation>
</message>
<message>
<location line="+0"/>
<source>Wallet Data (*.dat)</source>
<translation type="unfinished"/>
<translation>Carteira Data(*.dat)</translation>
</message>
<message>
<location line="+3"/>
Expand Down Expand Up @@ -713,12 +713,12 @@ Endereço: %4</translation>
<message>
<location line="+18"/>
<source>Not staking</source>
<translation type="unfinished"/>
<translation> Não apostando</translation>
</message>
<message>
<location filename="../bitcoin.cpp" line="+109"/>
<source>A fatal error occurred. ShadowCoin can no longer continue safely and will quit.</source>
<translation type="unfinished"/>
<translation>Ocorreu um erro fatal. ShadowCoin não pode continuar com segurança e vai fechar.</translation>
</message>
</context>
<context>
Expand Down Expand Up @@ -998,7 +998,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+10"/>
<source>The label associated with this address book entry</source>
<translation type="unfinished"/>
<translation>A etiqueta associado a esta entrada do catálogo de endereços</translation>
</message>
<message>
<location line="+7"/>
Expand All @@ -1008,7 +1008,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+10"/>
<source>The address associated with this address book entry. This can only be modified for sending addresses.</source>
<translation type="unfinished"/>
<translation>O endereço associado a esta entrada do catálogo de endereços. Isso só pode ser modificado para enviar endereços</translation>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+20"/>
Expand Down Expand Up @@ -1038,7 +1038,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="-5"/>
<source>The entered address &quot;%1&quot; is not a valid ShadowCoin address.</source>
<translation type="unfinished"/>
<translation>O endereço introduzido &quot;%1&quot; não é um endereço ShadowCoin válido.</translation>
</message>
<message>
<location line="+10"/>
Expand Down Expand Up @@ -1072,7 +1072,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+1"/>
<source>command-line options</source>
<translation type="unfinished"/>
<translation>Opção de linha de comando</translation>
</message>
<message>
<location line="+4"/>
Expand All @@ -1082,12 +1082,12 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+1"/>
<source>Set language, for example &quot;de_DE&quot; (default: system locale)</source>
<translation type="unfinished"/>
<translation>Definir idioma (default: system locale)</translation>
</message>
<message>
<location line="+1"/>
<source>Start minimized</source>
<translation type="unfinished"/>
<translation>Iniciar Minimizado</translation>
</message>
<message>
<location line="+1"/>
Expand All @@ -1110,7 +1110,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+6"/>
<source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB. Fee 0.01 recommended.</source>
<translation type="unfinished"/>
<translation>Taxa de transação opcional por kB que ajuda a garantir que suas transações sejam processadas rapidamente. A maioria das transações são de 1 kB. Taxa 0.01 recomendada.</translation>
</message>
<message>
<location line="+15"/>
Expand All @@ -1120,7 +1120,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+31"/>
<source>Reserved amount does not participate in staking and is therefore spendable at any time.</source>
<translation type="unfinished"/>
<translation>O valor reservado não participa em aposta e, portanto, pode ser gasto a qualquer momento</translation>
</message>
<message>
<location line="+15"/>
Expand Down Expand Up @@ -1326,12 +1326,12 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="-160"/>
<source>Stake:</source>
<translation type="unfinished"/>
<translation>Aposta:</translation>
</message>
<message>
<location line="+29"/>
<source>Unconfirmed:</source>
<translation type="unfinished"/>
<translation>Não confirmado</translation>
</message>
<message>
<location line="-107"/>
Expand All @@ -1341,12 +1341,12 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+49"/>
<source>Spendable:</source>
<translation type="unfinished"/>
<translation>Disponível:</translation>
</message>
<message>
<location line="+16"/>
<source>Your current spendable balance</source>
<translation>Seu saldo atual spendable</translation>
<translation>Seu saldo atual disponível</translation>
</message>
<message>
<location line="+71"/>
Expand Down Expand Up @@ -1376,12 +1376,12 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="-108"/>
<source>Total of transactions that have yet to be confirmed, and do not yet count toward the current balance</source>
<translation type="unfinished"/>
<translation type="Total de transações que ainda não foram confirmadas e ainda não contam para o saldo atual"/>
</message>
<message>
<location line="-29"/>
<source>Total of coins that was staked, and do not yet count toward the current balance</source>
<translation type="unfinished"/>
<translation>Total de moedas que foram apostadas e ainda não contam para o saldo atual</translation>
</message>
<message>
<location filename="../overviewpage.cpp" line="+113"/>
Expand Down Expand Up @@ -2685,7 +2685,7 @@ This label turns red, if the priority is smaller than &quot;medium&quot;.
<message>
<location line="+2"/>
<source>Stake your coins to support network and gain reward (default: 1)</source>
<translation type="unfinished"/>
<translation>Aposte suas moedas para da suporte a rede e ganhar recompensas</translation>
</message>
<message>
<location line="+5"/>
Expand Down

0 comments on commit e545759

Please sign in to comment.