[PATCH v3 00/15] Mark "init", "clone", and "add" output for translation

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

 



Hi again,

To make the primitives introduced by v2 more concrete, here's a series
including a few gettextization patches.  I don't plan to send more of
these unless there is some agreement that the basic structure is
right.  Maybe by next time I'll hunker down and write myself a tool to
check that a commit only inserts "_("-")" pairs (maybe using diff
--word-diff?)

This series still includes the skeleton gettext.h wrapper.

Changes from v1:

 - clearer commit messages, hopefully
 - clearer documentation for GETTEXT_POISON in the makefile

Please feel free to try it out, complain, ack, send patches, and so
on.

Jonathan Nieder (2):
  i18n: do not poison translations unless GIT_GETTEXT_POISON envvar is
    set
  update-index --refresh --porcelain: add missing const

Ãvar ArnfjÃrà Bjarmason (13):
  i18n: add no-op _() and N_() wrappers
  tests: add GETTEXT_POISON to simulate unfriendly translator
  Makefile: "pot" target to extract messages marked for translation
  init: mark basic messages for translation
  init: mark "Initialized [...] repository" for translation
  clone: mark basic messages for translation
  clone: split "Cloning into" message into two
  clone: mark "Cloning into" message for translation
  add: mark basic messages for translation
  add: mark "The following paths are ignored" for translation
  add: mark "did not match any files" for translation
  add -u --verbose: mark "remove '%s'" for translation
  add --refresh --verbose: mark "Unstaged changes" heading for
    translation

 Makefile               |   27 ++++++++++++++++++++
 builtin/add.c          |   50 +++++++++++++++++++-------------------
 builtin/clone.c        |   63 +++++++++++++++++++++++++----------------------
 builtin/init-db.c      |   58 ++++++++++++++++++++++++-------------------
 cache.h                |    3 +-
 gettext.c              |   14 ++++++++++
 gettext.h              |   32 ++++++++++++++++++++++++
 po/.gitignore          |    1 +
 read-cache.c           |    4 +-
 t/t0001-init.sh        |    2 +-
 t/t2200-add-update.sh  |    2 +-
 t/t2204-add-ignored.sh |   37 +++++++++++++++++++---------
 t/t3700-add.sh         |   13 +++++++--
 t/t5601-clone.sh       |    2 +-
 t/test-lib.sh          |    9 +++++++
 15 files changed, 215 insertions(+), 102 deletions(-)
 create mode 100644 gettext.c
 create mode 100644 gettext.h
 create mode 100644 po/.gitignore
--
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]