home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / acorn / tech / 1162 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.0 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!wupost!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jwil1
  2. Newsgroups: comp.sys.acorn.tech
  3. Subject: Re: New Template format discussion document
  4. Message-ID: <1993Jan5.225631.27329@cs.aukuni.ac.nz>
  5. From: jwil1@cs.aukuni.ac.nz (TMOTA)
  6. Date: Tue, 5 Jan 1993 22:56:31 GMT
  7. Sender: jwil1@cs.aukuni.ac.nz (TMOTA)
  8. References: <930101200448@kernow.demon.co.uk> <1993Jan5.124449.3180@gate.esat.kuleuven.ac.be>
  9. Organization: Computer Science Dept. University of Auckland
  10. Lines: 32
  11.  
  12. tytgat@esat.kuleuven.ac.be (John Tytgat) writes:
  13.  
  14. >(5) A last point what I would like to raise is that there is no support for
  15. >text (read : Indirected Data) in different languages.
  16.  
  17. >A solution for this could be different Indirected Data tables.  IMHO this would
  18. >make the GLS_WIND chunk rather heavy.  Therefore I suggest to define a new
  19. >chunk as :
  20.  
  21.  [chunk format for including millions of different language versions of the
  22.  program text all in the one mega-massive file deleted]
  23.  
  24. Argh! What about simply specifying that the text held in the icon is a
  25. messagetrans tag? Then the template-loading code can lookup the necessary
  26. text from the specified language-dependant messages file.
  27.  
  28.  
  29. >- All the window title texts are indirected and there are only indirected
  30. >  icons.  So the 'indirected data' bit *in the Glass file* can be used to
  31. >  hold other information (eg. should we allow that other people can change
  32. >  all the text strings in a Glass file, like copyright strings, version
  33. >  numbers, etc. ?)
  34.  
  35. Yes. Allow anyone with an editor to edit anything in the file. However, as
  36. a programmer, my advice to you is to fill 'sensitive' fields such as version
  37. numbers in from within the program after loading the templates. (Normally
  38. I create a string with a version number plus C's __DATE__ which automatically
  39. includes the version date when I recompile...)
  40. -- 
  41. _________________  "I'd like to answer this question in two ways:
  42.   /____ _ _/_ __       First in my normal voice, and then
  43.  // / //_//_ /_/       in a silly, high-pitched whine." (Monty Python)
  44.