DirSizeCalc 2.22 (content plugin)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Lefteous
The other plug-in was just an example for what the problems of parameterized fields are.
Ok, I see.
BTW DirSizeCalc doesn't have readme too, info about A (now AD), U, E and F I fonud in history and language files.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

There is a readme.txt in the stable version but there is no documentation in the beta version. The final version of DirSizeCalc 2 will contain documentation.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Finally I found time to look at DirSizeCalc2 and found some problems.
  1. "412=bytes" translation is not used.
  2. Many text fields in the Edit Unit dialog are too short, thought there is plenty of space, and it's difficult to fit translation string there (at least, "Number of digits" and "Decimal separator" caused problems, but other fields have much space to the right too).
  3. On the "Paths" tab it would be better to make the "Current path" field multi-line. My current path is:
    %COMMANDER_PATH%\Plugins\Content Plugins\DirSizeCalc\DirSizeCalc.ini
    but it is cut and shows just
    %COMMANDER_PATH%\Plugins\Content
  4. Translation of unit names is not used: in TC I always see "B", "kB", etc. instead of translated names.
PS: When message with ID 1000 is shown? I could not catch it…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Flint
I have found some time to investigate all of your observations:
  • Confirmed.
  • I hope it's okay in RC 1. I had already widened the labels.
  • As you can see I have implemented paths displaying with unexpanded environment strings to make the paths as short as possible. However even this isn't enough in some cases. I have made the label a higher so multi-line paths are displayed. I'm not really happy with this solution but it's ok for now.
  • It has already been reported and should be fixed in RC 1.
When message with ID 1000 is shown? I could not catch it…
It's displayed when you start the settings utility from outside TC or from within an old version not supporting the %COMMANDER_INI% env. string.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

DirSizeCalc 2.00 RC 1 has been released.

List of changes in Version 2.00 RC 1:
  • FIXED String "bytes" (412) wasn't translatable.
  • ADDED File History.txt contains the full list of changes.
  • ADDED Icon for settings utility.
  • ADDED Hint to inform user that a restart is required after changing settings (string 1001).
  • CHANGED String 1000 cannot be localized. Fo this reason the message is now displayed in all available languages.
  • FIXED Controls should be aligned accurately.
  • FIXED Fixed a problem with calculating values in subdirectories.
  • FIXED Tab stops and mnemonics didn't work properly in field and unit edit dialogs.
  • CHANGED Minor language file updates (Strings 305, 307, 415, 502 and 1000 changed).
  • FIXED Prefixes were not translatable.
  • DROPPED Removed "bug workaround option" completely. The size field now displays always values from archives.
Any comments are welcome but please note the list of known issues before posting:

- No documentation available. It will added in one of the release candidates or in the final version.

Hints for translators:
The file pluginst.inf contains a string that describes the plug-in. The file dirsizecalc.lng contains the localization for the plug-in and the settings utility. Please take a look at history.txt which contains hints about changes in the language file in RC 1. I have decided not to include the existing translations in RC 1 as there are quite a few changes in RC 1 concerning the language file but I will probably add the translations in RC 2.

Download DirSizeCalc 2.00 RC 1 (Totalcmd.net Server)

Download DirSizeCalc 2.00 RC 1 (my own website)
User avatar
petermad
Power Member
Power Member
Posts: 14898
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Lefteous

Regarding translation:

The German translation has a line:

Code: Select all

1001=Um Änderungen zu übernehmen, muss Total Commander neugestartet werden.
which is not present in the English section - what is correct - to include string 1001 or not?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14898
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

For custom configured units like this:

Code: Select all

[CustomUnitConfig_Alle enheder]
NumberOfDigits=2
DecimalSeparator=,
WantThousandSeparator=1
ThousandSeparator=.
AllowedUnits=15
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
it is only possible in the GUI to change the "Show unit" setting when all 3 "Use.." boxes are disabled, or if the bytes field (MinFileSizeX) is set to 0. - how come?

For the predefines units the "Show unit" setting is always changeable.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2petermad
not present in the English section
Thanks for the hint. 1001 is missing in the English section.
it is only possible in the GUI to change the "Show unit" setting when all 3 "Use.." boxes are disabled, or if the bytes field (MinFileSizeX) is set to 0. - how come?
Because in all other cases there can be multiple units and you can't see which one is used. So can only hide the unit name if there is only one unit used.
For the predefines units the "Show unit" setting is always changeable.
Yes because they all use only one unit. There is only one unit checked for each of them.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Please show it

Post by *Clo »

2Lefteous

:) Hello Christian !
…1001 is missing in the English section.
• Please, could you show it in English here, in order I complete the French section, then I resend the LNG to you ? TIA !

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

Is harcoded(not sure if that's the right word ) in "DirSizeCalcSettings.exe"

Code: Select all

To apply changes you have to restart Total Commander
Edit: There is a little problem of space with the string 1001 and the [Cancel/ar] button, in Castillan is worst

http://img178.imageshack.us/img178/6096/dirsizecalcla0.png
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Not in Win9x theme

Post by *Clo »

2dott

:) Hello !

• That doesn't occur using a classic Win9x theme, the [Cancel] button is largely under the message-string…
- Whether the control is high enough, you could try to split the line with a \n ?
- I used a short turn in French :
1001=On doit relancer T. C. pour appliquer les modifs.
:arrow: Lefteous

• In the Settings dialogue, the "All_dims" of units is not translated in the list, and also the [OK] button is not translat¦ed¦able either…
• The text of the string #423 doesn't match that occurs, IMHO it might be:
423=Press the Space key to use a space character ( then “S” is displayed).
:mrgreen: VG
Claude
Clo
Last edited by Clo on 2008-06-02, 19:33 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

2Clo
Here(WinVista) this happens if use Classic, Basic or Aero.
http://img122.imageshack.us/img122/8451/dirsizecalc2mo5.png

The end line \n don't split the string either.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Clo
Please, could you show it in English here, in order I complete the French section
Of course, here you are:

Code: Select all

To apply changes you have to restart Total Commander.
2dott
Is harcoded(not sure if that's the right word ) in "DirSizeCalcSettings.exe"
No it's not - see above.

2dott
There is a little problem of space with the string 1001
Thanks for your report. I will have to investigate this problem. The reason is the different button when using a non English operating system. Unfortunately I don't have a proper operating system for testing.

2Clo
In the Settings dialogue, the units are not translated in the list
I cannot confirm this. I have just tested it and translated units are displayed just fine here.
I just took a look at the language file you sent me and I can tell you why it doesn't work for you:

Code: Select all

o|Kio|Mio|Gio|ko|Mo|Go=o|Kio|Mio|Gio|ko|Mo|Go
You have translated the part before the equal sign which cannot work.

2Clo
the [OK] button is not translat¦ed¦able either…
The OK button is provided by the operating system.

2Clo
The text of the string #423 doesn't match that occurs, IMHO it might be:
Well that's true but it's not the point here. Entering a S character will result in a space character in DirSizeCalc. That's all the user has to know here.
User avatar
petermad
Power Member
Power Member
Posts: 14898
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Lefteous

it is only possible in the GUI to change the "Show unit" setting when all 3 "Use.." boxes are disabled, or if the bytes field (MinFileSizeX) is set to 0. - how come?
Because in all other cases there can be multiple units and you can't see which one is used. So can only hide the unit name if there is only one unit used.
But even if I have chosen only one unit, the "Show unit" box is still disabled!
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14898
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply