diff --git a/SandboxiePlus/SandMan/SandMan.cpp b/SandboxiePlus/SandMan/SandMan.cpp index 6013a31f..94444deb 100644 --- a/SandboxiePlus/SandMan/SandMan.cpp +++ b/SandboxiePlus/SandMan/SandMan.cpp @@ -494,7 +494,7 @@ void CSandMan::CreateToolBar() m_pToolBar->addSeparator(); m_pToolBar->addWidget(new QLabel(" ")); - QLabel* pSupportLbl = new QLabel("Support Sandboxie-Plus on Patreon"); + QLabel* pSupportLbl = new QLabel(tr("Support Sandboxie-Plus on Patreon")); pSupportLbl->setTextInteractionFlags(Qt::TextBrowserInteraction); connect(pSupportLbl, SIGNAL(linkActivated(const QString&)), this, SLOT(OnHelp())); m_pToolBar->addWidget(pSupportLbl); @@ -1057,7 +1057,7 @@ void CSandMan::SetupHotKeys() m_pHotkeyManager->unregisterAllHotkeys(); if (theConf->GetBool("Options/EnablePanicKey", false)) - m_pHotkeyManager->registerHotkey(theConf->GetString("Options/PanicKeySequence", "Ctrl+Alt+Cancel"), HK_PANIC); + m_pHotkeyManager->registerHotkey(theConf->GetString("Options/PanicKeySequence", "Shift+Pause"), HK_PANIC); } void CSandMan::OnHotKey(size_t id) @@ -2397,6 +2397,14 @@ QT_TRANSLATE_NOOP("QPlatformTheme", "&Yes"), QT_TRANSLATE_NOOP("QPlatformTheme", "&No"), }; +// Make sure that CSandBox strings won't be marked as vanished in all .ts files, even after running lupdate + +static const char* CSandBox_strings[] = { +QT_TRANSLATE_NOOP("CSandBox", "Waiting for folder: %1"), +QT_TRANSLATE_NOOP("CSandBox", "Deleting folder: %1"), +QT_TRANSLATE_NOOP("CSandBox", "Merging folders: %1 >> %2"), +QT_TRANSLATE_NOOP("CSandBox", "Finishing Snapshot Merge..."), +}; ////////////////////////////////////////////////////////////////////////////////////////// // WinSpy based window finder diff --git a/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp b/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp index 5b686cc0..0cad48a4 100644 --- a/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp +++ b/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp @@ -218,7 +218,7 @@ void CSettingsWindow::LoadSettings() ui.chkNotifyRecovery->setChecked(!theConf->GetBool("Options/InstantRecovery", true)); ui.chkPanic->setChecked(theConf->GetBool("Options/EnablePanicKey", false)); - ui.keyPanic->setKeySequence(QKeySequence(theConf->GetString("Options/PanicKeySequence", "Ctrl+Alt+Cancel"))); + ui.keyPanic->setKeySequence(QKeySequence(theConf->GetString("Options/PanicKeySequence", "Shift+Pause"))); ui.chkWatchConfig->setChecked(theConf->GetBool("Options/WatchIni", true));