Re: [PATCH v2 2/5] docs(l10n): add AGENTS.md with optimized update-pot instructions
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Mar 12, 2026, 02:11 UTC
- Message-ID
- <CANYiYbHC-DZyc1jALswPN2NTcgC5-icV5yiwT3Ex-65TAdk+oA@mail.gmail.com>
- In-Reply-To
- <5e23a45964fa86bf710d5e04396a574dc8882ef3.1772551123.git.worldhello.net@gmail.com>
On Tue, Mar 3, 2026 at 11:33 PM Jiang Xin <worldhello.net@gmail.com> wrote:
Show 22 quoted lines
> +### Header Entry > + > +Every PO file (`po/XX.po`) contains a special entry called the "header entry" > +at the beginning of the file. This entry has an empty `msgid` and contains > +metadata about the translation in its `msgstr`: > + > +```po > +msgid "" > +msgstr "" > +"Project-Id-Version: Git\n" > +"Report-Msgid-Bugs-To: Git Mailing List <git@vger.kernel.org>\n" > +"POT-Creation-Date: 2026-02-14 13:38+0800\n" > +"PO-Revision-Date: 2026-02-14 11:41+0800\n" > +"Last-Translator: Teng Long <dyroneteng@gmail.com>\n" > +"Language-Team: GitHub <https://github.com/dyrone/git/>\n" > +"Language: zh_CN\n" > +"MIME-Version: 1.0\n" > +"Content-Type: text/plain; charset=UTF-8\n" > +"Content-Transfer-Encoding: 8bit\n" > +"Plural-Forms: nplurals=2; plural=(n != 1);\n" > +"X-Generator: Gtranslator 42.0\n" > +```
Will remove unnecessary header entries in the v3 reroll to make this file smaller and more concise.