Updating translations and some UI stuff

This commit is contained in:
fekt
2024-04-11 20:55:22 -04:00
parent 022e322a0b
commit a3ce9a3ae8
32 changed files with 720 additions and 719 deletions

View File

@@ -129,12 +129,12 @@ MainWindow::MainWindow(QWidget *parent) :
Recurring::getInstance()->showRecurringDialog(this);
});
// Request hush
// Request drgx
QObject::connect(ui->actionRequest_hush, &QAction::triggered, [=]() {
RequestDialog::showRequesthush(this);
});
// Pay hush URI
// Pay drgx URI
QObject::connect(ui->actionPay_URI, &QAction::triggered, [=] () {
payhushURI();
});
@@ -1013,7 +1013,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 HUSH URI"),
uri = QInputDialog::getText(this, tr("Paste DRGX URI"),
"HUSH URI" + QString(" ").repeated(180));
}
@@ -1025,7 +1025,7 @@ void MainWindow::payhushURI(QString uri, QString myAddr) {
qDebug() << "Received URI " << uri;
PaymentURI paymentInfo = Settings::parseURI(uri);
if (!paymentInfo.error.isEmpty()) {
QMessageBox::critical(this, tr("Error paying HUSH URI"),
QMessageBox::critical(this, tr("Error paying DRGX URI"),
tr("URI should be of the form 'hush:<addr>?amt=x&memo=y") + "\n" + paymentInfo.error);
return;
}
@@ -1703,7 +1703,7 @@ if (-1 != pos)
QAction* editAction;
QAction* HushAction;
contextMenu = new QMenu(ui->listContactWidget);
HushAction = new QAction("Send or Request Hush ",contextMenu);
HushAction = new QAction("Send or Request drgx ",contextMenu);
editAction = new QAction("Delete this contact",contextMenu);
///////// Set selected Zaddr for Chat with click