git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH/RFC v8 0/2] Gettext support for Git
Date: Sat, 05 Jun 2010 14:29:13 -0700 (PDT)	[thread overview]
Message-ID: <m3vd9xp3oz.fsf@localhost.localdomain> (raw)
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:
[...]

>    * 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

  parent reply	other threads:[~2010-06-05 21:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05 21:12 [PATCH/RFC v8 0/2] Gettext support for Git Ævar Arnfjörð Bjarmason
2010-06-05 21:12 ` [PATCH/RFC v8 1/2] Add infrastructure for translating Git with gettext Ævar Arnfjörð Bjarmason
2010-06-05 21:12 ` [PATCH/RFC v8 2/2] Add initial C, Shell and Perl gettext translations Ævar Arnfjörð Bjarmason
2010-06-05 21:29 ` Jakub Narebski [this message]
2010-06-05 21:35   ` [PATCH/RFC v8 0/2] Gettext support for Git Ævar Arnfjörð Bjarmason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3vd9xp3oz.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).