Page 2 of 2

Re: Change the language in the button name.

Posted: 2024-12-20, 06:12 UTC
by Ziabrev
2petermad
This is about the tooltip text, I need a translation of the button name.
Show me how to do it

Re: Change the language in the button name.

Posted: 2024-12-20, 10:27 UTC
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).

Re: Change the language in the button name.

Posted: 2024-12-20, 11:03 UTC
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

Re: Change the language in the button name.

Posted: 2024-12-20, 12:08 UTC
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.

Re: Change the language in the button name.

Posted: 2024-12-20, 12:55 UTC
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.

Re: Change the language in the button name.

Posted: 2024-12-20, 13:56 UTC
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.

Re: Change the language in the button name.

Posted: 2024-12-20, 14:15 UTC
by Ziabrev
2petermad
I understand. Thank you.

Re: Change the language in the button name.

Posted: 2024-12-20, 15:55 UTC
by sa16
Ziabrev wrote:Arrows can be drawn in the icon
Or can be erase, if PopupOverlay = 0.