Starter to make TC portable

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
CG!
Junior Member
Junior Member
Posts: 21
Joined: 2008-11-10, 03:44 UTC

Post by *CG! »

m^2:
Would you dl the old Starter please?
i want to integrate polish language and need to know the country code, the program will tell you.
Or maybe you know them already?
Country code is read using these APi-Calls (kernel32.dll):
GetSystemDefaultLCID
GetLocaleInfoA

and is formated like this: German = deu, english = en.

And maybe you could translate this stuff here too?:

Code: Select all

"TC-Starter"
"TotalCommander not found !!!§§Please copy this program to your TotalCommander directory and start it using this program to make TC mobile.§§§The program will be closed."
"You don't have write access !!!§§Due to this fact, TotalCommander and some integrated programs & plugins may not work properly or completly refuse to work, because the needed iNi-entries couldn't be wrote and so the configuration be read from the right place.§§§The program can still be continued."
"You don't have administrator rights !!!§§Due to this fact, TotalCommander and some integrated programs & plugins may not work properly or completly refuse to work, because the needed registrie entries couldn't been wrote and so the configuration be read from the right place.§§§Do you want to Continue?§Use of TotalCommander at your own risc."
"invalid TC registry entries found !!!§§Do you want to fix them?§§§(WinCmd.iNi will not be checked and fixed if needed.)"
"Please input the path to your local TotalCommander installtion."
"Old TC registry entries found !!!§§Do you want to delete them?"
"An existing TotalCommander-installation was found !!!§§Do you want to start the local TotalCommander?"
"Both are the same version."
"The installed version is older."
"The installed version is newer."
"Version of the installed TC"
"Version of the mobile TC"
"There is already an TotalCommander running !!!§§Do you want to close the running TC instance?§§§if you choose ''Yes'', the running process will be killed (can lead to data loss) and this version will be started."
"The already running TC instance couldn't be killed !!!§§Please close it by hand.§§§This TotalCommander will not be started."
"The old registry entries could not be deleted !!!§§Do you still want to continue?§§§if you choose ''Yes'', TotalCommander and some integrated programs & plugins may not work properly or completly refuse to work."
"The old registry entries could not be deleted due to missing administrator rights !!!§§Do you still want to continue?§§§if you choose ''Yes'', TotalCommander and some integrated programs & plugins may not work properly or completly refuse to work."
"This TotalCommader has already been started !!!§§§A new instance will not be started."
"TC-Start is already running !!!§§§This instance will be closed."
"check"
"start"
"patch"
"runs"
§ initiates a line break,
that's the content if V0.0.2's language file


Then polish language will be already supported.
Thanks in common.
Last edited by CG! on 2008-11-14, 23:17 UTC, edited 2 times in total.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Sorry, I don't play with translations.
I guess that you can fin all locale info that you need here.
User avatar
CG!
Junior Member
Junior Member
Posts: 21
Joined: 2008-11-10, 03:44 UTC

Post by *CG! »

No, sorry.
it's .NET based and i use VB6 because it starts up way faster and don't needs any additional files or Framework to be installed or delivered with it.
This way it runs even in Wine without any problems.

But even if i know the language code, i don't want to put an google translation there.
But never mind. Maybe someone else will help me add additional languages. ^^
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2CG!
IIRC it was always required to install vbrun6.exe for proper VB work. Maybe it came with sobe update, maybe with other software... in "old times" you had to download additional libraries by yourself. Saying that you use VB because of no need of additional libraries on your system is little bit naive. That way I can say that .NET doesn't need framework...


Quick Polish translation below. Four last words might be wrong but I am affraid to run your app. Why? I shouldn't judge book by cover but so childish language file built my fear;)

Code: Select all

