summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14abb51)
raw | patch | inline | side by side (parent: 14abb51)
author | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Thu, 9 Nov 2023 08:32:03 +0000 (18:32 +1000) | ||
committer | Dmitry D. Chernov <blackdoomer@yandex.ru> | |
Thu, 9 Nov 2023 08:35:32 +0000 (18:35 +1000) |
lang/editor.ru_RU.lng | patch | blob | history | |
src/shared/WADEDITOR_dfzip.pas | patch | blob | history |
diff --git a/lang/editor.ru_RU.lng b/lang/editor.ru_RU.lng
index 25efda55ef1874a8365a167c557eff6cae050e8c..7d34049c2b9be111d18d14602e81005416b59c60 100644 (file)
--- a/lang/editor.ru_RU.lng
+++ b/lang/editor.ru_RU.lng
g_language.MsgMenuFileOpenWad$ = "Select Map..."
g_language.MsgMenuFileOpenWad = "Выбрать карту..."
g_language.MsgMenuFileReopen$ = "Revert to Saved"
-g_language.MsgMenuFileReopen = "Ð\9fеÑ\80еоÑ\82кÑ\80Ñ\8bÑ\82Ñ\8c повÑ\82оÑ\80но"
+g_language.MsgMenuFileReopen = "Ð\9fеÑ\80еоÑ\82кÑ\80Ñ\8bÑ\82Ñ\8c заново"
g_language.MsgMenuFileSaveMini$ = "Save Minimap..."
g_language.MsgMenuFileSaveMini = "Сохранить мини-карту..."
g_language.MsgMenuFileDelete$ = "Remove from WAD..."
index 42816ab40d1b099922b82f2c8f4e2b01003ae256..3933330bff7ef979eaa81170718e324ca2716b06 100644 (file)
// - File must start with LFH or EOCD signature
// - EOCD must be located strictly at the end of file
// - Multi-disk ZIP files are not supported
-// - Expect UTF-8 or CP1251 encoded names
-// - ZIP64 not supported
-// - Encryption not supported
-// - Zero-length file names not supported
+// - Expects UTF-8 or CP1251 encoded names
+// - ZIP64 is not supported
+// - Encryption is not supported
+// - Zero-length file names are not supported
// - CDR holds most actual data about file, LFH mostly ignored
// - Attributes and extra data are ignored and not preserved
-// - Store and Deflate compression supported
+// - Supports STORE and DEFLATE compression methods
interface
case comp of
ZIP_COMP_STORE:
if csize <> usize then
- raise Exception.Create('Compressed size ' + IntToStr(csize) + ' != Descompressed size ' + IntToStr(usize) + 'for STORE method (corrupted file?)');
+ raise Exception.Create('Compressed size ' + IntToStr(csize) + ' != Decompressed size ' + IntToStr(usize) + 'for STORE method (corrupted file?)');
ZIP_COMP_SHRUNK,
ZIP_COMP_REDUCE1,
ZIP_COMP_REDUCE2,
ZIP_COMP_PPMD:
; // ok
ZIP_COMP_AE:
- raise Exception.Create('Encrypted archives not supported');
+ raise Exception.Create('Encrypted archives are not supported');
otherwise
raise Exception.Create('Unknown compression method ' + IntToStr(comp));
end;
end;
if gWADEditorLogLevel >= DFWAD_LOG_DEBUG then
begin
- e_WriteLog('CDR#' + IntToStr(cdrid) + ' @' + IntToHex(mypos, 8) + ': UTF-8 Comatible : ' + BoolToStr(utf8, True), MSG_NOTIFY);
+ e_WriteLog('CDR#' + IntToStr(cdrid) + ' @' + IntToHex(mypos, 8) + ': UTF-8 Compatible : ' + BoolToStr(utf8, True), MSG_NOTIFY);
e_WriteLog('CDR#' + IntToStr(cdrid) + ' @' + IntToHex(mypos, 8) + ': Name : "' + name + '"', MSG_NOTIFY);
e_WriteLog('CDR#' + IntToStr(cdrid) + ' @' + IntToHex(mypos, 8) + ': Comment : "' + comment + '"', MSG_NOTIFY);
end;
s.Seek(next, TSeekOrigin.soBeginning);
end
else
- raise Exception.Create('Empty files names not supported');
+ raise Exception.Create('Empty files names are not supported');
end
else
- raise Exception.Create('Splitted archives not supported');
+ raise Exception.Create('Split archives are not supported');
end
else
begin
FLastError := DFWAD_ERROR_WRONGVERSION;
- raise Exception.Create('ZIP64 archives not supported');
+ raise Exception.Create('ZIP64 archives are not supported');
end;
end
else
begin
FLastError := DFWAD_ERROR_READWAD;
- raise Exception.Create('Patch archives not supported');
+ raise Exception.Create('Patch archives are not supported');
end;
end
else
begin
FLastError := DFWAD_ERROR_READWAD;
- raise Exception.Create('Encrypted archives not supported');
+ raise Exception.Create('Encrypted archives are not supported');
end;
end
else
end;
if gWADEditorLogLevel >= DFWAD_LOG_DEBUG then
begin
- e_WriteLog('EOCD @' + IntToHex(mypos, 8) + ': UTF8 Comaptible : ' + BoolToStr(utf8, True), MSG_NOTIFY);
+ e_WriteLog('EOCD @' + IntToHex(mypos, 8) + ': UTF-8 Compatible : ' + BoolToStr(utf8, True), MSG_NOTIFY);
e_WriteLog('EOCD @' + IntToHex(mypos, 8) + ': Comment : "' + FComment + '"', MSG_NOTIFY);
end;
i := 0;
end
else
begin
- raise Exception.Create('No data source available (somethig very wrong)');
+ raise Exception.Create('No data source available (something very wrong)');
end;
end;
end