From: Ævar Arnfjörð Bjarmason Date: Sat, 05 Jun 2010 03:28:04 GMT Subject: Re: [PATCH/RFC v7 1/2] Add infrastructure for translating Git with gettext Message-ID: In-Reply-To: <20100605025702.GA2019@progeny.tock> On Sat, Jun 5, 2010 at 02:57, Jonathan Nieder wrote: > Æ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.