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, 15:32 UTC
Message-ID
<56E97CA8.8070400@drmicha.warpmail.net>
In-Reply-To
<CACsJy8CyLGtYpPnwdhS-AD4d2pcU7RVv=OxPEePcHYhFpDh4pg@mail.gmail.com>
Duy Nguyen venit, vidit, dixit 16.03.2016 14:40:
Show 15 quoted lines
> On Wed, Mar 16, 2016 at 8:33 PM, Michael J Gruber
> <git@drmicha.warpmail.net> wrote:
>> 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.
> 
> .po(t) files are _very_ noisy because they record line numbers and
> that pretty much guarantees huge diffs. Even I as a former translator
> do not want to "make pot" and see the differences. If only msgmerge
> supports an output without line numbers...
> 

echo '*.po diff=po' >>.gitattributes echo '*.pot diff=po' >>.gitattributes git config diff.po.textconv "msgcat --indent --no-location"

With or without the indent, that gives a pretty clean diff. [It's unfortunate that one half of that config is in-tree, one-half is not.]

The way it currently is, "non-l10n" coders don't even notice when their changes affect the set of marked strings. But I guess ususally that's not a problem.

For our l10n coordinator it is impossible to decide whether a "git.pot" diff between two runs looks the way it is supposed to look - he would have to be aware of all code changes that intentionally change the marked strings. (Likewise, for the translators.)

So, really, the "actual coders" know best whether their changes should affect l10n or not, so they should be made more aware of it. Forcing "make pot" (and maybe more) on everyone sounds a bit harsh, but what else can we do?

Michael
Previous: Duy NguyenNext: Junio C Hamano
Message 11 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.