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

[PATCH 0/2] Gettext support for Git

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jun 6, 2010, 17:47 UTC
Message-ID
<1275846453-3805-1-git-send-email-avarab@gmail.com>

This patch series implements gettext support for git, making it possible to localize it.

It been through 8 RFC iterations, gathering lots of changes along the way. I think it's now ready to be submitted for inclusion.

This submission is exactly equivalent to the RFC v8, aside from modifying the commit messages.

Ævar Arnfjörð Bjarmason (2):
  Add infrastructure for translating Git with gettext
  Add initial C, Shell and Perl gettext translations
 .gitignore                   |    2 +
 INSTALL                      |    8 ++
 Makefile                     |   69 ++++++++++++++++++-
 config.mak.in                |    2 +
 configure.ac                 |   12 +++
 daemon.c                     |    3 +
 fast-import.c                |    3 +
 gettext.c                    |   21 ++++++
 gettext.h                    |   18 +++++
 git-pull.sh                  |   16 +++--
 git-send-email.perl          |    3 +-
 git-sh-i18n.sh               |   47 +++++++++++++
 git.c                        |    3 +
 http-backend.c               |    3 +
 http-fetch.c                 |    3 +
 http-push.c                  |    3 +
 imap-send.c                  |    3 +
 perl/Git/I18N.pm             |   91 +++++++++++++++++++++++++
 perl/Makefile                |    3 +-
 perl/Makefile.PL             |   14 ++++-
 po/.gitignore                |    1 +
 po/is.po                     |   70 +++++++++++++++++++
 shell.c                      |    3 +
 show-index.c                 |    3 +
 t/t0200-gettext.sh           |  154 ++++++++++++++++++++++++++++++++++++++++++
 t/t0200/test.c               |   13 ++++
 t/t0200/test.perl            |   14 ++++
 t/t0200/test.sh              |   14 ++++
 t/t0201-gettext-fallbacks.sh |   42 +++++++++++
 t/t0202-gettext-perl.sh      |   20 ++++++
 t/t0202/test.pl              |  104 ++++++++++++++++++++++++++++
 t/test-lib.sh                |    2 +
 upload-pack.c                |    3 +
 wt-status.c                  |  107 +++++++++++++++--------------
 34 files changed, 812 insertions(+), 65 deletions(-)
 create mode 100644 gettext.c
 create mode 100644 gettext.h
 create mode 100644 git-sh-i18n.sh
 create mode 100644 perl/Git/I18N.pm
 create mode 100644 po/.gitignore
 create mode 100644 po/is.po
 create mode 100755 t/t0200-gettext.sh
 create mode 100644 t/t0200/test.c
 create mode 100644 t/t0200/test.perl
 create mode 100644 t/t0200/test.sh
 create mode 100755 t/t0201-gettext-fallbacks.sh
 create mode 100755 t/t0202-gettext-perl.sh
 create mode 100644 t/t0202/test.pl
Next: Ævar Arnfjörð Bjarmason
Message 1 of 16 in “Gettext support for Git”
  1. 0/2 Gettext support for GitÆvar Arnfjörð Bjarmason, Jun 6, 2010
  2. 1/2 Add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason, Jun 6, 2010
  3. Jakub NarebskiJun 7, 2010
  4. Jeff EplerJun 7, 2010
  5. 1/2 Add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason, Jun 7, 2010
  6. Junio C HamanoJun 14, 2010
  7. 0/2 Gettext support for GitÆvar Arnfjörð Bjarmason, Jun 15, 2010
  8. 1/2 Add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason, Jun 15, 2010
  9. 2/2 Add initial C, Shell and Perl gettext translationsÆvar Arnfjörð Bjarmason, Jun 15, 2010
  10. 0/2 Gettext support for GitÆvar Arnfjörð Bjarmason, Jun 15, 2010
  11. 1/2 Add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason, Jun 15, 2010
  12. 2/2 Add initial C, Shell and Perl gettext translationsÆvar Arnfjörð Bjarmason, Jun 15, 2010
  13. Ævar Arnfjörð BjarmasonJun 14, 2010
  14. Thomas RastJun 14, 2010
  15. Ævar Arnfjörð BjarmasonJun 14, 2010
  16. 2/2 Add initial C, Shell and Perl gettext translationsÆvar Arnfjörð Bjarmason, Jun 6, 2010

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.