diff --git a/src/browser/BrowserOptionDialog.ui b/src/browser/BrowserOptionDialog.ui index 1c00da148..9dabde948 100755 --- a/src/browser/BrowserOptionDialog.ui +++ b/src/browser/BrowserOptionDialog.ui @@ -110,7 +110,7 @@ - &Google Chrome + Google Chrome false @@ -120,7 +120,7 @@ - &Firefox + Firefox false @@ -130,7 +130,7 @@ - &Chromium + Chromium false @@ -140,7 +140,7 @@ - &Vivaldi + Vivaldi false @@ -150,7 +150,7 @@ - &Tor Browser + Tor Browser false @@ -160,7 +160,7 @@ - &Brave + Brave false @@ -199,7 +199,7 @@ - Show a &notification when credentials are requested + Show a notification when credentials are requested true @@ -209,7 +209,7 @@ - Re&quest to unlock the database if it is locked + Request to unlock the database if it is locked true @@ -222,7 +222,7 @@ Only entries with the same scheme (http://, https://, ...) are returned. - &Match URL scheme (e.g., https://...) + Match URL scheme (e.g., https://...) @@ -232,7 +232,7 @@ Only returns the best matches for a specific URL instead of all entries for the whole domain. - &Return only best-matching credentials + Return only best-matching credentials @@ -242,21 +242,21 @@ Returns expired credentials. String [expired] is added to the title. - &Allow returning expired credentials. + Allow returning expired credentials - Sort &matching credentials by title + Sort matching credentials by title - Sort matching credentials by &username + Sort matching credentials by username @@ -293,21 +293,21 @@ - Never &ask before accessing credentials + Never ask before accessing credentials - Never ask before &updating credentials + Never ask before updating credentials - Do not ask permission for HTTP &Basic Auth + Do not ask permission for HTTP Basic Auth @@ -317,7 +317,7 @@ All databases connected to the extension will return matching credentials. - Searc&h in all opened databases for matching credentials + Search in all opened databases for matching credentials @@ -327,7 +327,7 @@ Automatically creating or updating string fields is not supported. - &Return advanced string fields which start with "KPH: " + Return advanced string fields which start with "KPH: " @@ -337,7 +337,7 @@ Don't display the popup suggesting migration of legacy KeePassHTTP settings. - &Do not prompt for KeePassHTTP settings migration. + Do not prompt for KeePassHTTP settings migration. @@ -347,7 +347,7 @@ Updates KeePassXC or keepassxc-proxy binary path automatically to native messaging scripts on startup. - Update &native messaging manifest files at startup + Update native messaging manifest files at startup @@ -357,7 +357,7 @@ Support a proxy application between KeePassXC and browser extension. - Use a &proxy application between KeePassXC and browser extension + Use a proxy application between KeePassXC and browser extension @@ -367,7 +367,7 @@ Use a custom proxy location if you installed a proxy manually. - Use a &custom proxy location + Use a custom proxy location diff --git a/src/cli/Export.cpp b/src/cli/Export.cpp index 8f63323d7..e856f5332 100644 --- a/src/cli/Export.cpp +++ b/src/cli/Export.cpp @@ -25,11 +25,11 @@ #include "core/Database.h" #include "format/CsvExporter.h" -const QCommandLineOption Export::FormatOption = - QCommandLineOption(QStringList() << "f" - << "format", - QObject::tr("Format to use when exporting. Available choices are xml or csv. Defaults to xml."), - QStringLiteral("xml|csv")); +const QCommandLineOption Export::FormatOption = QCommandLineOption( + QStringList() << "f" + << "format", + QObject::tr("Format to use when exporting. Available choices are 'xml' or 'csv'. Defaults to 'xml'."), + QStringLiteral("xml|csv")); Export::Export() { @@ -44,7 +44,7 @@ int Export::executeWithDatabase(QSharedPointer database, QSharedPointe TextStream errorTextStream(Utils::STDERR, QIODevice::WriteOnly); QString format = parser->value(Export::FormatOption); - if (format.isEmpty() || format == QStringLiteral("xml")) { + if (format.isEmpty() || format.startsWith(QStringLiteral("xml"), Qt::CaseInsensitive)) { QByteArray xmlData; QString errorMessage; if (!database->extract(xmlData, &errorMessage)) { @@ -52,7 +52,7 @@ int Export::executeWithDatabase(QSharedPointer database, QSharedPointe return EXIT_FAILURE; } outputTextStream << xmlData.constData() << endl; - } else if (format == QStringLiteral("csv")) { + } else if (format.startsWith(QStringLiteral("csv"), Qt::CaseInsensitive)) { CsvExporter csvExporter; outputTextStream << csvExporter.exportDatabase(database); } else { diff --git a/src/cli/Import.cpp b/src/cli/Import.cpp index 0907f00ab..dd7b12c64 100644 --- a/src/cli/Import.cpp +++ b/src/cli/Import.cpp @@ -86,7 +86,7 @@ int Import::execute(const QStringList& arguments) db.setKey(key); if (!db.import(xmlExportPath, &errorMessage)) { - errorTextStream << QObject::tr("Unable to import XML database export %1").arg(errorMessage) << endl; + errorTextStream << QObject::tr("Unable to import XML database: %1").arg(errorMessage) << endl; return EXIT_FAILURE; } diff --git a/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.cpp b/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.cpp index 16a780de7..7c7e3abe5 100644 --- a/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.cpp +++ b/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.cpp @@ -168,8 +168,7 @@ void DatabaseSettingsWidgetFdoSecrets::settingsWarning() m_ui->warningWidget->hideMessage(); } else { m_ui->groupBox->setEnabled(false); - m_ui->warningWidget->showMessage(tr("Enable fd.o Secret Service to access these settings."), - MessageWidget::Warning); + m_ui->warningWidget->showMessage(tr("Enable Secret Service to access these settings."), MessageWidget::Warning); m_ui->warningWidget->setCloseButtonVisible(false); m_ui->warningWidget->setAutoHideTimeout(-1); } diff --git a/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.ui b/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.ui index 6bacb32b6..7eb21705a 100644 --- a/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.ui +++ b/src/fdosecrets/widgets/DatabaseSettingsWidgetFdoSecrets.ui @@ -23,7 +23,7 @@ - Don't e&xpose this database + Don't expose this database true @@ -36,7 +36,7 @@ - Expose entries &under this group: + Expose entries under this group: buttonGroup diff --git a/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.ui b/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.ui index 660181f5d..cfbeaa210 100644 --- a/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.ui +++ b/src/fdosecrets/widgets/SettingsWidgetFdoSecrets.ui @@ -47,7 +47,7 @@ <html><head/><body><p>If recycle bin is enabled for the database, entries will be moved to recycle bin directly. Otherwise, they will be deleted without confirmation.</p><p>You will still be prompted if any entries are referenced by others.</p></body></html> - Don't confirm when entries are deleted by clients. + Don't confirm when entries are deleted by clients diff --git a/src/gui/ApplicationSettingsWidgetGeneral.ui b/src/gui/ApplicationSettingsWidgetGeneral.ui index 3c6de499a..fa4da2acc 100644 --- a/src/gui/ApplicationSettingsWidgetGeneral.ui +++ b/src/gui/ApplicationSettingsWidgetGeneral.ui @@ -57,11 +57,11 @@ - - - Minimize window after unlocking database - - + + + Minimize window after unlocking database + + @@ -806,7 +806,7 @@ - Global Auto-Type shortcut + Global Auto-Type shortcut: @@ -826,7 +826,7 @@ - Auto-Type typing delay + Auto-Type typing delay: @@ -858,7 +858,7 @@ - Auto-Type start delay + Auto-Type start delay: diff --git a/src/gui/EditWidgetIcons.ui b/src/gui/EditWidgetIcons.ui index 9648cca08..2d3d44817 100644 --- a/src/gui/EditWidgetIcons.ui +++ b/src/gui/EditWidgetIcons.ui @@ -26,7 +26,7 @@ - &Use default icon + Use default icon @@ -58,7 +58,7 @@ - Use custo&m icon + Use custom icon @@ -151,7 +151,7 @@ padding: 4px 10px - Apply icon &to ... + Apply icon to... diff --git a/src/gui/PasswordGeneratorWidget.ui b/src/gui/PasswordGeneratorWidget.ui index a30077015..38af84b75 100644 --- a/src/gui/PasswordGeneratorWidget.ui +++ b/src/gui/PasswordGeneratorWidget.ui @@ -1091,7 +1091,7 @@ QProgressBar::chunk { - Word Co&unt: + Word Count: spinBoxLength diff --git a/src/gui/dbsettings/DatabaseSettingsWidgetBrowser.ui b/src/gui/dbsettings/DatabaseSettingsWidgetBrowser.ui index 463f572d5..34553f97d 100644 --- a/src/gui/dbsettings/DatabaseSettingsWidgetBrowser.ui +++ b/src/gui/dbsettings/DatabaseSettingsWidgetBrowser.ui @@ -62,7 +62,7 @@ - &Disconnect all browsers + Disconnect all browsers @@ -75,7 +75,7 @@ - Forg&et all site-specific settings on entries + Forget all site-specific settings on entries @@ -92,7 +92,7 @@ - Move KeePassHTTP attributes to KeePassXC-Browser &custom data + Move KeePassHTTP attributes to KeePassXC-Browser custom data diff --git a/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui b/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui index 02f07952b..29349282b 100644 --- a/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui +++ b/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui @@ -183,7 +183,7 @@ - Enable &compression (recommended) + Enable compression (recommended) true diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp index 27dc8b10e..2880e8ba0 100644 --- a/src/gui/entry/EditEntryWidget.cpp +++ b/src/gui/entry/EditEntryWidget.cpp @@ -1112,8 +1112,8 @@ void EditEntryWidget::cancel() bool accepted = false; if (isModified()) { auto result = MessageBox::question(this, - QString(), - tr("Entry has unsaved changes"), + tr("Unsaved Changes"), + tr("Would you like to save changes to this entry?"), MessageBox::Cancel | MessageBox::Save | MessageBox::Discard, MessageBox::Cancel); if (result == MessageBox::Cancel) { @@ -1260,7 +1260,7 @@ void EditEntryWidget::displayAttribute(QModelIndex index, bool showProtected) if (index.isValid()) { QString key = m_attributesModel->keyByIndex(index); if (showProtected) { - m_advancedUi->attributesEdit->setPlainText(tr("[PROTECTED] Press reveal to view or edit")); + m_advancedUi->attributesEdit->setPlainText(tr("[PROTECTED] Press Reveal to view or edit")); m_advancedUi->attributesEdit->setEnabled(false); m_advancedUi->revealAttributeButton->setEnabled(true); m_advancedUi->protectAttributeButton->setChecked(true); diff --git a/src/gui/entry/EditEntryWidgetAutoType.ui b/src/gui/entry/EditEntryWidgetAutoType.ui index d987e8047..0008a7011 100644 --- a/src/gui/entry/EditEntryWidgetAutoType.ui +++ b/src/gui/entry/EditEntryWidgetAutoType.ui @@ -49,14 +49,14 @@ - Inherit default Auto-Type sequence from the &group + Inherit default Auto-Type sequence from the group - &Use custom Auto-Type sequence: + Use custom Auto-Type sequence: diff --git a/src/gui/group/EditGroupWidgetMain.ui b/src/gui/group/EditGroupWidgetMain.ui index 486e408b6..f23e43f19 100644 --- a/src/gui/group/EditGroupWidgetMain.ui +++ b/src/gui/group/EditGroupWidgetMain.ui @@ -117,14 +117,14 @@ - &Use default Auto-Type sequence of parent group + Use default Auto-Type sequence of parent group - Set default Auto-Type se&quence + Set default Auto-Type sequence diff --git a/src/gui/wizard/NewDatabaseWizardPage.ui b/src/gui/wizard/NewDatabaseWizardPage.ui index 6b69e85b5..e920b26ed 100644 --- a/src/gui/wizard/NewDatabaseWizardPage.ui +++ b/src/gui/wizard/NewDatabaseWizardPage.ui @@ -12,7 +12,7 @@ WizardPage - En&cryption Settings + Encryption Settings Here you can adjust the database encryption settings. Don't worry, you can change them later in the database settings. diff --git a/src/keeshare/group/EditGroupWidgetKeeShare.ui b/src/keeshare/group/EditGroupWidgetKeeShare.ui index b64195c64..ad3f6dbe4 100644 --- a/src/keeshare/group/EditGroupWidgetKeeShare.ui +++ b/src/keeshare/group/EditGroupWidgetKeeShare.ui @@ -64,10 +64,10 @@ - Browser for share file + Browse for share file - ... + Browse...