Re: [PATCH/RFC v7 1/2] Add infrastructure for translating Git with gettext
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jun 5, 2010, 03:28 UTC
- Message-ID
- <AANLkTil541q0RtZsEmnLOtUNxfltvcFCGxpxR-myhyDl@mail.gmail.com>
- In-Reply-To
- <20100605025702.GA2019@progeny.tock>
On Sat, Jun 5, 2010 at 02:57, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 12 quoted lines
> Ævar Arnfjörð Bjarmason wrote: >> const char git_usage_string[] = >> "git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n" >> @@ -490,6 +491,8 @@ int main(int argc, const char **argv) >> if (!cmd) >> cmd = "git-help"; >> >> + git_setup_gettext(); >> + > > This handles builtins. ‘grep PROGRAM_OBJS Makefile’ reveals nine > other source files with their own main() functions.
Thanks. I spotted those, but I thought they could be skipped for now.
They're mostly guts, but I guess imap-send should be translated.
I can add git_setup_gettext() to them as well if that's wanted. Or I could just do so during some future commit when they actually get translated.