Fix: translate NoAccountsAdded text

Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
leo78913 2023-01-09 19:28:36 -03:00
parent ada595663d
commit 3b38a4c690

View File

@ -698,7 +698,7 @@ void MainWindow::repopulateAccountsMenu()
if (accounts->count() <= 0) if (accounts->count() <= 0)
{ {
ui->actionNoAccountsAdded->setText( "No accounts added!"); ui->actionNoAccountsAdded->setText(tr("No accounts added!"));
ui->actionNoAccountsAdded->setEnabled(false); ui->actionNoAccountsAdded->setEnabled(false);
accountMenu->addAction(ui->actionNoAccountsAdded); accountMenu->addAction(ui->actionNoAccountsAdded);
ui->accountsMenu->addAction(ui->actionNoAccountsAdded); ui->accountsMenu->addAction(ui->actionNoAccountsAdded);