DirSizeCalc 2.22 (content plugin)
Moderators: Hacker, petermad, Stefan2, white
Current version 2.01
A new version is ready for download. In this version version a few errors have been fixed. In addition an optional calculation limit can be set.
The full list of changes is now also available online.
Plug-in home page: Download, description and documentation
On totalcmd.net
On my web site
2petermad
Please check if "move location" works in 2.01.
I have added a new option so languages files needs to be updated. I will try to make a beta release of the next version so translators can post their updated translations or the next version will just contain more languages and bug fixes.
A new version is ready for download. In this version version a few errors have been fixed. In addition an optional calculation limit can be set.
The full list of changes is now also available online.
Plug-in home page: Download, description and documentation
On totalcmd.net
On my web site
2petermad
Please check if "move location" works in 2.01.
I have added a new option so languages files needs to be updated. I will try to make a beta release of the next version so translators can post their updated translations or the next version will just contain more languages and bug fixes.
2Lefteous
The Move location seems to work fine now (now the same function in your Total SQX plugin just has to be fixed the same way
)
String 1001 is still missing in the [eng] section of the language file.
Danish translation can be downloaded at: http://madsenworld.dk/tcmd/wdx_dirsizecalc_2.01_danish.zip
The Move location seems to work fine now (now the same function in your Total SQX plugin just has to be fixed the same way

String 1001 is still missing in the [eng] section of the language file.
Danish translation can be downloaded at: http://madsenworld.dk/tcmd/wdx_dirsizecalc_2.01_danish.zip
Last edited by petermad on 2008-10-18, 15:51 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Lefteous
Two typos in the LNG file, line 28:
Besides, in the pluginst.inf file you missed plural:
Now, the Russian translation is ready, but, I'm afraid, there is one aspect that can cause problems. I weighed all pros and contras and finally decided against the "SI-compliant" units you are using. It was not an easy desision, but I can't apply different standards all over my different works, users will just get confused. So, I left Kb, Mb, Gb for the binary units, exactly as TC does (BTW, that was one of the main reasons), and for decimal ones I use the special units K°b, M°b, G°b. Between "K/M/G" and "b" I put a degree sign looking like a small superscribed circle — something like an indication of a decimal "zero" for decimal units.
I know you are a strong adherent of the "SI" notation and you would hardly like such "innovation" of mine, and I'm sorry for that, but that was my desicion. You may accept or not accept it (in this case I can distribute the language file separately, e.g. via wincmd.ru/totalcmd.net site).
Here is the package with the Russian parts of the LNG and pluginst.inf files:
Two typos in the LNG file, line 28:
The comment should start with ";" instead of "//", and instead of "it" I suppose you meant "if".// Displayed in the size fields if no files have been found or it the directory is completely empty instead of just displaying 0.
Besides, in the pluginst.inf file you missed plural:
and did not add the phrase about background counting that is present in the German description ("Alle Berechnungen werden im Hintergrund durchgeführt.")DirSizeCalc provides several numeric calculation for directory contents.
Now, the Russian translation is ready, but, I'm afraid, there is one aspect that can cause problems. I weighed all pros and contras and finally decided against the "SI-compliant" units you are using. It was not an easy desision, but I can't apply different standards all over my different works, users will just get confused. So, I left Kb, Mb, Gb for the binary units, exactly as TC does (BTW, that was one of the main reasons), and for decimal ones I use the special units K°b, M°b, G°b. Between "K/M/G" and "b" I put a degree sign looking like a small superscribed circle — something like an indication of a decimal "zero" for decimal units.
I know you are a strong adherent of the "SI" notation and you would hardly like such "innovation" of mine, and I'm sorry for that, but that was my desicion. You may accept or not accept it (in this case I can distribute the language file separately, e.g. via wincmd.ru/totalcmd.net site).
Here is the package with the Russian parts of the LNG and pluginst.inf files:
Code: Select all
MIME-Version: 1.0
Content-Type: application/octet-stream; name="DirSizeCalc2.01_rus.rar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="DirSizeCalc2.01_rus.rar"
UmFyIRoHAKOccwgADQAAADIGAADXRnSAkDUAzAAAAP4AAAACxI+JYBFoYTkdNRAAIAAAAHBsdWdp
bnN0X3J1cy5pbmYAsBofdacYWxcaZsjoxIhYUoFYvPBCbrhyaYl/cc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Tlyj67Jktq7i
SW7ZrZhxd61k/8w9ir7Jg0JaGhogXqVh0kAsqkJOCELRzkCFzDh7yenzyK81qJQ52oKOuRw9YBuy
8lAwWgBI3X0epo4KKxfgIPQHzo5YxFHA7riWfwgQxAIUKBM2H6s1uYfJq5tqHxdqGccA6JvWCwhx
vuFpYTnEPXsAQAcA
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
2Flint
Thanks for the hints on typos and errors in the language file.

Thanks for the hints on typos and errors in the language file.
Thank you for for translating my plug-in into Russianthe Russian translation is ready

Well I can of course not accept such "creative" translations. I could add a FAQ entry on how to change the language file to adapt prefixes. I can also provide to add your translation of this string as an outcommented template in the language file. What do you think?ecided against the "SI-compliant"
I'm sorry, but unfortunately I cannot accept such a variant. The binary units annoy me too much (like scratching a blackboard with one's nails; or cutting foam plastic with a knife). So I would better put the translation as a separate project on wincmd.ru (and, maybe, on my web-page) with explanations of the reasons.Lefteous wrote:I can also provide to add your translation of this string as an outcommented template in the language file. What do you think?
Anyway, thank you for trying to find a compromise (and for the plugin, of course).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Lefteous
It's not so easy to explain; reasons important to me may look strange/unimportant/ridiculous for someone else. I don't want to create anything using the binary prefixes, it's just my position in this question. I can understand that some people like these prefixes and switch to them, but I don't want to join these people. And if I write anything with a binary prefix, it would mean that I joined this team anyway; maybe not permanently, maybe not completely, but joined. That's not what I want.
Besides, I don't want people who use my programs/translations hesitate which prefixes are used in each particular program/translation. I just want that all my works shared between them as many ideas as possible.
It's not so easy to explain; reasons important to me may look strange/unimportant/ridiculous for someone else. I don't want to create anything using the binary prefixes, it's just my position in this question. I can understand that some people like these prefixes and switch to them, but I don't want to join these people. And if I write anything with a binary prefix, it would mean that I joined this team anyway; maybe not permanently, maybe not completely, but joined. That's not what I want.
Besides, I don't want people who use my programs/translations hesitate which prefixes are used in each particular program/translation. I just want that all my works shared between them as many ideas as possible.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
field "empty" tries to find a second file
I used filemon to see what happens when you use the "Empty" field.
After the first file (File1) is found another FindNext call follows to find the next file. Then then second file (File2) is found and a FindClose call follows.
It seems like only after the second file is found, DirSizeCalc knows the folder is not empty and closes the search. Why does it not stop after the first file is found?
Code: Select all
12:38:25 Totalcmd:FFF13365 FindOpen F:\PROJECT\TC\FILES\*.* SUCCESS .
12:38:25 Totalcmd:FFF13365 FindNext F:\PROJECT\TC\FILES\*.* SUCCESS ..
12:38:25 Totalcmd:FFF13365 FindNext F:\PROJECT\TC\FILES\*.* SUCCESS File1
12:38:25 Totalcmd:FFF13365 FindNext F:\PROJECT\TC\FILES\*.* SUCCESS File2
12:38:25 Totalcmd:FFF13365 FindClose F:\PROJECT\TC\FILES\*.* SUCCESS
It seems like only after the second file is found, DirSizeCalc knows the folder is not empty and closes the search. Why does it not stop after the first file is found?
Because of a question by someone in the dutch forum. He uses your plugin for coloring empty folders but this slows down his VPN connection to a remote server. For that reason he is searching for a way to create an on/off button to enable/disable your plugin. Do you know a solution for him?Lefteous wrote: I wonder why you are looking so deeply into this...
The problem here is that TC performs this functions always in background even when a field supports background operation.
A possible solution could be to exclude those VNC paths as first matching criteria and dirsizecalc.Field as the second. So when TC checks the custom file type it will immediately abort and never call the plugin on such paths.
A possible solution could be to exclude those VNC paths as first matching criteria and dirsizecalc.Field as the second. So when TC checks the custom file type it will immediately abort and never call the plugin on such paths.