-
Notifications
You must be signed in to change notification settings - Fork 65
spl_arc.h: translated #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| // SPDX-License-Identifier: GPL-2.0-or-later | ||
|
|
||
| // CommentsTranslationProject: TRANSLATED | ||
| // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove //
|
|
||
| #ifdef _MSC_VER | ||
| #pragma pack(push, enter_include_spl_arc) // aby byly struktury nezavisle na nastavenem zarovnavani | ||
| #pragma pack(push, enter_include_spl_arc) // so that the structures are independent of the alignment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// to make structures independent of the set alignment
| // pouzit Cancel, mohl byt pouzit Skip) - zdroj operace v panelu je odznacen, jinak vraci | ||
| // FALSE (neprovede se odznaceni); 'salamander' je sada uzitecnych metod vyvezenych ze | ||
| // Salamandera | ||
| // function for "panel archiver view"; called during a request to unpack file/directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file/directory -> files/directories
| // vyvezenych ze Salamandera | ||
| // function for "panel archiver view"; called during a request for unpacking one file | ||
| // for view/edit from archive 'fileName' to directory 'targetDir'; filename in archive | ||
| // is 'nameInArchive'; 'pluginData' is interface for working with information about files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
files -> file
| // pouzit Skip) - zdroj operace v panelu je odznacen, jinak vraci FALSE (neprovede se odznaceni), | ||
| // 'salamander' je sada uzitecnych metod vyvezenych ze Salamandera | ||
| // function for "panel archiver view" and "custom archiver pack"; called during a request | ||
| // for packing file/directory archive 'fileName' to path 'archiveRoot'; files/directories |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file/directory archive -> files/directories to archive
| // vraci TRUE pokud je zavreni mozne, je-li 'force' TRUE, vraci TRUE vzdy; pokud probiha | ||
| // critical shutdown (vice viz CSalamanderGeneralAbstract::IsCriticalShutdown), nema | ||
| // smysl se usera na cokoliv ptat | ||
| // function for "panel archiver view/edit", called before closing panel with archive; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
archive; -> archive
| // CAUTION: if opening new path fails, archive can remain in panel (independent on | ||
| // return value of CanCloseArchive); therefore this method cannot be used | ||
| // for destruction of context; it is intended e.g. for optimization of | ||
| // Delete operation from archive, when it can offer "shredding" of archive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, it can offer "shredding" of archive when it is leaved
| // cache nebo pri zavreni archivu | ||
| // finds out required disk-cache settings (disk-cache is used for temporary copies | ||
| // of files opened from archive in viewers, editors and via system associations); | ||
| // normally (if it is possible to allocate 'tempPath' buffer) it is called only once |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(if it is possible to allocate 'tempPath' buffer) -> (if a copy of 'tempPath' can be allocated after calling)
| // (pokud zpravu distribuuje message-loopa uvnitr pluginu), dalsi vstup do DeleteTmpCopy | ||
| // je vylouceny, protoze do ukonceni volani DeleteTmpCopy disk-cache zadne dalsi zpravy | ||
| // neposila | ||
| // CAUTION: it is called in main thread on the basis of message from disk-cache main window |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main window -> to main window
| // - message about need to delete temporary copy (typically when viewer is closed | ||
| // or when archive is "edited" in panel), therefore it can lead to repeated entry to plugin | ||
| // (if message is distributed by message-loop inside plugin), another entry to DeleteTmpCopy | ||
| // is excluded until end of call of DeleteTmpCopy, disk-cache does not send any other |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because until the completion of the DeleteTmpCopy call, the disk-cache does not send any further messages
No description provided.