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

Re: Please pull git-l10n updates for git v1.7.12-146-g16d26

From
Jiang Xin <worldhello.net@gmail.com>
Date
Sep 15, 2012, 01:34 UTC
Message-ID
<CANYiYbGJP3rpd+t-gVSc0EpbHg9e_8_z24S6v0g2bT72+faj2Q@mail.gmail.com>
In-Reply-To
<CACsJy8A-prPd=5R83LhcLO1rd-rBZRhfnvABvzvdDiC=hZ3ofQ@mail.gmail.com>
2012/9/14 Nguyen Thai Ngoc Duy <pclouds@gmail.com>:
Show 7 quoted lines
> (Dropping translators as they probably are not interested in this)
>
> I saw a gnu project does this (I don't remember what project). If we
> update .po* files with --no-location, we can avoid a lot of diff
> noises due to line number changes. A typical translator does not care
> about these lines anyway. Those who do can easily search the string in
> source files without them.

I believe some translators need these location infomation to find the context. In order to squelch noise, users can:

1. Define a new diff driver, such as:
    $ git config --global diff.podiff.textconv "sed -e '/^#/ d'"
2. Add two lines in .git/info/attributes to use this driver for po/pot files:
    *.po diff=podiff
    *.pot diff=podiff

-- Jiang Xin

Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 4 of 5 in “Please pull git-l10n updates for git v1.7.12-146-g16d26”
  1. Jiang XinSep 12, 2012
  2. Junio C HamanoSep 12, 2012
  3. Nguyen Thai Ngoc DuySep 14, 2012
  4. Jiang XinSep 15, 2012
  5. Nguyen Thai Ngoc DuySep 15, 2012

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.