Messages in this thread |  | | Date | Sun, 19 Jan 1997 17:30:10 +0000 (GMT) | From | David Woodhouse <> | Subject | Re: Jive -> Kernel (International Linux) |
| |
On Sun, 19 Jan 1997, William Sowerbutts wrote:
> file named dialects.h: > --------------------------- > #ifdef LANGUAGE_ENGLISH > #define HELLO "Good day to you, fine sir." > #define BYE "Toodle pip!" > #define PANIC "Gosh! This is most unusual, don't you know?" > #endif > > #ifdef LANGUAGE_JIVE > #define HELLO "'Sup, dude?" > #define BYE "Laters, honcho" > #define PANIC "De kernel be bugger'd" > #define BROKEN_DISK "Dis disk be goin' t'boogie" > #endif > > #ifndef HELLO > #define HELLO "Generic greeting" > #endif > > #ifndef BYE > #define BYE "Generic dismissal" > #endif > > #ifndef PANIC > #define PANIC "Kernel Panic!" > #endif > > #ifndef BROKEN_DISK > #define BROKEN_DISK "This disk is broken" > #endif > ---------------------------
I think the point made earlier about unmanagability of the source is quite valid. This would be more workable if the standard kernel distribution came with the final #ifndef..#define bits, but the section for each separate language was downloadable separately. I still think that messages for each driver/section of the code should be kept separately, in order to make it all a bit easier to keep track of. Perhaps one (set of) text file(s) for each sub-directory of the kernel source tree?
---- ------------------------------------------------ ---- David Woodhouse, WWW: http://dwmw2.robinson.cam.ac.uk Robinson College, Email: dwmw2@cam.ac.uk Cambridge, Tel: +44 (0) 976 658355 CB3 9AN, (n)talk: dwmw2@dwmw2.robinson.cam.ac.uk England. PGP KEY: finger pgp@dwmw2.robinson.cam.ac.uk ---- ------------------------------------------------ ----
|  |