{"thread":{"id":"9205","subject":"Re: [PATCH] Fix translation of strings in foreach lists.","startedAt":"2007-07-24T17:54:55Z","lastAt":"2007-07-24T17:54:55Z","messageCount":1,"participants":["Brett Schwarz"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"48493","messageId":"59193.87306.qm@web38905.mail.mud.yahoo.com","threadId":"9205","inReplyTo":null,"subject":"Re: [PATCH] Fix translation of strings in foreach lists.","fromName":"Brett Schwarz","fromEmail":"brett_schwarz@yahoo.com","sentAt":"2007-07-24T17:54:55Z","receivedAt":"2007-07-24T17:54:55Z","isPatch":true,"sender":{"key":"brett_schwarz@yahoo.com","avatar":null},"body":"\n\n> ----- Original Message ----\n> From: Christian Stimming <stimming@tuhh.de>\n> To: Shawn O. Pearce <spearce@spearce.org>\n> Cc: Brett Schwarz <brett_schwarz@yahoo.com>; git@vger.kernel.org; Paul Mackerras <paulus@samba.org>; Junio C Hamano <gitster@pobox.com>\n> Sent: Tuesday, July 24, 2007 8:20:28 AM\n> Subject: Re: [PATCH] Fix translation of strings in foreach lists.\n> \n> Quoting \"Shawn O. Pearce\" <spearce@spearce.org>:\n> >> >I not sure if it's worth changing, but you don't necessarily need\n> >> >those [append]'s in there.\n> >>\n> >> Thanks for the info. It is basically up to Shawn to decide which style\n> >> he likes more.\n> >\n> > \"[mc Foo]\\n\\n$err\"\n> >\n> > is much shorter.  So I'd prefer that over [append [mc Foo] \"\\n\\n$err\"].\n> \n> Err, but the usual case is that the argument to [mc] is more than one  \n> word, and (additionally) that argument has to be quoted by  \n> double-quotes (as opposed to braces) because otherwise xgettext  \n> doesn't extract the message correctly. Hence, the only possibility  \n> here were\n> \n>    \"[mc \"Some Text\"]\\n\\n$err\"\n> \n> Is this valid Tcl? Being a newcomer to this language I have to says  \n> the quotes here look rather strange :-)\n> \n\nYes, that's valid.\n\nbschwarz@bschwarz-desktop:~/gittcl$ tclsh\n% package require msgcat\n1.3.4\n% namespace import msgcat::mc\n% set err \"ERROR\"\nERROR\n% msgcat::mcset en \"hello there\" HOWDY\nHOWDY\n% puts \"[mc \"hello there\"]\\n\\n$err\"\nHOWDY\n\nERROR\n%\n\n\nHTH,\n    --brett\n\n\n\n\n       \n____________________________________________________________________________________\nLooking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.\nhttp://farechase.yahoo.com/\n"}]}