home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
c2local
/
example
/
makelocal
< prev
next >
Wrap
Text File
|
1977-12-31
|
746b
|
53 lines
; aufräumen
path /bin
if exists localized
delete localized all
endif
; file editieren:
copy hello.c hello.bak
edit hello.bak hello.c with edit_script
; lokalisieren:
c2local patch hello.c name hello
; Stringlänge ändern
strmerge hello_locale.str hello_change.str to hello_locale.str
; lokalisieren 2
c2local compile name hello version 1 catalog hello.catalog
; Original wieder herstellen, damit man das Skript mehrmals aufrufen kann
copy hello.bak hello.c
delete hello.bak
; Programm neu compilieren
cd localized
sc #?.c link to hello
; übersetzen
ctmerge hello_locale.ct /deutsch.ct to hello_deutsch.ct
makedir catalogs
makedir catalogs/deutsch
ccomp hello_locale.cd hello_deutsch.ct catalogs/deutsch/hello.catalog