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

Re: [PATCH] gc: don't translate literal commands

From
Jeff King <peff@peff.net>
Date
Sep 20, 2022, 19:07 UTC
Message-ID
<YyoPXmNGAvl6p+C2@coredump.intra.peff.net>
In-Reply-To
<20220920050725.326383-1-alexhenrie24@gmail.com>
On Mon, Sep 19, 2022 at 11:07:25PM -0600, Alex Henrie wrote:
> These commands have no placeholders to be translated.

I think this is the right thing to do, but your commit message made me pause for a second. When you say "placeholders", I think you mean %s, etc. And yes there aren't any here, but that is not the reason not to translate. The reason not to translate is that the strings are commands which are given to a machine.

So maybe something like:
  There are no human-readable parts of these strings; the command you
  type is still "git maintenance" even in other languages.
Regardless, the patch looks good to me. Thanks for catching it.
-Peff
Previous: Alex HenrieNext: Alex Henrie
Message 2 of 5 in “gc: don't translate literal commands”
  1. gc: don't translate literal commandsAlex Henrie, Sep 20, 2022
  2. Jeff KingSep 20, 2022
  3. Alex HenrieSep 20, 2022
  4. Jeff KingSep 20, 2022
  5. Junio C HamanoSep 21, 2022

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.