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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!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: <1993Jan7.202343.15937@cs.aukuni.ac.nz>
  5. From: jwil1@cs.aukuni.ac.nz (TMOTA)
  6. Date: Thu, 7 Jan 1993 20:23:43 GMT
  7. Sender: jwil1@cs.aukuni.ac.nz (TMOTA)
  8. References: <930101200448@kernow.demon.co.uk> 
  9.  <1993Jan5.124449.3180@gate.esat.kuleuven.ac.be> 
  10.  <1993Jan5.225631.27329@cs.aukuni.ac.nz> <1993Jan6.110652.19542@gate.esat.kuleuven.ac.be>
  11. Organization: Computer Science Dept. University of Auckland
  12. Lines: 33
  13.  
  14. tytgat@esat.kuleuven.ac.be (John Tytgat) writes:
  15.  
  16. >>Argh! What about simply specifying that the text held in the icon is a
  17. >>messagetrans tag? Then the template-loading code can lookup the necessary
  18. >>text from the specified language-dependant messages file.
  19.  
  20. >Ok, but what about the practical implementation ? Do we specify a bit which
  21. >determines the kind of text : plain text or messagetrans tag and define a
  22. >path where the template, euh sorry, Glass editor can find the messagetrans
  23. >files ? Or do we define more explicitly in the Glass file which languages
  24. >are supported with explicit filenames (instead of a path) ?
  25.  
  26. I would say the easiest way is to specify a bit which indicates that the
  27. text is actually a tag, and then in the application-side support code that
  28. is supplied with the template editor, put in a method by which these
  29. text items can be 'expanded'. Off the top of my head, I'd say a nice way to
  30. approach this might be to register a messagetrans decoding function with
  31. the support code, so it calls some user-defined function, passing in the
  32. tag, and gets back a pointer to the actual string...
  33.  
  34. >I hope we never *have to* deal with messagetrans tags ourselves.  Automatic
  35. >generation of such tags would be very helpful.
  36.  
  37. Yes. It would be a very good idea if !Glazier actually automatically generated
  38. a messagetrans tag, and spat out a file of messages with the actual text you
  39. typed in to the icon, automatically...
  40.  
  41. And as it's agoing to be a resource manager, it could also allow editing of
  42. the messages file as well - easy to implement now that the ExtEdit protocol
  43. is available... ;-) plug plug!
  44.  
  45. -- 
  46. themasterofthearcanejwil1@cs.aukuni.ac.nzthismessagewassentonrecycledelectrons
  47.