git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix translation of strings in foreach lists.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 24, 2007, 15:01 UTC
Message-ID
<20070724150136.GM32566@spearce.org>
In-Reply-To
<20070724112701.ndpm5fxaocks804s@webmail.tu-harburg.de>
Christian Stimming <stimming@tuhh.de> wrote:
Show 10 quoted lines
> Fix translation of strings in foreach lists.
> 
> Signed-off-by: Christian Stimming <stimming@tuhh.de>
> ---
> Quoting Brett Schwarz <brett_schwarz@yahoo.com>:
> >I not sure if it's worth changing, but you don't necessarily need   
> >those [append]'s in there.
> 
> Thanks for the info. It is basically up to Shawn to decide which style  
> he likes more.
"[mc Foo]\n\n$err"
is much shorter.  So I'd prefer that over [append [mc Foo] "\n\n$err"].
Its not like you've saved a dq-eval either, as you still have to do one
for the \n\n.  But either way is valid Tcl, and works, and the append
version is not so bad that I'd reject a patch that used it.
 
-- 
Shawn.
Previous: Christian StimmingNext: Christian Stimming
Message 4 of 5 in “Re: [PATCH] Mark many more strings for i18n.”
  1. Brett SchwarzJul 23, 2007
  2. Fix translation of strings in foreach lists.Christian Stimming, Jul 24, 2007
  3. Mark more strings for i18n, including the status message list.Christian Stimming, Jul 24, 2007
  4. Shawn O. PearceJul 24, 2007
  5. Christian StimmingJul 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.