Subject: [PATCH 0/7] More i18n fixes

From: "Jean-Noël Avila via GitGitGadget" <[email-masked]>
Date: Sun, 20 Mar 2022 21:54:44 +0000

This is another i18n PR (and hopefully the last for a while).

As usual, the intent is kept the same: curbing the number of strings to
translate, remove constant, error prone parts out of the way, trying in some
sense to "put a precedent" so that the template strings can be reused later.

This series has also a RFC status: can "bad argument" messages be merged
with unrecognized argument?

Bagas Sanjaya (1):
  sequencer: factor GIT_AUTHOR_* from message strings

Jean-Noël Avila (6):
  i18n: factorize generic failure messages
  i18n: factorize "bad argument" messages
  i18n: factorize "Server does not support foo" messages
  i18n: factorize "foo does not take arguments" messages
  i18n: factorize read-cache error messages
  i18n: factorize unrecognized options arguments messages

 add-patch.c                     |  4 ++--
 builtin/am.c                    |  2 +-
 builtin/bisect--helper.c        |  2 +-
 builtin/commit-graph.c          |  2 +-
 builtin/config.c                |  2 +-
 builtin/env--helper.c           |  2 +-
 builtin/gc.c                    |  8 ++++----
 builtin/merge.c                 |  6 +++---
 builtin/revert.c                |  4 ++--
 contrib/scalar/scalar.c         |  2 +-
 diff.c                          |  4 ++--
 fetch-pack.c                    |  8 ++++----
 read-cache.c                    |  8 ++++----
 ref-filter.c                    |  8 ++++----
 remote-curl.c                   |  2 +-
 sequencer.c                     | 12 ++++++------
 setup.c                         |  4 ++--
 submodule.c                     |  2 +-
 t/t3510-cherry-pick-sequence.sh |  8 ++++----
 t/t6436-merge-overwrite.sh      |  2 +-
 20 files changed, 46 insertions(+), 46 deletions(-)

base-commit: 74cc1aa55f30ed76424a0e7226ab519aa6265061
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1181%2Fjnavila%2Fmore_i18n_fixes-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1181/jnavila/more_i18n_fixes-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1181
-- 
gitgitgadget