Re: [PATCH/RFC v8 0/2] Gettext support for Git
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 5, 2010, 21:29 UTC
- Message-ID
- <m3vd9xp3oz.fsf@localhost.localdomain>
- In-Reply-To
- <1275772373-26718-1-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> This is version 8 of the series to make Git optionally translatable > with GNU gettext. > > Changes since version 7:
[...]
Show 9 quoted lines
> * 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