Skip to content

gettextize all C mainporcelain common commands

Ævar Arnfjörð Bjarmason git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25gettextize: git-commit basic messagesbuiltin/commit.c+58 -580 replies
2/25gettextize: git-commit formatting messagesbuiltin/commit.c+14 -140 replies
3/25gettextize: git-commit advice messagesbuiltin/commit.c+6 -60 replies
4/25gettextize: git-diff basic messagesbuiltin/diff.c+10 -100 replies
5/25gettextize: git-fetch basic messagesbuiltin/fetch.c+23 -230 replies
6/25gettextize: git-fetch formatting messagesbuiltin/fetch.c+14 -144 replies
7/25gettextize: git-grep basic messagesbuiltin/grep.c+17 -170 replies
8/25gettextize: git-log basic messagesbuiltin/log.c+37 -370 replies
9/25gettextize: git-format-patch --cover-letter messagebuiltin/log.c+1 -10 replies
10/25gettextize: git-merge basic messagesbuiltin/merge.c+62 -6211 replies
11/25gettextize: git-merge "In-index merge" messagebuiltin/merge.c+1 -10 replies
12/25gettextize: git-merge "Merge made by %s." messagebuiltin/merge.c+1 -10 replies
13/25gettextize: git-merge remaining cmd_merge messagesbuiltin/merge.c+4 -40 replies
14/25gettextize: git-mv basic messagesbuiltin/mv.c+8 -80 replies
15/25gettextize: git-mv "bad" messagesbuiltin/mv.c+8 -80 replies
16/25gettextize: git-rm basic messagesbuiltin/rm.c+11 -110 replies
17/25builtin: use builtin.h in git-resetbuiltin/reset.c+1 -10 replies
18/25gettextize: git-reset basic messagesbuiltin/reset.c+15 -150 replies
19/25gettextize: git-reset reset_type_names messagesbuiltin/reset.c+7 -72 replies
20/25gettextize: git-tag basic messagesbuiltin/tag.c+30 -300 replies
21/25gettextize: git-tag tag_template messagebuiltin/tag.c+3 -30 replies
22/25gettextize: git-push basic messagesbuiltin/push.c+21 -210 replies
23/25builtin: use builtin.h in git-statuswt-status.c+1 -00 replies
24/25gettextize: git-status basic messageswt-status.c+51 -513 replies
25/25gettextize: git-status shortstatus messageswt-status.c+6 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/25] [CONTINUED] gettextize all C mainporcelain common commands

This series continues where "gettextize the first 4 C mainporcelain common commands" left off and translates all the C mainporcelain common commands (the only non-C ones left are bisect/pull/rebase).

With this Git is up to 482 translatable messages.

For reviewing all the patches that say "basic messages" were (mostly) converted by an automated script and should be really straightforward. Most of these are just plain die/error/printf calls with a single message.

See further comments on individual patches below. Most comment only apply to the patch immediately above them.

Ævar Arnfjörð Bjarmason (25):
gettextize: git-commit basic messages
gettextize: git-commit formatting messages

The message you get in the editor with git add . && git-commit

gettextize: git-commit advice messages

An example of N_() and _() usage.

gettextize: git-diff basic messages
gettextize: git-fetch basic messages
gettextize: git-fetch formatting messages

The status output you get on "git fetch" where it's telling you what changed.

gettextize: git-grep basic messages
gettextize: git-log basic messages

This is more than just git-log actually, e.g. git-show too.

  gettextize: git-format-patch --cover-letter message

I think this should be made translatable.

gettextize: git-merge basic messages

This need careful review. In many cases git-merge is writing out to some .git/* file and I *don't* want to translate that, but it could use a second set of eyes to see if I missed something.

gettextize: git-merge "In-index merge" message
gettextize: git-merge "Merge made by %s." message
gettextize: git-merge remaining cmd_merge messages

These I reviewed carefully and they should be trivial.

gettextize: git-mv basic messages
gettextize: git-mv "bad" messages
gettextize: git-rm basic messages

ditto, these should all be fine.

builtin: use builtin.h in git-reset

as before, this is not needed if "builtin: use builtin.h for all builtin/ commands" is applied. But it's here for convenience. If the previously submitted builtin.h patch is applied this can be dropped.

gettextize: git-reset basic messages
gettextize: git-reset reset_type_names messages

Another N_() and _() patch.

gettextize: git-tag basic messages
gettextize: git-tag tag_template message

Another N_() and _() patch.

gettextize: git-push basic messages
builtin: use builtin.h in git-status

This is *not* in my previously submitted "builtin: use builtin.h for all builtin/ commands" patch.

gettextize: git-status basic messages

An old resurrected patch ...

gettextize: git-status shortstatus messages

... but wt-status changed since then, so this was needed too.

 builtin/commit.c |  156 +++++++++++++++++++++++++++---------------------------
 builtin/diff.c   |   20 ++++----
 builtin/fetch.c  |   74 +++++++++++++-------------
 builtin/grep.c   |   34 ++++++------
 builtin/log.c    |   76 +++++++++++++-------------
 builtin/merge.c  |  136 +++++++++++++++++++++++-----------------------
 builtin/mv.c     |   32 ++++++------
 builtin/push.c   |   42 +++++++-------
 builtin/reset.c  |   44 ++++++++--------
 builtin/rm.c     |   22 ++++----
 builtin/tag.c    |   66 +++++++++++-----------
 wt-status.c      |  115 ++++++++++++++++++++--------------------
 12 files changed, 409 insertions(+), 408 deletions(-)
Signature · 1 line
1.7.2.2.614.g1dc9