Re: [Bashburn-info] Something funky in the config menu
Brought to you by:
bashburn
From: Steven W. O. <st...@sy...> - 2008-09-26 15:07:53
|
On Thursday, Sep 25th 2008 at 17:01 -0000, quoth Nick Warne: =>On Thu, 25 Sep 2008 10:56:12 -0400 (EDT) =>"Steven W. Orr" <st...@sy...> wrote: => =>> Nick, Maybe I'm not getting it. I sense that CTH.lang is used as a =>> stopgap to provide in case a language is not supported. But if we're =>> in Swahili and the language is not supported then we should default =>> to English instead of creating a copy of an English language file. At =>> the most, we should be looking to see in BBLANG is in the set of =>> supported languages and if it's not then set it to English. Yes? No? => =>Yes and no. Look at the lang/Italian/configure.lang file (e.g.) => =>It does not HAVE the $VARs associated with the help file, whether it is =>in Swahili, Klingon, or any other language. If the $VARs do not exist, =>then nothing gets sourced and no help text when it that language. => =>The rest of the file[s] for menu etc. work OK... so it cannot just be =>reverted to English as default - just the 'not updated' variables in =>these files. Sorry, not clear yet. Proposal: I will change bb so that when BBLANG gets set, it will only be allowed to be set to an approved value. If the value that the user tries to set it to or if the value in the .bashburnrc is not a supported value then it will be set to English as the default value. Does that work? This implies that if we have a directory for a language, then we must have all variables defined. So, if a new language is created then the proper way to do it is to copy the English directory and then make changes until none of the content is left as English. And to followup, do we have undefined variables in any of the lang subdirs? -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net |