Thread (4 messages) flat view 4 messages, 2 authors, 2022-09-20

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

From: Alex Henrie <hidden>
Date: 2022-09-20 19:44:13

On Tue, Sep 20, 2022 at 1:07 PM Jeff King [off-list ref] wrote:
On Mon, Sep 19, 2022 at 11:07:25PM -0600, Alex Henrie wrote:
quoted
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.
By "placeholders" I mean "things in angle brackets", like some of the
other usage strings in this file have. Maybe "argument placeholders"
would be more clear. I like that term a little better than the term
"human-readable parts" because these strings are part of the user
interface, so humans have to read them. But I really don't care
whether there's any explanation in the commit message at all. Junio
could just drop the sentence altogether when he commits the patch.
Regardless, the patch looks good to me. Thanks for catching it.
No problem, and thanks for the feedback.

-Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help