Merge pull request #353 from FayneAldan/accounts-consistency

This commit is contained in:
flow 2022-10-30 16:52:36 -07:00 committed by GitHub
commit d89a541a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -527,7 +527,7 @@ public:
menuBar->addMenu(foldersMenu); menuBar->addMenu(foldersMenu);
profileMenu = menuBar->addMenu(tr("&Profiles")); profileMenu = menuBar->addMenu(tr("&Accounts"));
profileMenu->setSeparatorsCollapsible(false); profileMenu->setSeparatorsCollapsible(false);
profileMenu->addAction(actionManageAccounts); profileMenu->addAction(actionManageAccounts);
@ -1052,7 +1052,7 @@ void MainWindow::retranslateUi()
accountMenuButton->setText(profileLabel); accountMenuButton->setText(profileLabel);
} }
else { else {
accountMenuButton->setText(tr("Profiles")); accountMenuButton->setText(tr("Accounts"));
} }
if (m_selectedInstance) { if (m_selectedInstance) {
@ -1395,7 +1395,7 @@ void MainWindow::defaultAccountChanged()
// Set the icon to the "no account" icon. // Set the icon to the "no account" icon.
accountMenuButton->setIcon(APPLICATION->getThemedIcon("noaccount")); accountMenuButton->setIcon(APPLICATION->getThemedIcon("noaccount"));
accountMenuButton->setText(tr("Profiles")); accountMenuButton->setText(tr("Accounts"));
} }
bool MainWindow::eventFilter(QObject *obj, QEvent *ev) bool MainWindow::eventFilter(QObject *obj, QEvent *ev)