From 5ea6e412f82ad3492afaa705a838f757ec13ca40 Mon Sep 17 00:00:00 2001 From: Dubslow Date: Mon, 19 Jan 2015 21:59:27 -0600 Subject: [PATCH] Slightly more useful initial password dialogs --- src/coreencryption.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreencryption.cpp b/src/coreencryption.cpp index 7e7ff5f1e..524eb12a2 100644 --- a/src/coreencryption.cpp +++ b/src/coreencryption.cpp @@ -130,7 +130,7 @@ bool Core::loadEncryptedSave(QByteArray& data) Widget::getInstance()->showWarningMsgBox(tr("Encryption error"), tr("The .tox file is encrypted, but encryption was not checked, continuing regardless.")); int error = -1; - QString a(tr("Please enter the password for this profile.", "used in load() when no pw is already set")); + QString a(tr("Please enter the password for the %1 profile.", "used in load() when no pw is already set").arg(Settings::getInstance().getCurrentProfile())); QString b(tr("The previous password is incorrect; please try again:", "used on retries in load()")); QString dialogtxt; @@ -184,7 +184,7 @@ void Core::checkEncryptedHistory() return; } - QString a(tr("Please enter the password for the chat logs.", "used in load() when no hist pw set")); + QString a(tr("Please enter the password for the chat logs for the %1 profile.", "used in load() when no hist pw set").arg(Settings::getInstance().getCurrentProfile())); QString b(tr("The previous password is incorrect; please try again:", "used on retries in load()")); QString dialogtxt;