Change the language in the button name.

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Ziabrev
Junior Member
Junior Member
Posts: 45
Joined: 2022-05-12, 18:03 UTC

Re: Change the language in the button name.

Post by *Ziabrev »

2petermad
This is about the tooltip text, I need a translation of the button name.
Show me how to do it
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Change the language in the button name.

Post by *petermad »

The Tooltip and the name shown next to a button when shown as a menu is the same.

For the button name/tooltip to follow the language, you have to put the same em_command in wcmd_eng.ini and wcmd_rus.ini whith different text in the menu= line. In the button you have to leave the Tooltip field empty. Then TC will read the name/tooltip from the .ini file (in TC 11.50rc2 and later).
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
Ziabrev
Junior Member
Junior Member
Posts: 45
Joined: 2022-05-12, 18:03 UTC

Re: Change the language in the button name.

Post by *Ziabrev »

2petermad
This is supported in TC 11.50rc1
It's about the tooltip text, I need a translation of the button name.
Show me how to do it
screen
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Change the language in the button name.

Post by *petermad »

2Ziabrev
I guess your problem is that you don't want to use "OPENBARMENU barfile.bar" embedded in an em_command, because then the button menu does not open near the button you click. Currently there is no solution for that.
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
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Change the language in the button name.

Post by *sa16 »

Another feature of using "OPENBARMENU barfile.bar" or em_command is the absence of PopupOverlay (shows a small arrow icon as an overlay on buttons which open a submenu) on the button.
Ziabrev
Junior Member
Junior Member
Posts: 45
Joined: 2022-05-12, 18:03 UTC

Re: Change the language in the button name.

Post by *Ziabrev »

2sa16
Arrows can be drawn in the icon: Screenshot

Moderator message from: white » 2024-12-20, 15:32 UTC

Translated the display text of the link from Russian to English.
Ziabrev
Junior Member
Junior Member
Posts: 45
Joined: 2022-05-12, 18:03 UTC

Re: Change the language in the button name.

Post by *Ziabrev »

2petermad
I understand. Thank you.
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Change the language in the button name.

Post by *sa16 »

Ziabrev wrote:Arrows can be drawn in the icon
Or can be erase, if PopupOverlay = 0.
Post Reply