diff --git a/.travis.yml b/.travis.yml index b38dad9..0e70086 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,14 +22,13 @@ script: - qmake -v - clang++ -v - g++-8 -v + # Linguist test that translation source files can be compiled + # correctly and will hopefully catch syntax errors earlier + # We want the build to fail if we can't compile translations. + - ./build.sh linguist - qmake silentdragon.pro CONFIG+=release -spec linux-clang - make CC=clang CXX=clang++ -j2 - make distclean - qmake silentdragon.pro CONFIG+=release -spec linux-g++ -# These next 2 lines test that translation source files can be compiled -# correctly and will hopefully catch syntax errors earlier -# We want the build to fail if we can't compile translations. - - lupdate silentdragon.pro - - lrelease silentdragon.pro - res/libsodium/buildlibsodium.sh - make CC=gcc-8 CXX=g++-8 -j2 diff --git a/res/silentdragon-animated-startup-dark.gif b/res/silentdragon-animated-startup-dark.gif index 5990a3d..f089ccd 100644 Binary files a/res/silentdragon-animated-startup-dark.gif and b/res/silentdragon-animated-startup-dark.gif differ diff --git a/res/silentdragon-animated-startup.gif b/res/silentdragon-animated-startup.gif index 9d816f4..8e368b2 100644 Binary files a/res/silentdragon-animated-startup.gif and b/res/silentdragon-animated-startup.gif differ diff --git a/res/silentdragon_it.ts b/res/silentdragon_it.ts index 460533e..c8a8d72 100644 --- a/res/silentdragon_it.ts +++ b/res/silentdragon_it.ts @@ -286,10 +286,6 @@ t-Addr t-Addresses (Trasparente) - - z-Addr(Sprout) - z-Addresses (Legacy Sprout) - New Address @@ -1733,17 +1729,17 @@ Avete fondi non confermati o il saldo è troppo basso per una migrazione automat Opzioni - + Check github for updates at startup - + Connect to the Tor network via SOCKS proxy running on 127.0.0.1:9050. Please note that you'll have to install and run the Tor service externally. Connettiti alla rete Tor tramite proxy SOCKS in esecuzione su 127.0.0.1:9050. Nota che dovrai installare ed eseguire il servizio Tor esternamente. - + Shielded transactions are saved locally and shown in the transactions tab. If you uncheck this, shielded transactions will not appear in the transactions tab. Le transazioni Shielded vengono salvate localmente e visualizzate nella scheda delle transazioni. Se deselezioni questa opzione, le transazioni Shielded non verranno visualizzate nella scheda delle transazioni. @@ -1993,148 +1989,153 @@ Avete fondi non confermati o il saldo è troppo basso per una migrazione automat - + + midnight + + + + Connect via Tor Connetti via Tor - + Connect to github on startup to check for updates - + Connect to the internet to fetch HUSH prices - + Fetch HUSH prices - + Explorer - + Tx Explorer URL - + Address Explorer URL - + Testnet Tx Explorer URL - + Testnet Address Explorer URL - + Troubleshooting Risoluzione dei problemi - + Reindex Reindex - + Rescan the blockchain for any missing wallet transactions and to correct your wallet balance. This may take several hours. You need to restart SilentDragon for this to take effect Riesegui la scansione della blockchain per eventuali transazioni di portafoglio mancanti e per correggere il saldo del tuo portafoglio. Questa operazione potrebbe richiedere diverse ore. È necessario riavviare SilentDragon affinché questo abbia effetto - + Rescan Rescan - + Rebuild the entire blockchain from the genesis block, by rescanning all the block files. This may take several hours to days, depending on your hardware. You need to restart SilentDragon for this to take effect Ricostruisci l'intera blockchain dal blocco genesi, eseguendo nuovamente la scansione di tutti i file di blocco. Questo potrebbe richiedere diverse ore o giorni, a seconda dell'hardware. È necessario riavviare SilentDragon affinché questo abbia effetto - + This code can greatly reduce the size of wallets and increase performance for service providers. It's designed mostly for exchanges and mining pools but anybody with a large wallet will benefit. - + Enable Old Transaction Deletion - + Consolidation - + Deletetx - + The new experimental Shielded Index (-zindex) which keeps track of many stats that can be seen via the new getchaintxstats RPC. These include shielded payments, anonymity set size and many other things. - + Zindex - + 100 100 - + Wallet.dat Size : - + MB - + Clear History Cancellare la cronologia - + Remember shielded transactions Ricorda le transazioni Shielded - + Allow custom fees commissioni? Va bene? Consenti commissioni personalizzate - + Allow overriding the default fees when sending transactions. Enabling this option may compromise your privacy since fees are transparent. Consentire di ignorare le commissioni di default quando si inviano transazioni. L'attivazione di questa opzione potrebbe compromettere la tua privacy in quanto le commissioni sono trasparenti. - + Normally, change from t-Addresses goes to another t-Address. Checking this option will send the change to your shielded sapling address instead. Check this option to increase your privacy. Normalmente, il passaggio da t-Addresses passa a un altro t-Address. Selezionando questa opzione invierai invece la transazione di resto al tuo indirizzo Shielded Sapling. Seleziona questa opzione per aumentare la tua privacy. - + Shield change from t-Addresses to your sapling address check Cambia l'indirizzo Shielded da t-Addresses al tuo indirizzo Sapling @@ -2154,10 +2155,6 @@ Avete fondi non confermati o il saldo è troppo basso per una migrazione automat From da - - <html><head/><body><p>Funds from Sprout z-Addresses (which start with &quot;zc&quot;) need to be moved to the upgraded Sapling z-Addresses (which start with &quot;zs&quot;). The funds cannot be moved directly, but need to be sent through intermediate &quot;transparent&quot; addresses in privacy-preserving way.</p><p>This migration can be done automatically for you.</p></body></html> - <html><head/><body><p>I fondi da indirizzo Shielded Sprout (che inizia con &quot;zc&quot;) DEVONO essere trasferiti manualmente in un indirizzo Shielded Sapling (che inizia con &quot;zs&quot;). i fondi non possono essere trasferiti direttamente, ma devono essere inviati tramite un indirizzo&quot;Trasparente&quot; intermedio, in modo che sia preservata la privacy.</p><p>La migrazione può essere effettuata in modo automatico</p></body></html> - To a diff --git a/src/connection.cpp b/src/connection.cpp index 72a1446..6936a6e 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -23,7 +23,8 @@ ConnectionLoader::ConnectionLoader(MainWindow* main, RPC* rpc) { QMovie *movie2 = new QMovie(":/img/res/silentdragon-animated-startup-dark.gif");; auto theme = Settings::getInstance()->get_theme_name(); auto size = QSize(512,512); - if (theme == "dark" || "midnight") { + + if (theme == "dark" || theme == "midnight") { movie2->setScaledSize(size); connD->topIcon->setMovie(movie2); movie2->start(); diff --git a/src/rpc.cpp b/src/rpc.cpp index 291fedc..9a8788c 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1222,7 +1222,7 @@ void RPC::shutdownZcashd() { QMovie *movie1 = new QMovie(":/img/res/silentdragon-animated.gif");; QMovie *movie2 = new QMovie(":/img/res/silentdragon-animated-dark.gif");; auto theme = Settings::getInstance()->get_theme_name(); - if (theme == "dark" || "midnight") { + if (theme == "dark" || theme == "midnight") { movie2->setScaledSize(QSize(512,512)); connD.topIcon->setMovie(movie2); movie2->start(); diff --git a/src/sendtab.cpp b/src/sendtab.cpp index 3a9ce81..ef0cf2a 100644 --- a/src/sendtab.cpp +++ b/src/sendtab.cpp @@ -715,7 +715,7 @@ void MainWindow::sendButton() { QMovie *movie1 = new QMovie(":/img/res/silentdragon-animated.gif");; QMovie *movie2 = new QMovie(":/img/res/silentdragon-animated-dark.gif");; auto theme = Settings::getInstance()->get_theme_name(); - if (theme == "dark" || "midnight") { + if (theme == "dark" || theme == "midnight") { movie2->setScaledSize(QSize(512,512)); connD->topIcon->setMovie(movie2); movie2->start();