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

ja/i18n-common-messages (was: What's cooking in git.git (Feb 2022, #04; Tue, 15))

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 15, 2022, 22:17 UTC
Message-ID
<220215.865ypfwz2q.gmgdl@evledraar.gmail.com>
In-Reply-To
<xmqqk0dwyrcv.fsf@gitster.g>
On Tue, Feb 15 2022, Junio C Hamano wrote:
Show 10 quoted lines
> * ja/i18n-common-messages (2022-02-04) 4 commits
>  - i18n: fix some misformated placeholders in command synopsis
>  - i18n: remove from i18n strings that do not hold translatable parts
>  - i18n: factorize "invalid value" messages
>  - i18n: factorize more 'incompatible options' messages
>
>  Unify more messages to help l10n.
>
>  Will merge to 'next'?
>  source: <pull.1123.v4.git.1643666870.gitgitgadget@gmail.com>

The changes to messages etc. in this series and the previous ones all look good.

The one reservation I had about it was the addition to the parse-options.c API: https://lore.kernel.org/git/220201.86a6fa9tmr.gmgdl@evledraar.gmail.com/

I don't mind if this goes in as-is, but would really like us to give ourselves license to make some generalized parse-options.c feature (like the OPT_INCOMPATIBLE() I proposed in the linked thread) not need to have the semantics introduced in die_for_incompatible_opt3() and die_for_incompatible_opt4() in this series.

I.e. it's a lot simpler to just die with a message the first time we see that --opt-b doesn't go with --opt-a, instead of needing to continue parsing and finding that --opt-c is also incompatible with the two, etc.

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 2 of 9 in “What's cooking in git.git (Feb 2022, #04; Tue, 15)”
  1. Junio C HamanoFeb 15, 2022
  2. ja/i18n-common-messages (was: What's cooking in git.git (Feb 2022, #04; Tue, 15))Ævar Arnfjörð Bjarmason, Feb 15, 2022
  3. ab/ambiguous-object-name & ab/only-single-progress-at-once (was: What's cooking in git.git (Feb 2022, #04; Tue, 15))Ævar Arnfjörð Bjarmason, Feb 15, 2022
  4. en/present-despite-skipped (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))Elijah Newren, Feb 16, 2022
  5. Ævar Arnfjörð BjarmasonFeb 16, 2022
  6. Elijah NewrenFeb 16, 2022
  7. js/apply-partial-clone-filters-recursively (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))Elijah Newren, Feb 16, 2022
  8. ds/sparse-checkout-requires-per-worktree-config (Was: Re: What's cooking in git.git (Feb 2022, #04; Tue, 15))Elijah Newren, Feb 16, 2022
  9. Derrick StoleeFeb 16, 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.