[RFC PATCH 0/2] Localize log output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In v1.8.0, I saw a regression in, among other, "git show --stat" in
that it would no longer output the diffstat in Swedish. This turned
out to be intentional, to fix format-patch and friends, but I liked
the old behaviour.

This series tries to fix that, and related code such as "git log",
while making sure that "git format-patch" still outputs in English.

I am posting this as a RFC, as I might very well have broken something
else in the process, from not knowing the code well enough.

The branch is also available from
https://github.com/nafmo/git-l10n-sv/commits/fix-diff-translation-20121023-1.8.0
with an updated Swedish translation.

Peter Krefting (2):
  Use localized date in log output
  Localize diff and log output

 builtin/apply.c  |  2 +-
 builtin/commit.c |  4 +--
 builtin/log.c    |  6 ++--
 commit.h         |  3 +-
 date.c           |  4 ++-
 diff.c           | 22 +++++++++-----
 diff.h           |  5 +++-
 gettext.c        |  1 +
 log-tree.c       | 11 +++++--
 pretty.c         | 87 +++++++++++++++++++++++++++++++++++++++++++-------------
 strbuf.c         | 10 +++++++
 strbuf.h         |  1 +
 12 files changed, 119 insertions(+), 37 deletions(-)

--
1.8.0
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]