Wrong language in close confirmation dialogue - TC9.0a (X64)
Moderators: Hacker, petermad, Stefan2, white
Wrong language in close confirmation dialogue - TC9.0a (X64)
Language is set to English.
When attempting to close a locked tab, the following dialogue appears:
[Title] Total Commander
[Message] This tab is locked! Close anyway?
[Options] "Ja" "Nein" "Abbrechen"
Obviously, the listed options are not in English.
Maybe other confirmation dialogues are affected as well.
When attempting to close a locked tab, the following dialogue appears:
[Title] Total Commander
[Message] This tab is locked! Close anyway?
[Options] "Ja" "Nein" "Abbrechen"
Obviously, the listed options are not in English.
Maybe other confirmation dialogues are affected as well.
-
- Power Member
- Posts: 872
- Joined: 2013-09-04, 14:07 UTC
Afaik this is a standard MessageBox(->MSDN) where the button text are always determined by the system language.
May be a good idea to switch to MessageBoxEx(->MSDN) which offers an additional parameter for customization:
Regards
Holger
May be a good idea to switch to MessageBoxEx(->MSDN) which offers an additional parameter for customization:
also it may be a big effort to match the correct Language Identifiers(->MSDN) to all possible TC-language selections....wLanguageId [in]
Type: WORD
The language for the text displayed in the message box button(s). Specifying a value of zero (0) indicates to display the button text in the default system language. If this parameter is MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL), the current language associated with the calling thread is used.
To specify a language other than the current language, use the MAKELANGID macro to create this parameter. For more information, see MAKELANGID.
Regards
Holger
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Wrong language in close confirmation dialogue - TC9.0a (
With TC 9.10ß1 - 32 bit + 64 bit you get "Yes" "No" "Cancel" in options dialog.Heini wrote:Language is set to English.
When attempting to close a locked tab, the following dialogue appears:
[Title] Total Commander
[Message] This tab is locked! Close anyway?
[Options] "Ja" "Nein" "Abbrechen"
Obviously, the listed options are not in English.
Maybe other confirmation dialogues are affected as well.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for trying it! Btw, MessageBoxEx did NOT work. Instead, I'm using a Windows hook and set the button texts from the lng file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com