git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* eval_gettextln does not work correctly?
@ 2012-08-22 14:10 Nguyen Thai Ngoc Duy
  2012-08-22 14:17 ` Jonathan Nieder
  0 siblings, 1 reply; 4+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2012-08-22 14:10 UTC (permalink / raw)
  To: Git Mailing List, Jonathan Nieder,
	Ævar Arnfjörð Bjarmason

I was running git with preloadable_libintl.so to catch unmarked
strings and I saw this

domain "git"
msgid "The copy of the patch that failed is found in:\n"
"   /home/pclouds/w/git/t/trash
directory.t4254-am-corrupt/.git/rebase-apply/patch"
msgstr ""

which means git performed a lookup on that string. It is from git-am.sh:

eval_gettextln "The copy of the patch that failed is found in:
   $dotest/patch"

I suppose it should look up "...  $dotest/patch" instead (i.e. no
variable expansion). Something is wrong here? I have a few local
patches on top of master, but none of them touches gettext shell
functions.
-- 
Duy

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

end of thread, other threads:[~2012-08-22 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 14:10 eval_gettextln does not work correctly? Nguyen Thai Ngoc Duy
2012-08-22 14:17 ` Jonathan Nieder
2012-08-22 14:48   ` [PATCH] am: quote string for translation before passing to eval_gettextln Nguyễn Thái Ngọc Duy
2012-08-22 19:38     ` Junio C Hamano

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 NNTP newsgroup(s).