More translations and UI stuff

This commit is contained in:
fekt
2024-04-11 21:19:22 -04:00
parent 5653a27292
commit 545c27ba36
19 changed files with 71 additions and 72 deletions

View File

@@ -467,7 +467,7 @@ void MainWindow::encryptWallet() {
{
QString passphraseBlank = ed.txtPassword->text(); // data comes from user inputs
QString passphrase = QString("HUSH3") + passphraseBlank + QString("SDL");
QString passphrase = QString("DRGX") + passphraseBlank + QString("SDXL");
int length = passphrase.length();
@@ -563,7 +563,7 @@ void MainWindow::removeWalletEncryption() {
if (d.exec() == QDialog::Accepted) {
QString passphraseBlank = ed.txtPassword->text(); // data comes from user inputs
QString passphrase = QString("HUSH3") + passphraseBlank + QString("SDL");
QString passphrase = QString("DRGX") + passphraseBlank + QString("SDXL");
int length = passphrase.length();
@@ -647,7 +647,7 @@ void MainWindow::removeWalletEncryptionStartUp() {
if (d.exec() == QDialog::Accepted){
QString passphraseBlank = ed.txtPassword->text(); // data comes from user inputs
QString passphrase = QString("HUSH3") + passphraseBlank + QString("SDL");
QString passphrase = QString("DRGX") + passphraseBlank + QString("SDXL");
int length = passphrase.length();
char *sequence = NULL;
@@ -1014,7 +1014,7 @@ void MainWindow::payhushURI(QString uri, QString myAddr) {
// If there was no URI passed, ask the user for one.
if (uri.isEmpty()) {
uri = QInputDialog::getText(this, tr("Paste DRGX URI"),
"HUSH URI" + QString(" ").repeated(180));
"DRGX URI" + QString(" ").repeated(180));
}
// If there's no URI, just exit
@@ -1869,7 +1869,7 @@ Tx MainWindow::createTxFromSendChatPage() {
QString moneymemo = this->getMoneyMemo();
/////////User input for chatmemos
QString memoplain = QString("Money transaction of : ") + amtStr + QString(" HUSH") + QString("\n") + QString("\n") + moneymemo;
QString memoplain = QString("Money transaction of : ") + amtStr + QString(" DRGX") + QString("\n") + QString("\n") + moneymemo;
/////////We convert the user input from QString to unsigned char*, so we can encrypt it later
int lengthmemo = memoplain.length();
@@ -2157,7 +2157,7 @@ Tx MainWindow::createTxFromSendRequestChatPage() {
QString moneymemo = this->getMoneyMemo();
/////////User input for chatmemos
QString memoplain = QString("Request of : ") + amtStr + QString(" HUSH ") + QString("\n") + QString("\n") + moneymemo;
QString memoplain = QString("Request of : ") + amtStr + QString(" DRGX ") + QString("\n") + QString("\n") + moneymemo;
/////////We convert the user input from QString to unsigned char*, so we can encrypt it later
int lengthmemo = memoplain.length();