From: Glen Choo Date: Tue, 01 Mar 2022 18:34:50 GMT Subject: Re: [PATCH v2 13/13] submodule--helper update-clone: check for --filter and --init Message-ID: In-Reply-To: Junio C Hamano writes: > Ævar Arnfjörð Bjarmason writes: > >>> diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c >>> index 2ffc070319..3e8a05a052 100644 >>> --- a/builtin/submodule--helper.c >>> +++ b/builtin/submodule--helper.c >>> @@ -2543,7 +2543,12 @@ static int update_clone(int argc, const char **argv, const char *prefix) >>> }; >>> >>> const char *const git_submodule_helper_usage[] = { >>> - N_("git submodule--helper update-clone [--prefix=] [...]"), >>> + N_("git submodule [--quiet] update" >>> + "[--init [--filter=]] [--remote]" >>> + "[-N|--no-fetch] [-f|--force]" >>> + "[--checkout|--merge|--rebase]" >>> + "[--[no-]recommend-shallow] [--reference ]" >>> + "[--recursive] [--[no-]single-branch] [--] [...]"), >> >> Since this has , etc. it should still be marked for >> translation with N_(). > > Yeah, that sounds like a good idea. Isn't it already inside N_()? Did I do this correctly? e.g. an alternative interpretation is that Ævar misread this as: const char *const git_submodule_helper_usage[] = { N_("git submodule [--quiet] update"), "[--init [--filter=]] [--remote]", "[-N|--no-fetch] [-f|--force]", "[--checkout|--merge|--rebase]", "[--[no-]recommend-shallow] [--reference ]", "[--recursive] [--[no-]single-branch] [--] [...]",