git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: protocol for updating .po gettext files?

From
Junio C Hamano <gitster@pobox.com>
Date
May 28, 2018, 13:47 UTC
Message-ID
<xmqqvab7j3ix.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<alpine.LFD.2.21.1805280754160.8049@localhost.localdomain>
"Robert P. J. Day" <rpjday@crashcourse.ca> writes:
Show 7 quoted lines
>    i was going to submit a minor patch to fix grammar here:
>
> builtin/init-db.c: warning(_("templates not found %s"), template_dir);
>
> as it should display "templates not found in %s" to be consistent with
> other messages, but i know from nothing about .po files, so does one
> also have to update those, or how does that work?

You as a developer generally don't. Instead, you just update the code i.e.

	-	warning(_("t not found %s"), t);
	+	warning(_("t not found in %s"), t);

and leave it up to the i18n coordinator to update *.pot and *.po so that localization teams can work on it, which all happens closer to the next release.

I think po/README has a bit more details describing which part is handled by whom.

Previous: Robert P. J. Day
Message 2 of 2 in “protocol for updating .po gettext files?”
  1. Robert P. J. DayMay 28, 2018
  2. Junio C HamanoMay 28, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.