From ed2d5173b2c37840d8a1e5035a877fa62f8f501a Mon Sep 17 00:00:00 2001 From: Daniele Ferla Date: Mon, 28 Aug 2023 11:27:55 +0200 Subject: [PATCH] Fix shorter and less technical warning message --- share/translations/keepassxc_en.ts | 4 +--- src/gui/dbsettings/DatabaseSettingsWidgetDatabaseKey.cpp | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/share/translations/keepassxc_en.ts b/share/translations/keepassxc_en.ts index 71311e4e63..8e9e24859b 100644 --- a/share/translations/keepassxc_en.ts +++ b/share/translations/keepassxc_en.ts @@ -1788,9 +1788,7 @@ Are you sure you want to continue without a password? - WARNING! You have set a weak password. If you do not choose a stronger and more complex password, your database may be compromised more easily. - -Are you sure you want to continue using a weak password? + WARNING! Using a weak password may expose your accounts to security risks. Do you wish to continue? diff --git a/src/gui/dbsettings/DatabaseSettingsWidgetDatabaseKey.cpp b/src/gui/dbsettings/DatabaseSettingsWidgetDatabaseKey.cpp index 14fe41ce8f..7c1b63d9d7 100644 --- a/src/gui/dbsettings/DatabaseSettingsWidgetDatabaseKey.cpp +++ b/src/gui/dbsettings/DatabaseSettingsWidgetDatabaseKey.cpp @@ -186,9 +186,8 @@ bool DatabaseSettingsWidgetDatabaseKey::save() auto dialogResult = MessageBox::warning(this, tr("Weak password"), - tr("WARNING! You have set a weak password. If you do not choose a stronger and " - "more complex password, your database may be compromised more easily.\n\n" - "Are you sure you want to continue using a weak password?"), + tr("WARNING! Using a weak password may expose your accounts to security risks. " + "Do you wish to continue?"), MessageBox::Continue | MessageBox::Cancel, MessageBox::Cancel);