mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Cleanup UI files
Removes unnecessary & from strings in settings widgets. These cause confusion and complicate translation. They are unnecessary as all dialogs allow efficient tabbing between elements. Also add colons after several settings with input boxes and remove a hard stop. Improve wording of strings based on translator feedback. Fix case sensitive matching of CLI Export.
This commit is contained in:
parent
4dee16c9fa
commit
a41c26e9cd
@ -110,7 +110,7 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="chromeSupport">
|
||||
<property name="text">
|
||||
<string>&Google Chrome</string>
|
||||
<string>Google Chrome</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -120,7 +120,7 @@
|
||||
<item row="0" column="1">
|
||||
<widget class="QCheckBox" name="firefoxSupport">
|
||||
<property name="text">
|
||||
<string>&Firefox</string>
|
||||
<string>Firefox</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -130,7 +130,7 @@
|
||||
<item row="1" column="0">
|
||||
<widget class="QCheckBox" name="chromiumSupport">
|
||||
<property name="text">
|
||||
<string>&Chromium</string>
|
||||
<string>Chromium</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -140,7 +140,7 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="QCheckBox" name="vivaldiSupport">
|
||||
<property name="text">
|
||||
<string>&Vivaldi</string>
|
||||
<string>Vivaldi</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -150,7 +150,7 @@
|
||||
<item row="0" column="2">
|
||||
<widget class="QCheckBox" name="torBrowserSupport">
|
||||
<property name="text">
|
||||
<string>&Tor Browser</string>
|
||||
<string>Tor Browser</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -160,7 +160,7 @@
|
||||
<item row="1" column="2">
|
||||
<widget class="QCheckBox" name="braveSupport">
|
||||
<property name="text">
|
||||
<string>&Brave</string>
|
||||
<string>Brave</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -199,7 +199,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="showNotification">
|
||||
<property name="text">
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Show a &notification when credentials are requested</string>
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Show a notification when credentials are requested</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
@ -209,7 +209,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="unlockDatabase">
|
||||
<property name="text">
|
||||
<string>Re&quest to unlock the database if it is locked</string>
|
||||
<string>Request to unlock the database if it is locked</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
@ -222,7 +222,7 @@
|
||||
<string>Only entries with the same scheme (http://, https://, ...) are returned.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Match URL scheme (e.g., https://...)</string>
|
||||
<string>Match URL scheme (e.g., https://...)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -232,7 +232,7 @@
|
||||
<string>Only returns the best matches for a specific URL instead of all entries for the whole domain.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Return only best-matching credentials</string>
|
||||
<string>Return only best-matching credentials</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -242,21 +242,21 @@
|
||||
<string>Returns expired credentials. String [expired] is added to the title.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Allow returning expired credentials.</string>
|
||||
<string>Allow returning expired credentials</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="sortByTitle">
|
||||
<property name="text">
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Sort &matching credentials by title</string>
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Sort matching credentials by title</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="sortByUsername">
|
||||
<property name="text">
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Sort matching credentials by &username</string>
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Sort matching credentials by username</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -293,21 +293,21 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="alwaysAllowAccess">
|
||||
<property name="text">
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Never &ask before accessing credentials</string>
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Never ask before accessing credentials</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="alwaysAllowUpdate">
|
||||
<property name="text">
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Never ask before &updating credentials</string>
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Never ask before updating credentials</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="httpAuthPermission">
|
||||
<property name="text">
|
||||
<string extracomment="An extra HTTP Basic Auth setting">Do not ask permission for HTTP &Basic Auth</string>
|
||||
<string extracomment="An extra HTTP Basic Auth setting">Do not ask permission for HTTP Basic Auth</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -317,7 +317,7 @@
|
||||
<string>All databases connected to the extension will return matching credentials.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Searc&h in all opened databases for matching credentials</string>
|
||||
<string extracomment="Credentials mean login data requested via browser extension">Search in all opened databases for matching credentials</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -327,7 +327,7 @@
|
||||
<string>Automatically creating or updating string fields is not supported.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Return advanced string fields which start with "KPH: "</string>
|
||||
<string>Return advanced string fields which start with "KPH: "</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -337,7 +337,7 @@
|
||||
<string>Don't display the popup suggesting migration of legacy KeePassHTTP settings.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Do not prompt for KeePassHTTP settings migration.</string>
|
||||
<string>Do not prompt for KeePassHTTP settings migration.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -347,7 +347,7 @@
|
||||
<string>Updates KeePassXC or keepassxc-proxy binary path automatically to native messaging scripts on startup.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Update &native messaging manifest files at startup</string>
|
||||
<string>Update native messaging manifest files at startup</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -357,7 +357,7 @@
|
||||
<string>Support a proxy application between KeePassXC and browser extension.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use a &proxy application between KeePassXC and browser extension</string>
|
||||
<string>Use a proxy application between KeePassXC and browser extension</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -367,7 +367,7 @@
|
||||
<string>Use a custom proxy location if you installed a proxy manually.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string comment="Meant is the proxy for KeePassXC-Browser">Use a &custom proxy location</string>
|
||||
<string comment="Meant is the proxy for KeePassXC-Browser">Use a custom proxy location</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -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> 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> 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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radioDonotExpose">
|
||||
<property name="text">
|
||||
<string>Don't e&xpose this database</string>
|
||||
<string>Don't expose this database</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
@ -36,7 +36,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radioExpose">
|
||||
<property name="text">
|
||||
<string>Expose entries &under this group:</string>
|
||||
<string>Expose entries under this group:</string>
|
||||
</property>
|
||||
<attribute name="buttonGroup">
|
||||
<string notr="true">buttonGroup</string>
|
||||
|
@ -47,7 +47,7 @@
|
||||
<string><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></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Don't confirm when entries are deleted by clients.</string>
|
||||
<string>Don't confirm when entries are deleted by clients</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -57,11 +57,11 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="minimizeAfterUnlockCheckBox">
|
||||
<property name="text">
|
||||
<string>Minimize window after unlocking database</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox" name="minimizeAfterUnlockCheckBox">
|
||||
<property name="text">
|
||||
<string>Minimize window after unlocking database</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="rememberLastDatabasesCheckBox">
|
||||
@ -806,7 +806,7 @@
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="autoTypeShortcutLabel">
|
||||
<property name="text">
|
||||
<string>Global Auto-Type shortcut</string>
|
||||
<string>Global Auto-Type shortcut:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -826,7 +826,7 @@
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="autoTypeDelayLabel">
|
||||
<property name="text">
|
||||
<string>Auto-Type typing delay</string>
|
||||
<string>Auto-Type typing delay:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -858,7 +858,7 @@
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="autoTypeStartDelayLabel">
|
||||
<property name="text">
|
||||
<string>Auto-Type start delay</string>
|
||||
<string>Auto-Type start delay:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="defaultIconsRadio">
|
||||
<property name="text">
|
||||
<string>&Use default icon</string>
|
||||
<string>Use default icon</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -58,7 +58,7 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="customIconsRadio">
|
||||
<property name="text">
|
||||
<string>Use custo&m icon</string>
|
||||
<string>Use custom icon</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -151,7 +151,7 @@
|
||||
<string notr="true">padding: 4px 10px</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Apply icon &to ...</string>
|
||||
<string>Apply icon to...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -1091,7 +1091,7 @@ QProgressBar::chunk {
|
||||
<item row="1" column="0" alignment="Qt::AlignRight">
|
||||
<widget class="QLabel" name="labelWordCount">
|
||||
<property name="text">
|
||||
<string>Word Co&unt:</string>
|
||||
<string>Word Count:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>spinBoxLength</cstring>
|
||||
|
@ -62,7 +62,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Disconnect all browsers</string>
|
||||
<string>Disconnect all browsers</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -75,7 +75,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Forg&et all site-specific settings on entries</string>
|
||||
<string>Forget all site-specific settings on entries</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -92,7 +92,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Move KeePassHTTP attributes to KeePassXC-Browser &custom data</string>
|
||||
<string>Move KeePassHTTP attributes to KeePassXC-Browser custom data</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -183,7 +183,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="compressionCheckbox">
|
||||
<property name="text">
|
||||
<string>Enable &compression (recommended)</string>
|
||||
<string>Enable compression (recommended)</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
|
@ -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);
|
||||
|
@ -49,14 +49,14 @@
|
||||
<item>
|
||||
<widget class="QRadioButton" name="inheritSequenceButton">
|
||||
<property name="text">
|
||||
<string>Inherit default Auto-Type sequence from the &group</string>
|
||||
<string>Inherit default Auto-Type sequence from the group</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="customSequenceButton">
|
||||
<property name="text">
|
||||
<string>&Use custom Auto-Type sequence:</string>
|
||||
<string>Use custom Auto-Type sequence:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -117,14 +117,14 @@
|
||||
<item row="5" column="1">
|
||||
<widget class="QRadioButton" name="autoTypeSequenceInherit">
|
||||
<property name="text">
|
||||
<string>&Use default Auto-Type sequence of parent group</string>
|
||||
<string>Use default Auto-Type sequence of parent group</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QRadioButton" name="autoTypeSequenceCustomRadio">
|
||||
<property name="text">
|
||||
<string>Set default Auto-Type se&quence</string>
|
||||
<string>Set default Auto-Type sequence</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<string>WizardPage</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>En&cryption Settings</string>
|
||||
<string>Encryption Settings</string>
|
||||
</property>
|
||||
<property name="subTitle">
|
||||
<string>Here you can adjust the database encryption settings. Don't worry, you can change them later in the database settings.</string>
|
||||
|
@ -64,10 +64,10 @@
|
||||
<item>
|
||||
<widget class="QToolButton" name="pathSelectionButton">
|
||||
<property name="accessibleName">
|
||||
<string>Browser for share file</string>
|
||||
<string>Browse for share file</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
<string>Browse...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user