Re: [Bashburn-info] translation system in trunk
Brought to you by:
bashburn
From: Steven W. O. <st...@sy...> - 2008-09-23 13:37:09
|
On Tuesday, Sep 23rd 2008 at 08:05 -0000, quoth Nick Warne: =>On Tue, 23 Sep 2008 13:46:05 +0200 =>Markus Kollmar <mar...@on...> wrote: => =>> I have added a new file "TRANSLATION_RULE" in the base language =>> directory of trunk. =>> =>> It should describe the process of translation. So we can work =>> upon/with this "specification". =>> But until now it is more a discussion-point - if someone has =>> improvements or additional ideas, it's welcome. =>> =>> (Note, that I am not online until friday or saturday. So I can't =>> response in this time, but when I am back I do so.) => =>Good idea, but we need to do something here. => =>As the file will need to be added to the install script, this then =>introduces an additional problem, as the way BB selects lang list in =>the configuration is to actually 'ls -1' the lang/ directory - this =>means TRANSLATION_RULE will show up as a language! => =>So, either change the way the lang/directories are shown (somehow only =>list directories), OR, which I prefer, is to create a doc/ directory =>whereby all the related information files can live. One thing I should mention. In order to implement the pre-loading of the history buffer for use of the read command when trying to read a possibly enumerated value, I changed the ls command of the lang directory from ls -C to ls -1. I did this because in the case of BBLANG, we each word that came out of the command needed to be loaded into the history buffer. But in the case of the grep command to see what the possible devices are, we were really only concerned with the first word of each line of output. Currently I'm loading the whole line into the history buffer, but I really need to change it so that only the first word of each line gets loaded. I can always change it to do anything we want, but I just wanted to exaplin why we used to be doing an ls -C and now it's ls -1. -- steveo at syslang dot net TMMP1 http://frambors.syslang.net/ Do you have neighbors who are not frambors? Steve Orr Who should we vote for? http://steveo.syslang.net/electionrec-2008/ |