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: sheep, Hacker, Stefan2, white

Post Reply
User avatar
Usher
Power Member
Power Member
Posts: 888
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.
Regards from Poland
Andrzej P. Wozniak
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39980
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
http://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 9848
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, 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 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.992 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 888
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.
Regards from Poland
Andrzej P. Wozniak
Post Reply