All of lore.kernel.org
 help / color / mirror / Atom feed
* 'gettext -- "--cached cannot be used with --files"' does not work
@ 2010-11-11 23:10 Michał Kiedrowicz
  2010-11-12  0:06 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Kiedrowicz @ 2010-11-11 23:10 UTC (permalink / raw)
  To: Ævar Arnfjörð Bjarmason; +Cc: git

Hi,

I just noticed that

	'gettext -- "--cached cannot be used with --files"' 

in git-submodule.sh generates

	#: git-submodule.sh:588
	msgid "--"
	msgstr ""

in *.po files. You can this e.g. in po/de.po.

This is not what commit message says :)

    gettextize: git-submodule "cached cannot be used" message
    
    Gettextize the "--cached cannot be used with --files" message. Since
    this message starts with "--" we have to pass "--" as the first
    argument. This works with both GNU gettext 0.18.1 (as expected), and
    the gettext(1) on Solaris 10.

$ gettext --version
gettext (GNU gettext-runtime) 0.18.1

-- 
regards,
Michał Kiedrowicz

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'gettext -- "--cached cannot be used with --files"' does not work
  2010-11-11 23:10 'gettext -- "--cached cannot be used with --files"' does not work Michał Kiedrowicz
@ 2010-11-12  0:06 ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-11-12  0:06 UTC (permalink / raw)
  To: Michał Kiedrowicz; +Cc: git

2010/11/12 Michał Kiedrowicz <mkiedrowicz@ivo.pl>:

> I just noticed that
>
>        'gettext -- "--cached cannot be used with --files"'
>
> in git-submodule.sh generates
>
>        #: git-submodule.sh:588
>        msgid "--"
>        msgstr ""
>
> in *.po files. You can this e.g. in po/de.po.
>
> This is not what commit message says :)
>
>    gettextize: git-submodule "cached cannot be used" message
>
>    Gettextize the "--cached cannot be used with --files" message. Since
>    this message starts with "--" we have to pass "--" as the first
>    argument. This works with both GNU gettext 0.18.1 (as expected), and
>    the gettext(1) on Solaris 10.

Thanks for the report. I spotted this a while ago, meant to raise it
and put it on my TODO list.

Then I forgot about it :)

Anyway, the issue is with xgettext(1), not gettext itself. I.e. the
shellscript parser is broken.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-12  0:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11 23:10 'gettext -- "--cached cannot be used with --files"' does not work Michał Kiedrowicz
2010-11-12  0:06 ` Ævar Arnfjörð Bjarmason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.