Thumbnails config: wrong line length for string 5341 in TC 32-bit

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Thumbnails config: wrong line length for string 5341 in TC 32-bit

Post by *Usher »

Steps to reproduce:

1. Add language files WCMD_POL.* for Polish.
2. Run TC 9.5 32-bit.
3. Open Configuration > Options.
4. Go to Font dialog, change Dialog box font to Segoe UI, 8, 238 (Central European) and click "Apply".
5. Go to Language dialog, change language to Polski and click "OK" to close Configuration.
6. Reopen Configuration > Options (Konfiguracja > Ustawienia), click "Miniatury" (Thumbnails) and observe string 5431 ("Położenie bazy danych…) for "Miniatury: ogólne" (Thumbnails: general). It has space added in the end which overwrites the dialog border.

Alternate steps.

1. Add language files WCMD_ENG.* for English. Edit string 5341 to make it longer, depending on dialog font used, for example:
* for Microsoft Sans Serif
5341="&Database Location (leave empty to disable caching): 123456789012345678901234"
* for Tahoma
5341="&Database Location (leave empty to disable caching): 1234567890123456789012"
* for Segoe UI
5341="&Database Location (leave empty to disable caching): 1234567890123456789"
2. Run TC 9.5 32-bit.
3. Open Configuration > Options.
4. Go to Font dialog, change Dialog box font to Microsoft Sans Serif, 8, 0 (Western European) and click "Apply".
5. Go to Language dialog, change language to English (WCMD_ENG.LNG) and click "OK" to close Configuration.
6. Reopen Configuration > Options, click "Thumbnails" and observe string 5431 ("Database location…) for "Thumbnails: general". It has space added in the end which overwrites the dialog border.

As you can see in red circles on the screnshots here: https://imgur.com/a/hVd8Kub in both cases the line is too long.

You can also see in a blue circle on the Polish screenshot, that some translated strings may be too long, especially for Segoe UI font.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Thumbnails config: wrong line length for string 5341 in TC 32-bit

Post by *ghisler(Author) »

The text field was indeed set to auto-size, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14787
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Thumbnails config: wrong line length for string 5341 in TC 32-bit

Post by *petermad »

Confirmed bug in TC 9.50 - 9.51 rc2.

Confirmed fixed in TC 9.51 rc3 :-)
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
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Thumbnails config: wrong line length for string 5341 in TC 32-bit

Post by *Usher »

Fixed in TC951rc3, thanks.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply