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

Update *.po with git.pot?

From
Ralf Thielow <ralf.thielow@gmail.com>
Date
Mar 18, 2016, 20:19 UTC
Message-ID
<CAN0XMO+8PQNXPRgROd9oVqHzTsgLo_k1yP-MLpqK5N44+1ShDQ@mail.gmail.com>

When a translation round starts for a Git release, the git.pot file will be updated and translators msgmerge their .po-files accordingly before translating. This results in a huge change to the .po-file as line numbers and stuff gets updated.

Since translations are made in one commit, this commit is messed up with the msgmerge update so when you look at the commit later, you'll have a hard time to find out what the actual changes in translations were.

We could improve this by making git.pot-updates update the *.po files as well, so further updates from translators will only contain actual translations. I think this is what the gitk project does. It will make the history of *.po-files much more readable.

Ralf
Next: Peter Krefting
Message 1 of 3 in “Update *.po with git.pot?”
  1. Ralf ThielowMar 18, 2016
  2. Peter KreftingMar 19, 2016
  3. Jiang XinMar 20, 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.