Re: [PATCH/RFC v8 0/2] Gettext support for Git

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

 



Ævar Arnfjörð Bjarmason  <avarab@xxxxxxxxx> writes:

> This is version 8 of the series to make Git optionally translatable
> with GNU gettext.
> 
> Changes since version 7:
[...]

>    * Add back support (and a new test) for the no-op N_() macro. This
>      is used for marking translations for later use, e.g.:
>         
>         const char help[] =
>         	N_("See 'git help COMMAND' for more information on a specific command.");
>         
>         int main(void)
>         {
>             puts(_(help));

Shouldn't you add also corresponding N__ subroutine to Git::I18N
module?

  # Dummy functions for string marking.
  sub N__($) {
  	return shift;
  }

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
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]