public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stefano Lattarini <stefano.lattarini@gmail•com>
To: Jiang Xin <worldhello.net@gmail•com>
Cc: "Junio C Hamano" <gitster@pobox•com>,
	"Git List" <git@vger•kernel.org>,
	"Ævar Arnfjörð Bjarmason" <avarab@gmail•com>,
	"Nguyễn Thái Ngọc Duy" <pclouds@gmail•com>
Subject: Re: [PATCH 3/7] i18n: Rewrite gettext messages start with dash
Date: Sat, 21 Jul 2012 18:23:16 +0200	[thread overview]
Message-ID: <500AD774.4030008@gmail.com> (raw)
In-Reply-To: <77cbbce0450735a66ef1d9101af0bc82e3fc545c.1342884459.git.worldhello.net@gmail.com>

On 07/21/2012 05:50 PM, Jiang Xin wrote:
> Gettext message in a shell script should not start with '-', one
> workaround is adding '--' between gettext and the message, like:
> 
>     gettext -- "--exec option ..."
> 
> But due to a bug in the xgettext extraction, xgettext can not
> extract the actual message for this case. Rewrite
>
s/Rewrite/Rewriting/ I think.

> the message is a simpler and better solution.
> 

Regards,
  Stefano

  reply	other threads:[~2012-07-21 16:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-21 15:50 [PATCH 0/7] i18n for git-am, git-rebase and git-merge Jiang Xin
2012-07-21 15:50 ` [PATCH 1/7] i18n: New keywords for xgettext extraction from sh Jiang Xin
2012-07-21 16:20   ` Stefano Lattarini
2012-07-21 15:50 ` [PATCH 2/7] i18n: rebase: mark strings for translation Jiang Xin
2012-07-21 15:50 ` [PATCH 3/7] i18n: Rewrite gettext messages start with dash Jiang Xin
2012-07-21 16:23   ` Stefano Lattarini [this message]
2012-07-21 15:50 ` [PATCH 4/7] Remove obsolete LONG_USAGE which breaks xgettext Jiang Xin
2012-07-21 16:26   ` Stefano Lattarini
2012-07-21 15:50 ` [PATCH 5/7] i18n: am: mark more strings for translation Jiang Xin
2012-07-21 16:27   ` Stefano Lattarini
2012-07-21 15:50 ` [PATCH 6/7] Remove unused and bad gettext block from git-am Jiang Xin
2012-07-21 16:29   ` Stefano Lattarini
2012-07-22  1:33     ` Jiang Xin
2012-07-21 15:50 ` [PATCH 7/7] i18n: merge-recursive: mark strings for translation Jiang Xin

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

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

  git send-email \
    --in-reply-to=500AD774.4030008@gmail.com \
    --to=stefano.lattarini@gmail$(echo .)com \
    --cc=avarab@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=pclouds@gmail$(echo .)com \
    --cc=worldhello.net@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox