Re: [PATCH 10/51] i18n: git-am core say messages
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Apr 3, 2011, 17:33 UTC
- Message-ID
- <m3ei5j44wz.fsf@localhost.localdomain>
- In-Reply-To
- <1301849175-1697-11-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
> Make the core git-am messages that use say() translatable. These are > visible on almost every git am invocation. > > There are tests that depend on the "Applying" output that need to be > skipped along with this translation.
> - say "Applying: $FIRSTLINE" > + say "$(eval_gettext "Applying: \$FIRSTLINE")"
> - say No changes -- Patch already applied. > + say "$(gettext "No changes -- Patch already applied.")"
I guess that you canot simply make 'say' to do the translation because one doesn't know if getext or eval_gettext is needed, isn't it?
-- Jakub Narebski Poland ShadeHawk on #git