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

Re: [ANNOUNCE] Git v2.8.0-rc2

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 16, 2016, 13:33 UTC
Message-ID
<56E96096.4020108@drmicha.warpmail.net>
In-Reply-To
<xmqqziu19cjz.fsf@gitster.mtv.corp.google.com>
Junio C Hamano venit, vidit, dixit 14.03.2016 18:47:
Show 14 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
> 
>> But if it makes it easier for translations teams and the i18n
>> coordinator to work together if I also pulled the git.pot update
>> myself, I'll do so.  I just didn't know (and still don't know) if
>> that makes things easier for you guys, or if that risks making
>> things more confusing, having to or being able to pull from two
>> trees that are not necessarily in sync down to the minute.
> 
> So, please just tell me to pull it myself too, if it makes the life
> of i18n team and the coordinator easier.
> 
> Thanks.
> 

I don't know about the workflow in general. I'll write up what triggered my question: I was looking at the FAQ "how do I display the current branch in git" and into ways to provide some ui (think "git status -sb", the "+"-line in "git branch"), when I found the problematic output. The multiple parentheses looked suspicious to me, but given the many levels of macro expansion I wasn't sure, and simply patching the parentheses didn't help either. It needed a combination of "make pot" and "msgmerge ...", and the fact that the last merge of git.pot was from 2.7.0-rc triggered my request to merge what we have.

In hindsight, what happened must have been like this:
"ahead " was marked properly for l10n and translated in the past.

7a76c28 (status: disable translation when --porcelain is used, 2014-03-20) introduced those extra parentheses. Matthieu probably didn't rerun "make pot" and "msgmerge" so that he didn't notice the consequences.

When Jian ran "make pot" the "ahead "-entry got removed from git.pot: 5e078fc (l10n: git.pot: v2.0.0 round 1 (45 new, 28 removed), 2014-04-19)

When translators ran "msgmerge" with the new git.pot the existing "ahead "-entry got commented out, for example here for de.po: 74c17bb (l10n: de.po: translate 45 new messages, 2014-04-01)

I'm actually wondering why I didn't notice this much earlier. I don't know which workflow would have prevented this either. Maybe, since we have "make pot", we should also have "make l10n" or something to make it (even) easier for non-l10n-experts to check whether they introduced any problems.

Strictly speaking, every source file with i18n markup should trigger a "make pot" (and make l10n) when changed, but there's probably a good reason why we don't do that.

Michael
Previous: Junio C HamanoNext: Duy Nguyen
Message 9 of 22 in “[ANNOUNCE] Git v2.8.0-rc2”
  1. Junio C HamanoMar 10, 2016
  2. Max HornMar 12, 2016
  3. Junio C HamanoMar 14, 2016
  4. Michael J GruberMar 14, 2016
  5. wt-status: allow "ahead " to be picked up by l10nMichael J Gruber, Mar 14, 2016
  6. Junio C HamanoMar 14, 2016
  7. Junio C HamanoMar 14, 2016
  8. Junio C HamanoMar 14, 2016
  9. Michael J GruberMar 16, 2016
  10. Duy NguyenMar 16, 2016
  11. Michael J GruberMar 16, 2016
  12. Junio C HamanoMar 16, 2016
  13. Michael J GruberMar 17, 2016
  14. Makefile: allow po generation through po targetMichael J Gruber, Mar 17, 2016
  15. Junio C HamanoMar 17, 2016
  16. Junio C HamanoMar 17, 2016
  17. Jiang XinMar 20, 2016
  18. Michael J GruberMar 20, 2016
  19. Junio C HamanoMar 21, 2016
  20. Michael J GruberMar 22, 2016
  21. Junio C HamanoMar 22, 2016
  22. Jiang XinMar 15, 2016

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.