solved [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *petermad »

When I search in Lister and the string is not found a message box pops with the title "Not found:"

In that message box the button "Retry" is always in Windows locale (Danish), no matter what language I am running TC with.

See: https://tcmd.madsenworld.dk/notfoundlister.png
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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *Horst.Epp »

With my Windows German locale setting
and TC language is English
the TC message in this case is correct "not found"
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *petermad »

2Horst.Epp

I am not talking about the "not found" - I am talking about the text on the left button in the bottom. - please see image-link above
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
User avatar
lebans
Junior Member
Junior Member
Posts: 33
Joined: 2003-11-23, 14:27 UTC
Location: The Netherlands

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *lebans »

- deleted -
Last edited by lebans on 2024-10-25, 07:57 UTC, edited 1 time in total.
Greetings,
Rob
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *Horst.Epp »

petermad wrote: 2024-10-24, 15:37 UTC 2Horst.Epp

I am not talking about the "not found" - I am talking about the text on the left button in the bottom. - please see image-link above
For me, this button is in English
Retry
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *Usher »

2petermad
I suspect that you did change language from Danish to English just before using Lister. Which English did you select - internal or from external lng file?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *petermad »

2Usher
I suspect that you did change language from Danish to English just before using Lister. Which English did you select - internal or from external lng file
It happens both with Internal English or English language file, and also after restart of TC, or with a fresh .ini file which by default uses Internal English - the button text is always in Danish.

If I log into a Windows 10 account with English locale the button text is always in English no matter what language I choose for TC.



2Horst.Epp
For me, this button is in English
And what language do you run your Windows in?
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
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *white »

Confirmed only in normal mode, not in dark mode.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *petermad »

not in dark mode.
Confirmed.

But where does the Danish: "Forsøg igen" come from - it is not in the .lng file ?????
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
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *white »

petermad wrote: 2024-10-24, 23:21 UTC But where does the Danish: "Forsøg igen" come from - it is not in the .lng file ?????
Obviously it is a standard message box and standard button which comes from the OS.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *petermad »

TC uses string 1364 in wcmd_eng.lng:

Code: Select all

1364="&Retry;Re-&enter;&Abort"
But only in Dark mode.

The string in wcmd_dan.lng is:

Code: Select all

1364="&Prøv igen;&Forfra;&Afbryd"
which is used i Dark mode as opposed to "Forsøg igen" in normal mode.
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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *Horst.Epp »

petermad wrote: 2024-10-24, 23:10 UTC
For me, this button is in English
And what language do you run your Windows in?
English
TC in Dark Mode
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *ghisler(Author) »

I'm using a standard Windows MessageBox function, which uses the current locale (language) for its buttons. I do some subclassing to translate the message box, but I didn't think that Abort-Retry-Ignore was important enough to be translated.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *white »

ghisler(Author) wrote: 2024-10-25, 09:52 UTC .., but I didn't think that Abort-Retry-Ignore was important enough to be translated.
It is important enough. It's a message box that pops up regularly and right now the Retry button is not translated, while the Cancel button is. Which is of course not acceptable. In any case, either translate none of the buttons, or translate both.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b3] Text on button when search not found in Lister always in Windows locale

Post by *ghisler(Author) »

The problem was also that the retry button text is too long in some languages. I will also have to resize the button in that case.
Author of Total Commander
https://www.ghisler.com
Post Reply