Skip to content

Commit

Permalink
Fix shorter and less technical warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
egglessness committed Aug 28, 2023
1 parent 12a605f commit ed2d517
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions share/translations/keepassxc_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1788,9 +1788,7 @@ Are you sure you want to continue without a password?</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>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?</source>
<source>WARNING! Using a weak password may expose your accounts to security risks. Do you wish to continue?</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
5 changes: 2 additions & 3 deletions src/gui/dbsettings/DatabaseSettingsWidgetDatabaseKey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ed2d517

Please sign in to comment.