From: Junio C Hamano Date: Thu, 18 Aug 2022 19:12:24 GMT Subject: Re: [PATCH v4 07/11] builtin/diagnose.c: create 'git diagnose' builtin Message-ID: In-Reply-To: <220818.86edxd8k8q.gmgdl@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: > On Fri, Aug 12 2022, Victoria Dye via GitGitGadget wrote: > >> From: Victoria Dye >> [...] > > This is correct: > >> +'git diagnose' [(-o | --output-directory) ] [(-s | --suffix) ] > > ... > >> + N_("git diagnose [-o|--output-directory ] [-s|--suffix ]"), > > But this is not, it's missing () around the short v.s. long option, and > we should have a space surrounding the "|" as well. You are commenting on what appears inside N_() and I agree that it should match the other one. It is kind of sad that our usage strings do not allow proper translation and instead force translaters to _know_ that they are supposed to touch _only_ the placeholder strings (path and format in this case). Not your fault, or Victoria's, of course ;-)