Skip to content

Commit

Permalink
Modify the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu authored and droidmonkey committed Mar 31, 2024
1 parent 1336a32 commit 7730c93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion share/translations/keepassxc_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9052,7 +9052,7 @@ Kernel: %3 %4</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You are about to export passkeys to unencrypted files. This will leave your passkey and other sensitive information vulnerable! Are you sure you want to continue?</source>
<source>The passkey file will be vulnerable to theft and unauthorized use, if left unsecured. Are you sure you want to continue?</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
13 changes: 6 additions & 7 deletions src/gui/reports/ReportsWidgetPasskeys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,12 @@ void ReportsWidgetPasskeys::importPasskey()

void ReportsWidgetPasskeys::exportPasskey()
{
auto answer = MessageBox::question(
this,
tr("Export Confirmation"),
tr("You are about to export passkeys to unencrypted files. This will leave your "
"passkey and other sensitive information vulnerable! Are you sure you want to continue?"),
MessageBox::Yes | MessageBox::No,
MessageBox::No);
auto answer = MessageBox::question(this,
tr("Export Confirmation"),
tr("The passkey file will be vulnerable to theft and unauthorized use, if left "
"unsecured. Are you sure you want to continue?"),
MessageBox::Yes | MessageBox::No,
MessageBox::No);
if (answer != MessageBox::Yes) {
return;
}
Expand Down

0 comments on commit 7730c93

Please sign in to comment.