TC10.50b3x64: Wrong strings used for "Extra drive space"

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
yong
Member
Member
Posts: 110
Joined: 2009-05-20, 07:23 UTC

TC10.50b3x64: Wrong strings used for "Extra drive space"

Post by *yong »

I reported a few days ago that wrong strings are shown for the "Extra drive space" option in configuration - icons if the language is set to Chinese, but I couldn't remember the steps to reproduce the problem and I thought that the issue had gone but actually it hasn't.

Now that I have found the same problem is TC10.50b3 x64 and these are the steps to reproduce it:

1. Change TC's language to English if it is not already, then close TC;
2. Start TC, open Configuration dialog, click Icons to check every option is properly displayed in English;
3. Click Language and select Simplified Chinese, then click Apply without closing the dialog box;
3. Click Icons - the third item from the top of the list, now everything is in Chinese - to show the settings for icons in Chinese, and strings for "Extra space" are incorrectly shown in the place for "H" and "V", as seen in the screenshot: https://ibb.co/4Zk6m5j

As a comparison, here is a screenshot for the same configuration page on TC10.50b3 x86: https://ibb.co/VCb1ZSK

I have checked my Chinese language file - which I am updating - and have found no conflict in the strings.
Here are the strings for the new "Extra drive space" options in TC 10.50:

Code: Select all

2108="横:"
2109="竖:"
and strings for the "Extra space" options:

Code: Select all

5317="图标间距: 水平(&H):"
5318="垂直(&I):"
Note:
1. In step 1, the language can be set to another language, for instance, German.
2. In order to reproduce the problem, Chinese language file must be installed. The current beta version has language files from TC 10.00 which don't have the new strings for TC 10.50, the above strings 2108 and 2109 should be manually added to WCMD_CHN.LNG.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b3x64: Wrong strings used for "Extra drive space"

Post by *ghisler(Author) »

This happens because currently only English and German have been adapted to Total Commander 10.50. I will contact the translators once there are (most problably) no more changes to the translation. Otherwise it would be annoying for the translators to get changed strings every week or two.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC10.50b3x64: Wrong strings used for "Extra drive space"

Post by *petermad »

This happens because currently only English and German have been adapted to Total Commander 10.50. I will contact the translators once there are (most problably) no more changes to the translation
That is not true - I have added strings 2108 and 2109 to my Danish language file, but if I do as yong describes:
1. Change TC's language to English if it is not already, then close TC;
2. Start TC, open Configuration dialog, click Icons to check every option is properly displayed in English;
3. Click Language and select Danish, then click Apply without closing the dialog box;

then I see that strings 5317 and 5318 are used for the "Extra drive space" V and H options. If I close the configuration dialog and open it again, the correst strings are now used
Last edited by petermad on 2022-04-28, 12:56 UTC, edited 1 time in total.
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
yong
Member
Member
Posts: 110
Joined: 2009-05-20, 07:23 UTC

Re: TC10.50b3x64: Wrong strings used for "Extra drive space"

Post by *yong »

I now know why I hit this problem: I was trying to add new strings to the language file and the spaces for H and V labels were unfortunately too small to hold the string, so I had to switch back and forth between the icons and language page to find a suitable translation, and then there is this bug. One issue leads to another.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b3x64: Wrong strings used for "Extra drive space"

Post by *ghisler(Author) »

Thanks, it happens with German too only after 'Apply'. I will check it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC10.50b3x64: Wrong strings used for "Extra drive space"

Post by *petermad »

history.txt wrote:29.04.22 Fixed: Configuration - Options - Icons: Labels H and V not translated correctly immediately after switching languages with "Apply" (32/64)
Confirmed fixed io TC 10.50b4 :-)
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