"Run As" dialog has non-translatable caption

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

"Run As" dialog has non-translatable caption

Post by *Flint »

When I select a cm_OpenAsUser command, TC opens a dialog "Run as", and the caption of this dialog cannot be translated via LNG file. Christian, can you please, fix it in the next version?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

I doubt it is a TC failure since it calls system dialog. It's like calling Open or Save dialogs, it can't be translated in ordinary way.

If you hate running on foreign language ;) you can aways create script that will change captions for you.
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

It's not a system dialog. At least, it does not seem to be it, 'cause I have a Russian Windows version.
If you hate running on foreign language you can aways create script that will change captions for you.
I don't hate it, I just like programs to be in one language. If it is Russian, it should be Russian. If it's English, it should be English. But not mixed. (Of course, with some exceptions like UTF, FTP, NTFS and other abbreviations.)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

I just like programs to be in one language.
well, you can never heave that complitely in programs that use plugins like TC. So.. be it on English.
I know U Russians stick to Russian language :) :) but it is time to forget differences and use english language for computer related things. Or you will always heave half of your Win in Russian and 10 applications running on English, some of them in Chinese, especialy if you took them from fixdown.com...

I don't care which lanaguage is it, I just care to be only one...

Enough with OT. It is system dialog, but of course, the one can crate exactly the same dialog. U can connect your TC with system dialog which is on russion, I think it resides in rundll32 but I am not sure, and U can easily find it on net. Or just use Win + R
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2majkinetor
It is system dialog, but of course, the one can crate exactly the same dialog. U can connect your TC with system dialog which is on russion, I think it resides in rundll32 but I am not sure, and U can easily find it on net. Or just use Win + R
We are waiting for the entry point impatiently :-)
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

I don't know.. I thought I saw it somewhere, but like I said I am not sure.

U can use this vbs file:

Dim objShell
Set objShell = CreateObject("Shell.Application")
objShell.FileRun
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2majkinetor
This is another dialog, isn't it?
In addition this one is fully localized on my German XP :arrow:
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

this is systems dialog

I don't know what you define to be a system but Explorer is essential part of the system (IE also). Furthermore I don't know without further analyses from where comes this box but I guess it is Explorers dialog since vbs doesn't work @ my system when I kill exploer.exe


What are you trying to do Lefti. I don't understand you. Are you joking with me ?
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2majkinetor
Here are three screenshots (all made on a German XP machine):

1) The "Win+R" dialog from Windows start menu:
http://www.lefteous.de/tc/images/misc/run_xp.png
This is also the one which is shown when invoking your VB code.

2) The system "run as" dialog:
http://www.lefteous.de/tc/images/misc/runas_xp.png

3) TC's run as dialog:
http://www.lefteous.de/tc/images/misc/runas_tc.png

Do you still think this is a dialog exported by a Windows system library? I guess Ghisler just calls CreateProcessWithLogonW or something like that (or runas.exe) when the user pressed OK on his own dialog.
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

I never seen that 3th dialog and that was making misunderstanding.

btw... I guess it can be easily seen via disasembler, but I don' t use any of them curently. Or even easyer, Ghisler can tell us . Wow ! What great solution with minimal effort on every side.
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2majkinetor
The thread starter was referring to the command cm_OpenAsUser. If you would have called the command you would have seen the 3rd dialog much earlier...
Last edited by Lefteous on 2006-01-04, 19:32 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

If you check the uncompressed totalcmd.exe in a hex-viewer you will find the words "Run as" hardcoded at offset 001baf70

see: http://madsenworld.dk/tcmd/runas.png
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
User avatar
majkinetor
Senior Member
Senior Member
Posts: 369
Joined: 2005-11-20, 10:36 UTC
Location: Belgrade, Serbia
Contact:

Post by *majkinetor »

@ Lefteous
If you would have called the command you would have seen the 3rd dialog much earlier...
I know, I know.....
We are not doing this just for the money.
We are doing it for sh*t load of money.
 
 
r-moth.com
r-moth.deviantart.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it's not a system dialog. I probably added this in a minor version where I couldn't contact the translators...
Author of Total Commander
https://www.ghisler.com
Post Reply