More typo fixes
This commit is contained in:
parent
d1c637dfc9
commit
7480aced66
|
@ -46,6 +46,7 @@ jobs:
|
|||
echo 'linve->live' >> dictionary.txt
|
||||
echo 'actuallly->actually' >> dictionary.txt
|
||||
echo 'asynchroniusly->asynchronously' >> dictionary.txt
|
||||
echo 'synchroniusly->synchronously' >> dictionary.txt
|
||||
echo 'seams->seems' >> dictionary.txt
|
||||
echo 'selelction->selection' >> dictionary.txt
|
||||
echo 'injectted->injected' >> dictionary.txt
|
||||
|
@ -83,7 +84,10 @@ jobs:
|
|||
echo 'mein->main' >> dictionary.txt
|
||||
echo 'trigegred->triggered' >> dictionary.txt
|
||||
echo 'windoe->window' >> dictionary.txt
|
||||
echo 'hread->thread' >> dictionary.txt
|
||||
echo 'tamplete->template' >> dictionary.txt
|
||||
echo 'prising->praising' >> dictionary.txt
|
||||
# Only lowercase letters are allowed in --ignore-words-list
|
||||
codespell --dictionary=dictionary.txt --dictionary=dictionary_rare.txt --dictionary=dictionary_code.txt \
|
||||
--ignore-words-list="wil,unknwn,tolen,pevent,doubleclick,parm,parms,etcp,ois,ba,ptd,modell,namesd,stdio,uint,errorstring,ontext,atend,deque,ecounter,nmake,namess,inh,daa,varient,lite,uis,emai,ws,slanguage" \
|
||||
--ignore-words-list="wil,unknwn,tolen,pevent,doubleclick,parm,parms,etcp,ois,ba,ptd,modell,namesd,stdio,uint,errorstring,ontext,atend,deque,ecounter,nmake,namess,inh,daa,varient,lite,uis,emai,ws,slanguage,woh,tne" \
|
||||
--skip="./.git,./.github/workflows/codespell.yml,./dictionary*.txt,./Sandboxie/msgs/Text-*-*.txt,./Sandboxie/msgs/report/Report-*.txt,./SandboxiePlus/SandMan/*.ts,./Installer/Languages.iss,./Installer/isl/*.isl,./Sandboxie/common/Detours/Makefile,./Sandboxie/common/Detours/disasm.cpp,./Sandboxie/install/build.bat"
|
||||
|
|
|
@ -2147,7 +2147,7 @@ void CMyFrame::OnTimer(UINT_PTR nIDEvent)
|
|||
}*/
|
||||
|
||||
//
|
||||
// show whats new
|
||||
// show what's new
|
||||
//
|
||||
|
||||
if (m_ShowWhatsNew && (! inModalState)) {
|
||||
|
|
|
@ -73,7 +73,7 @@ void CSymbolProvider::run()
|
|||
|
||||
while (m_bRunning)
|
||||
{
|
||||
quint64 OldTime = GetTickCount64() - 3000; // cleanup everythign older than 3 sec
|
||||
quint64 OldTime = GetTickCount64() - 3000; // cleanup everything older than 3 sec
|
||||
if (LastCleanUp < OldTime)
|
||||
{
|
||||
QMutexLocker Lock(&m_SymLock);
|
||||
|
@ -132,7 +132,7 @@ QString CSymbolProvider::Resolve(quint64 pid, quint64 Address)
|
|||
break;
|
||||
}
|
||||
|
||||
static QAtomicInt FakeHandle = 1; // real handles are divisable b 4
|
||||
static QAtomicInt FakeHandle = 1; // real handles are divisible by 4
|
||||
if (Worker.handle == (quint64)INVALID_HANDLE_VALUE)
|
||||
Worker.handle = FakeHandle.fetchAndAddAcquire(4);
|
||||
|
||||
|
@ -164,7 +164,7 @@ QString CSymbolProvider::Resolve(quint64 pid, quint64 Address)
|
|||
}
|
||||
else
|
||||
{
|
||||
// Then this happens probably symsrv.dll is missing
|
||||
// Then this happens, probably symsrv.dll is missing
|
||||
|
||||
IMAGEHLP_MODULEW64 ModuleInfo;
|
||||
ModuleInfo.SizeOfStruct = sizeof(ModuleInfo);
|
||||
|
|
|
@ -274,7 +274,7 @@ void CAddonManager::InstallAddonAsync(const QString& FilePath, CAddonPtr pAddon)
|
|||
if (!Status.IsError()) {
|
||||
pAddon->Installed = CheckAddon(pAddon);
|
||||
if (!pAddon->Installed)
|
||||
Status = SB_ERR(SB_OtherError, QVariantList() << tr("Addon Instalation Failed!"));
|
||||
Status = SB_ERR(SB_OtherError, QVariantList() << tr("Addon Installation Failed!"));
|
||||
}
|
||||
pAddon->pProgress->Finish(Status);
|
||||
pAddon->pProgress.create();
|
||||
|
|
|
@ -122,12 +122,12 @@ bool CBoxEngine::RunScript(const QString& Script, const QString& Name)
|
|||
// !!! CAUTION Multi Threading !!!
|
||||
//
|
||||
// Note: The engine runs in its own thread but the rest of SandMan
|
||||
// is mostly single threaded, also QSbieAPI is not hread safe so
|
||||
// is mostly single threaded, also QSbieAPI is not thread safe, so
|
||||
// access to it must be synchronized. We solve this by executing
|
||||
// all calls to theGUI and/or theAPI in the main thread through
|
||||
// the use of QT's slot system, we wrap all calls from the engine
|
||||
// in blocking QMetaObject::invokeMethod calls targeting to objects
|
||||
// which belong the main thread hence thay need to be created in
|
||||
// which belong to the main thread, hence they need to be created in
|
||||
// the main thread and passed to the caller from there.
|
||||
//
|
||||
//
|
||||
|
@ -276,7 +276,7 @@ bool CWizardEngine::ApplyShadowChanges()
|
|||
continue;
|
||||
|
||||
if (I->pOriginal.isNull()) {
|
||||
// This is a new box or tamplete not a copy, just clear shadow flag
|
||||
// This is a new box or template, not a copy, just clear shadow flag
|
||||
I->pShadow->DelValue("IsShadow", "y");
|
||||
I->iApplyChanges = 2;
|
||||
continue;
|
||||
|
@ -305,7 +305,7 @@ bool CWizardEngine::ApplyShadowChanges()
|
|||
if (N.first == "FileRootPath" || N.first == "IsShadow")
|
||||
continue; // skip
|
||||
if(N.first == "Template" && IsNoAppliedShadow("Template_" + N.second))
|
||||
continue; // don't copy not applied shadow templates
|
||||
continue; // don't copy non-applied shadow templates
|
||||
I->pOriginal->AppendText(N.first, N.second);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ protected:
|
|||
QMap<QString, qint64> m_ScriptIDs;
|
||||
|
||||
private:
|
||||
QJSValue evaluate(const QString& program, const QString& fileName = QString(), int lineNumber = 1) { return QJSValue(); } // dont use this, use evaluateScript instead
|
||||
QJSValue evaluate(const QString& program, const QString& fileName = QString(), int lineNumber = 1) { return QJSValue(); } // don't use this, use evaluateScript instead
|
||||
};
|
||||
|
||||
#endif
|
|
@ -1795,7 +1795,7 @@ SB_STATUS CSandMan::DeleteBoxContent(const CSandBoxPtr& pBox, EDelMode Mode, boo
|
|||
if (Mode != eForDelete) {
|
||||
|
||||
//
|
||||
// shedule async OnBoxDelete triggers and clean up
|
||||
// schedule async OnBoxDelete triggers and clean up
|
||||
//
|
||||
|
||||
if (theConf->GetBool("Options/UseAsyncBoxOps", false) || theGUI->IsSilentMode())
|
||||
|
@ -1825,7 +1825,7 @@ SB_STATUS CSandMan::DeleteBoxContent(const CSandBoxPtr& pBox, EDelMode Mode, boo
|
|||
|
||||
{
|
||||
//
|
||||
// delete content synchroniusly
|
||||
// delete content synchronously
|
||||
//
|
||||
|
||||
SB_PROGRESS Status;
|
||||
|
@ -2188,7 +2188,7 @@ void CSandMan::OnStatusChanged()
|
|||
|
||||
int WizardLevel = abs(theConf->GetInt("Options/WizardLevel", 0));
|
||||
if (WizardLevel < (theConf->GetInt("Options/CheckForUpdates", 2) != 1 ? SETUP_LVL_2 : SETUP_LVL_1)) {
|
||||
if (!CSetupWizard::ShowWizard(WizardLevel)) { // if user canceled mark that and not show again, untill there is somethign new
|
||||
if (!CSetupWizard::ShowWizard(WizardLevel)) { // if user canceled, mark that and do not show again, until there is something new
|
||||
if(QMessageBox::question(NULL, "Sandboxie-Plus", tr("Do you want the setup wizard to be omitted?"), QMessageBox::Yes, QMessageBox::No | QMessageBox::Default) == QMessageBox::Yes)
|
||||
theConf->SetValue("Options/WizardLevel", -SETUP_LVL_CURRENT);
|
||||
}
|
||||
|
@ -2222,7 +2222,7 @@ void CSandMan::CheckCompat(QObject* receiver, const char* member)
|
|||
QFile File(CBoxAssistant::GetIssueDir(IssueFS) + "AppCompatibility.js");
|
||||
if (File.open(QFile::ReadOnly)) {
|
||||
CBoxEngine* pEngine = new CBoxEngine(this);
|
||||
pEngine->RunScript(File.readAll(), "AppCompatibility.js"); // note: script runs asynchroniusly
|
||||
pEngine->RunScript(File.readAll(), "AppCompatibility.js"); // note: script runs asynchronously
|
||||
QPointer<QObject> pObj = receiver; // QPointer tracks lifetime of receiver
|
||||
connect(pEngine, &CBoxEngine::finished, this, [pEngine, this, timer, pObj, member]() {
|
||||
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
let message = tr('To enable webcam support on Windows 11 the isolation level must be reduced. \n'+
|
||||
'If you want to proceed please press NEXT and select a sandbox to modify. \n');
|
||||
let message = tr('To enable webcam support on Windows 11, the isolation level must be reduced. \n'+
|
||||
'If you want to proceed, please press NEXT and select a sandbox to modify. \n');
|
||||
|
||||
if(!sbie.isCertValid())
|
||||
message += tr('\nPlease note that this required presets work only with a valid supporter certificate!');
|
||||
message += tr('\nPlease note that this required preset works only with a valid supporter certificate!');
|
||||
|
||||
wizard.showStatus(message, true);
|
||||
|
||||
|
|
|
@ -449,8 +449,8 @@ void CBeginPage::initializePage()
|
|||
m_pLayout->addItem(new QSpacerItem(10, 10, QSizePolicy::Fixed, QSizePolicy::Expanding), row++, 0);
|
||||
|
||||
if (!g_CertInfo.valid || g_CertInfo.expired) {
|
||||
QLabel* pBottomLabel = new QLabel(tr("With a valid <a href=\"https://sandboxie-plus.com/go.php?to=sbie-cert\">supporter certificate</a> the wizard would be even more powerfull. "
|
||||
"It could access the <a href=\"https://sandboxie-plus.com/go.php?to=sbie-issue-db\">online solution database</a> to retriev the latest troubleshooting instructions."));
|
||||
QLabel* pBottomLabel = new QLabel(tr("With a valid <a href=\"https://sandboxie-plus.com/go.php?to=sbie-cert\">supporter certificate</a> the wizard would be even more powerful. "
|
||||
"It could access the <a href=\"https://sandboxie-plus.com/go.php?to=sbie-issue-db\">online solution database</a> to retrieve the latest troubleshooting instructions."));
|
||||
connect(pBottomLabel, SIGNAL(linkActivated(const QString&)), theGUI, SLOT(OpenUrl(const QString&)));
|
||||
pBottomLabel->setWordWrap(true);
|
||||
m_pLayout->addWidget(pBottomLabel, row++, 0, 1, 3);
|
||||
|
@ -626,7 +626,7 @@ CListPage::CListPage(QWidget *parent)
|
|||
int row = 0;
|
||||
m_pLayout = new QGridLayout;
|
||||
m_pLayout->setSpacing(2);
|
||||
//QLabel* pTopLabel = new QLabel(tr("Please select an isue from the list"));
|
||||
//QLabel* pTopLabel = new QLabel(tr("Please select an issue from the list"));
|
||||
//pTopLabel->setWordWrap(true);
|
||||
//m_pLayout->addWidget(pTopLabel, row++, 0, 1, 2);
|
||||
|
||||
|
@ -928,7 +928,7 @@ bool CRunPage::validatePage()
|
|||
return true;
|
||||
}
|
||||
|
||||
// dissable back button on the current page
|
||||
// disable back button on the current page
|
||||
wizard()->button(QWizard::BackButton)->setEnabled(false);
|
||||
// disable next button, OnStateChanged wi re enable it
|
||||
wizard()->button(QWizard::NextButton)->setEnabled(false);
|
||||
|
|
|
@ -554,7 +554,7 @@ CSBUpdate::CSBUpdate(QWidget *parent)
|
|||
connect(m_pVersion, &QCheckBox::toggled, this, &CSBUpdate::UpdateOptions);
|
||||
registerField("updateApp", m_pVersion);
|
||||
|
||||
m_pChanelInfo = new QLabel(tr("Sellect in which update channel to look for new Sandboxie-Plus builds:"));
|
||||
m_pChanelInfo = new QLabel(tr("Select in which update channel to look for new Sandboxie-Plus builds:"));
|
||||
m_pChanelInfo->setMinimumHeight(20);
|
||||
layout->addWidget(m_pChanelInfo, row++, 1, 1, rows-1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue