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

Re: [L10N] Kickoff for Git 2.37.0 round #1

From
Jiang Xin <worldhello.net@gmail.com>
Date
Jun 19, 2022, 12:13 UTC
Message-ID
<CANYiYbGWoMpCOA43k=5a_kio2thf91BV69nfSySwhHZbbMOSkg@mail.gmail.com>
In-Reply-To
<CAPv0VGvKFEbVzZEdn+eb-4Bb9KfQWCa=pM3iC_Dyu-6AKGCcug@mail.gmail.com>
On Sun, Jun 19, 2022 at 4:02 PM Trần Ngọc Quân <vnwildman@gmail.com> wrote:
Show 26 quoted lines
>
> On Tue, Jun 14, 2022 at 6:29 PM Jiang Xin <worldhello.net@gmail.com> wrote:
> >
> > Hi,
> >
> > Git v2.37.0-rc0 has been released, and it's time to start new round of
> > git l10n.  This time there are 92 updated messages need to be translated
> > since last release. Please send your pull request to the l10n coordinator's
> > repository below before this update window closes on Sun, June 26, 2022.
> >
> >     https://github.com/git-l10n/git-po/
> >
> Done, please pull!
>
> $ git log -n1 --stat
> commit 22262d3c1947626e296418ffa3543d3584995653 (HEAD -> master, origin/master,
> origin/HEAD)
> Author: Trần Ngọc Quân <vnwildman@gmail.com>
> Date:   Sun Jun 19 07:48:40 2022 +0700
>
>     l10n: vi(5367t): Updated Vietnamese translation v2.37
>
>     Signed-off-by: Tran Ngoc Quan <vnwildman@gmail.com>
>
>  po/vi.po | 37548 +++++++++++++++++++++++++++++++------------------------------
>  1 file changed, 19003 insertions(+), 18545 deletions(-)

You forgot to remove file-location comments in "po/vi.po". If you send me pull request on GitHub, a CI workflow will be triggered to execute the command below,

    $ git-po-helper check-commits --github-action-event=push <rev-list-args>
and you will receive the following report:

------------------------------------------------------------------------------ INFO [po/vi.po@22262d3] 5367 条已翻译消息. ------------------------------------------------------------------------------ ERROR [po/vi.po@22262d3] Found file-location comments in po file. By submitting a location-less ERROR [po/vi.po@22262d3] "po/XX.po" file, the size of the Git repository can be greatly reduced. ERROR [po/vi.po@22262d3] See the discussion below: ERROR [po/vi.po@22262d3] ERROR [po/vi.po@22262d3] https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ ERROR [po/vi.po@22262d3] ERROR [po/vi.po@22262d3] As how to commit a location-less "po/XX.po" file, See: ERROR [po/vi.po@22262d3] ERROR [po/vi.po@22262d3] the [Updating a "XX.po" file] section in "po/README.md" ------------------------------------------------------------------------------ WARNING commit 22262d3: subject length 53 > 50, about 63% commits have a subject less than 50 characters INFO checking commits: 0 passed, 1 failed. ------------------------------------------------------------------------------ INFO update pot file by running: make pot

ERROR: fail to execute "git-po-helper check-commits"

Will turn on the switch for file-location checking by default in git-po-helper check-po, check-command, etc.

-- Jiang Xin

Previous: Trần Ngọc QuânNext: Peter Krefting
Message 3 of 5 in “[L10N] Kickoff for Git 2.37.0 round #1”
  1. Jiang XinJun 14, 2022
  2. Trần Ngọc QuânJun 19, 2022
  3. Jiang XinJun 19, 2022
  4. Peter KreftingJun 22, 2022
  5. Jiang XinJun 23, 2022

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.