Thread (19 messages) flat view 19 messages, 3 authors, 2016-06-15

Re: [PATCH/RFC v7 1/2] Add infrastructure for translating Git with gettext

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:48:55

On Sat, Jun 5, 2010 at 02:57, Jonathan Nieder [off-list ref] wrote:
Ævar Arnfjörð Bjarmason wrote:
quoted
 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help