"TC-Starter" 
"TotalCommander nie został znaleziony!!!§§Skopiuj TC-Starter do katalogu programu TotalCommander. Za jego pomocą uruchomisz przenośną wersję TC.§§§Aplikacja zostanie zamknięta." 
"Nie posiadasz uprawnień do zapisu!!!§§TotalCommander, niektóre zintegrowane aplikacje oraz wtyczki mogą działać nieprawidłowo ponieważ ich ustawienia nie zostaną zapisane w wymaganych plikach INI.§§§" 
"Nie posiadasz uprawnień administratora!!!§§TotalCommander, niektóre zintegrowane aplikacje oraz wtyczki mogą działać nieprawidłowo ponieważ ich ustawienia nie zostaną zapisane w rejestrze.§§§" 
"Znaleziono nieprawidłowe wpisy rejestru dla programu TC!!!§§Czy chcesz je naprawić?§§§(wincmd.ini nie zostanie sprawdzony, ani naprawiony)" 
"Znaleziono przestarzałe wpisy rejestru dla programu TC!!!§§Czy chcesz je usunąć?" 
"TotalCommander jest już zainstalowany!!!§§Czy chcesz uruchomić lokalną wersję programu? 
"Obie wersje są jednakowe." 
"Zainstalowana wersja jest starsza od przenośnej." 
"Zainstalowana wersja jest nowsza od przenośnej" 
"Wersja zainstalowanego TC" 
"Wersja przenośnego TC" 
"TotalCommander jest już uruchomiony!!!§§Czy chcesz zamknąć uruchomioną kopię programu?§§§Kliknięcie na ''Tak'' przerwie działający proces (może spowodować utratę danych) i uruchomi wersję przenośną." 
"Nie można przerwać procesu aplikacji!!!§§Zakminij program TotalCommander ręcznie,§§§ a następnie spróbuj uruchomić wersję przenośną ponownie." 
"Nie udało się usunąć przestarzałych wpisów rejestru!!!§§Czy chcesz kontynuować?§§§Kliknęcie ''Tak'' może spowodować nieprawidłowe działanie programu TotalCommander, zintegrowanych narzędzi oraz wtyczek." 
"Nie udało się usunąć przestarzałych wpisów rejestru z powodu braku uprawnień!!!§§Czy chcesz kontynuować?§§§Kliknęcie ''Tak'' może spowodować nieprawidłowe działanie programu TotalCommander, zintegrowanych narzędzi oraz wtyczek." 
"Ta wersja programu TotalCommader jest już uruchomiona!!!§§§Kolejna kopia programu nie zostanie uruchomiona." 
"Program TC-Start jest już uruchomiony!!!§§§Kopia ta zostanie zamknięta." 
"sprawdź" 
"start" 
"poprawka" 
"działa"
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

CG! wrote:No, sorry.
it's .NET based and i use VB6 because it starts up way faster and don't needs any additional files or Framework to be installed or delivered with it.
This way it runs even in Wine without any problems.
Where do you see .NET? :o
User avatar
CG!
Junior Member
Junior Member
Posts: 21
Joined: 2008-11-10, 03:44 UTC

Post by *CG! »

fenix_productions wrote:IIRC it was always required to install vbrun6.exe for proper VB work. Maybe it came with sobe update, maybe with other software... in "old times" you had to download additional libraries by yourself. Saying that you use VB because of no need of additional libraries on your system is little bit naive. That way I can say that .NET doesn't need framework...
Don't needed here, because my little program don't need any additional OCX files.
Most stuff is done by APi-Calls anyway.
it only uses the ones, that are always delivered with windows.
Maybe different on Vista.
fenix_productions wrote:Quick Polish translation below. Four last words might be wrong but I am affraid to run your app. Why? I shouldn't judge book by cover but so childish language file built my fear;)
it's not the full language file. Just the english block.
But you are still right. The rest of the file isn't much more complicated. But i don't think, a badly build language support will make a program screw up your system. ^^
Maybe i'll just make it english next time. :/

And thank for the translation, but the language file changed again. Sorry.
m^2 wrote:Where do you see .NET?
i only checked it with one eye.
So maybe it's not .NET only.
But my function returns deu, en and so on. So this list is no help 4 me.
And i still don't want an google translation. They are soooo wrong. -.-

But hey! i finally managed to update the Starter to V0.0.2.
And no matter if you want it or not, you are mentioned in the file, m^2. :P
Why? Because most of the changes are based on what you wrote.
User avatar
CG!
Junior Member
Junior Member
Posts: 21
Joined: 2008-11-10, 03:44 UTC

Post by *CG! »

Version 0.0.3 is out, with minor changes.
Hope you guys like it.

Dl and changelog on page 1.
User avatar
CG!
Junior Member
Junior Member
Posts: 21
Joined: 2008-11-10, 03:44 UTC

Post by *CG! »

A minor bug was reportet.
Fixed it and raised version numer to 0.0.4.
Changelog on site 1 of this thread updated.
Post Reply