home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / c2local / example / makelocal < prev    next >
Text File  |  1977-12-31  |  746b  |  53 lines

  1.  
  2. ; aufräumen
  3.  
  4. path /bin
  5.  
  6. if exists localized
  7.    delete localized all
  8. endif
  9.  
  10. ; file editieren:
  11.  
  12. copy hello.c hello.bak
  13.  
  14. edit hello.bak hello.c with edit_script
  15.  
  16.  
  17. ; lokalisieren:
  18.  
  19. c2local patch hello.c name hello
  20.  
  21. ; Stringlänge ändern
  22.  
  23. strmerge hello_locale.str hello_change.str to hello_locale.str
  24.  
  25.  
  26. ; lokalisieren 2
  27.  
  28.  
  29. c2local compile name hello version 1 catalog hello.catalog
  30.  
  31.  
  32. ; Original wieder herstellen, damit man das Skript mehrmals aufrufen kann
  33.  
  34. copy hello.bak hello.c
  35. delete hello.bak
  36.  
  37. ; Programm neu compilieren
  38.  
  39. cd localized
  40. sc #?.c link to hello
  41.  
  42. ; übersetzen
  43.  
  44. ctmerge hello_locale.ct /deutsch.ct to hello_deutsch.ct
  45.  
  46. makedir catalogs
  47. makedir catalogs/deutsch
  48.  
  49. ccomp hello_locale.cd hello_deutsch.ct catalogs/deutsch/hello.catalog
  50.  
  51.  
  52.  
  53.