by Guest » Tue Jan 10, 2006 12:26 pm
Anonymous wrote:1) If one specifies the article for an object does this *override* the
call to the CThe function in order to retrieve the article?
No. Well, sort of. A glance at CThe (defined in /lib/hugolib.h) shows that if the object has no article, then a capital "The" is printed, otherwise just the article name. I never gave it any thought before you asked, but this has always worked fine for me. Suppose you had an object called "fence" with an article of "a", and another object called "Bob" (no article). Calling CThe(obj) would print "The fence..." and "Bob..." respectively, which is probably what you wanted.
If you're needing to print the article itself -- whether it's "the" or "a" or "an" or "some" or whatever, you can use CArt(obj) for the capitolized version, or just Art(object) for mid-sentence uses.
Anonymous wrote:2) Can i translate the Manual in Italian?
Kent would have to answer this for sure (don't take this as an answer), but I'm guessing a translation would be very welcomed, if you're up to it!
[quote="Anonymous"]1) If one specifies the article for an object does this *override* the
call to the CThe function in order to retrieve the article?[/quote]
No. Well, sort of. A glance at CThe (defined in /lib/hugolib.h) shows that if the object has no article, then a capital "The" is printed, otherwise just the article name. I never gave it any thought before you asked, but this has always worked fine for me. Suppose you had an object called "fence" with an article of "a", and another object called "Bob" (no article). Calling CThe(obj) would print "The fence..." and "Bob..." respectively, which is probably what you wanted.
If you're needing to print the article itself -- whether it's "the" or "a" or "an" or "some" or whatever, you can use CArt(obj) for the capitolized version, or just Art(object) for mid-sentence uses.
[quote="Anonymous"]2) Can i translate the Manual in Italian?[/quote]
Kent would have to answer this for sure (don't take this as an answer), but I'm guessing a translation would be very welcomed, if you're up to it!