Re: RFC - Storing translated values in a PropertyBag



On Fri, Aug 31, 2001 at 10:07:16AM +0200, Dietmar Maurer muttered...
: Martin Baulig wrote:
[snip]
: >
: > c) getValue ("/bonobo-config-test/test-string[de]") returns the german
: >    translation as Bonobo::Config::LocalizedString.
: 
: it is easier to parse the string if it looks like:
: 
: getValue ("[de]/bonobo-config-test/test-string")

I think it'd be cleaner and easier like this:

  getValue ("/bonobo-config-test/test-string/de" )
  
It also keeps it clean and obvious that "de" is a subproperty of test-string.

regards

chris
-- 
Chris Ross (boris) [ chris darkrock co uk, http://www.darkrock.co.uk ]
                   [ (chris|boris)@ferite.org, http://www.ferite.org ]
"A wise man asks questions without hesitation."




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]