Update SetupWizard.cpp

This commit is contained in:
offhub 2024-05-28 16:52:16 +03:00
parent c1fb8e9c57
commit 0a2202151b
No known key found for this signature in database
GPG Key ID: 7B12A8941851DA59
2 changed files with 4 additions and 4 deletions

View File

@ -845,7 +845,7 @@ CAdvancedPage::CAdvancedPage(QWidget *parent)
layout->addWidget(pImageProtection, row++, 1, 1, 3);
registerField("imagesProtection", pImageProtection);
QCheckBox* pWindowCover = new QCheckBox(tr("Prevents the sandboxed window from being captured."));
QCheckBox* pWindowCover = new QCheckBox(tr("Prevent sandboxed windows from being captured"));
pWindowCover->setToolTip(tr("This feature can cause a decline in the user experience because it also prevents normal screenshots."));
pWindowCover->setChecked(theConf->GetBool("BoxDefaults/CoverBoxedWindows", false));
layout->addWidget(pWindowCover, row++, 1, 1, 3);

View File

@ -524,7 +524,7 @@ CShellPage::CShellPage(QWidget *parent)
layout->addWidget(m_pBrowserIcon);
registerField("useBrowserIcon", m_pBrowserIcon);
m_pEditOnlyAdmin = new QCheckBox(tr("Only applications with administrator token can change ini setting."));
m_pEditOnlyAdmin = new QCheckBox(tr("Only applications with admin rights can change configuration"));
m_pEditOnlyAdmin->setChecked(false);
connect(m_pEditOnlyAdmin,SIGNAL(clicked(bool)), this, SLOT(OnEditOnlyAdmin()));
layout->addWidget(m_pEditOnlyAdmin);
@ -536,8 +536,8 @@ CShellPage::CShellPage(QWidget *parent)
void CShellPage::OnEditOnlyAdmin()
{
if (m_pEditOnlyAdmin->isChecked()) {
if (QMessageBox::warning(this, tr("Warning"), tr("When this option is set, Sandbox Manager with normal user permissions will not be able to modify the configuration, which may result in a lock. "
"You need to open the Sandbox Manager main window, click \"Sandbox (s)\" in the system menu, and then click \"Restart as Admin\" in the pop - up context menu to gain control of the configuration."),
if (QMessageBox::warning(this, tr("Warning"), tr("Enabling this option prevents changes to the Sandboxie.ini configuration from the user interface without admin rights. Be careful, as using Sandboxie Manager with normal user rights may result in a lockout. "
"To make changes to the configuration, you must restart Sandboxie Manager as an admin by clicking 'Restart as Admin' in the 'Sandbox' menu in the main window."),
QMessageBox::Ok, QMessageBox::Cancel) == QMessageBox::Cancel)
m_pEditOnlyAdmin->setChecked(false);
}