[PATCH v2 0/3] No-op C gettext wrappers

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

 



Hi,

Ãvar ArnfjÃrà Bjarmason wrote:

> As discussed on-list previously I'm remaking the gettext series in a
> form that'll be easier to swallow.

Here's a reroll of the skeleton gettext.h wrapper as requested.
I'll send some gettextization patches in a separate series, time
permitting.

Changes from v1:

 - renamed NO_GETTEXT_POISON prereq to C_LOCALE_OUTPUT.  This should
   make it possible to reuse that prereq is the test suite ever
   learns a --lang option.  Hopefully this will also make it easier
   for authors of new tests to tell whether that prereq needs to be
   set.
 - GETTEXT_POISON can be enabled or disabled at runtime
 - _() is an inline function to catch misuses like

   const char *some_strings[] = { _("foo"), _("bar"), _("baz") };
 - combined some patches, tweaked commit messages

Thoughts welcome, as always.
Jonathan Nieder (1):
  tests: let GETTEXT_POISON be disabled at run time

Ãvar ArnfjÃrà Bjarmason (2):
  i18n: add no-op _() and N_() wrappers
  tests: add GETTEXT_POISON to simulate unfriendly translator

 Makefile      |    9 +++++++++
 cache.h       |    1 +
 gettext.c     |   14 ++++++++++++++
 gettext.h     |   32 ++++++++++++++++++++++++++++++++
 t/test-lib.sh |    9 +++++++++
 5 files changed, 65 insertions(+), 0 deletions(-)
 create mode 100644 gettext.c
 create mode 100644 gettext.h
--
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]