fix typos

This commit is contained in:
RainRat
2024-06-01 21:56:24 -07:00
parent 659c0d1641
commit 1d7a7b5751
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -1750,7 +1750,7 @@
</message>
<message>
<location filename="../pe-bear/pe-bear/pe-bear/gui/windows/MainWindow.cpp" line="836"/>
<source>WARNING: this is a legacy build with Qt4. The builds with Qt5 are recommened for the best user experience.</source>
<source>WARNING: this is a legacy build with Qt4. The builds with Qt5 are recommended for the best user experience.</source>
<translation type="unfinished"></translation>
</message>
<message>
@@ -1888,7 +1888,7 @@
</message>
<message>
<location filename="../pe-bear/pe-bear/pe-bear/gui/windows/MainWindow.cpp" line="1050"/>
<source>Error occured during loading the file: </source>
<source>Error occurred during loading the file: </source>
<translation type="unfinished"></translation>
</message>
<message>
+3 -3
View File
@@ -4178,7 +4178,7 @@ E9 ?? ?? ?? 00 87 0C 24 59 99 03 04 24 E9 ?? ??
FA ?? ?? ?? ?? E9 ?? ?? ?? 00 C1 C3 15 81 CB ??
?? ?? ?? 81 F3 ?? ?? ?? ?? 81 C3 ?? ?? ?? ?? 87
EXECryptor 2.x -> SoftComplete Developement
EXECryptor 2.x -> SoftComplete Development
32
A4 ?? ?? 00 00 00 00 00 FF FF FF FF 3C ?? ?? 00
94 ?? ?? 00 D8 ?? ?? 00 00 00 00 00 FF FF FF FF
@@ -11016,12 +11016,12 @@ Special EXE Password Protector v1.0
60 E8 00 00 00 00 5D 81 ED 06 00 00 00 89 AD 8C
01 00 00 8B C5 2B 85 FE 75 00 00 89 85 3E 77
Special EXE Pasword Protector V1.01 (Eng) -> Pavol Cerven
Special EXE Password Protector V1.01 (Eng) -> Pavol Cerven
30
60 E8 00 00 00 00 5D 81 ED 06 00 00 00 89 AD 8C
01 00 00 8B C5 2B 85 FE 75 00 00 89 85 3E
Special EXE Pasword Protector v1.01 (Eng) -> Pavol Cerven
Special EXE Password Protector v1.01 (Eng) -> Pavol Cerven
85
60 E8 00 00 00 00 5D 81 ED 06 00 00 00 89 AD 8C
01 00 00 8B C5 2B 85 FE 75 00 00 89 85 3E 77 00
+2 -2
View File
@@ -594,7 +594,7 @@ bool PeHandler::canAddImportsLib(size_t libsCount)
if (!m_PE->getContentAt(impDirOffset, tableSize + fieldSize)) return false;
offset_t fieldOffset = (tableSize < fieldSize) ? impDirOffset : impDirOffset + tableSize - fieldSize; // substract the terminator record from the table
offset_t fieldOffset = (tableSize < fieldSize) ? impDirOffset : impDirOffset + tableSize - fieldSize; // subtract the terminator record from the table
BYTE *ptr = m_PE->getContentAt(fieldOffset, fieldSize * kRequiredFreeRecords); // space for the new records + the terminator
if (!ptr) return false;
@@ -616,7 +616,7 @@ bool PeHandler::addImportLib(bool continueLastOperation)
const bufsize_t fieldSize = sizeof(IMAGE_IMPORT_DESCRIPTOR);
offset_t fieldOffset = (tableSize < fieldSize) ? impDirOffset : (impDirOffset + tableSize - fieldSize); // substract the terminator record from the table
offset_t fieldOffset = (tableSize < fieldSize) ? impDirOffset : (impDirOffset + tableSize - fieldSize); // subtract the terminator record from the table
BYTE *ptr = m_PE->getContentAt(fieldOffset, fieldSize * 2); // space for the new record + terminator
if (!ptr) return false;
+1 -1
View File
@@ -206,7 +206,7 @@ bool ResourcesDirSplitter::displayIcon(ResourceContentWrapper *resContent, const
if (restype == pe::RESTYPE_ICON) {
dimH = dimW;
if (tmp.init((const BYTE*)contentPtr, contentSize)) {
//replace pointer to the content by a temporay buffer:
//replace pointer to the content by a temporary buffer:
content = (char*)tmp.getContent();
// overwrite the header in the temporary buffer:
@@ -28,7 +28,7 @@ void OffsetedView::mousePressEvent(QMouseEvent *ev)
void OffsetedView::onIndexChanged(const QModelIndex &current, const QModelIndex &previous)
{
const offset_t offset = getOffsetFromUserData(current);
//protect from emiting the same target more than once (from various events)
//protect from emitting the same target more than once (from various events)
emitSelectedTarget(offset, m_targetAddrType, true);
}
+1 -1
View File
@@ -43,7 +43,7 @@ protected:
private:
void emitSelectedTarget(const offset_t offset, Executable::addr_type aType, bool verify)
{
//protect from emiting the same target more than once (from various events)
//protect from emitting the same target more than once (from various events)
if (verify && m_prevOffset == offset && m_prevType == aType) {
return;
}
+2 -2
View File
@@ -833,7 +833,7 @@ void MainWindow::info()
msg += "<br/>";
#if QT_VERSION < 0x050000
msg += "\n" + tr("WARNING: this is a legacy build with Qt4. The builds with Qt5 are recommened for the best user experience.");
msg += "\n" + tr("WARNING: this is a legacy build with Qt4. The builds with Qt5 are recommended for the best user experience.");
#endif
QMessageBox msgBox(this);
@@ -1047,7 +1047,7 @@ PeHandler* MainWindow::loadPE(QString fName, const bool showAlert)
}
}
if (!hndl) {
QString msg = tr("Error occured during loading the file: ") + fName +"\n" + tr("Type: ") + ExeFactory::getTypeName(type);
QString msg = tr("Error occurred during loading the file: ") + fName +"\n" + tr("Type: ") + ExeFactory::getTypeName(type);
this->statusBar.showMessage(msg + " [" + fName + "]");
if (showAlert) QMessageBox::warning(this, tr( "Cannot load!"), msg);
return NULL;