* [L10N] Kickoff for Git 2.44.0 round #1
@ 2024-02-10 10:43 Jiang Xin
2024-02-10 17:21 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Jiang Xin @ 2024-02-10 10:43 UTC (permalink / raw)
To: Git List, Git l10n discussion group, Alexander Shopov, Jordi Mas,
Ralf Thielow, Jimmy Angelakos, Christopher Díaz,
Jean-Noël Avila, Bagas Sanjaya, Alessandro Menti,
Gwan-gyeong Mun, Arusekk, Daniel Santos, Dimitriy Ryazantcev,
Peter Krefting, Emir SARI, Arkadii Yakovets,
Trần Ngọc Quân, Teng Long, Yi-Jyun Pan
Cc: Jiang Xin, Patrick Steinhardt
Hi,
Git v2.44.0-rc0 has been released, and it's time to start new round of
git l10n. This time there are 52 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, 18 Feb 2024.
https://github.com/git-l10n/git-po/
Our l10n helper program (git-po-helper) has been upgraded to v0.7.3 to
detect typos on mismatched refspec (such as refs/ vs ref/) reported by
Patrick. See [1]. Please check translations using git-po-helper before
sending your PR.
As of git 2.37, we (git l10n contributors) have a new l10n workflow. The
following description of the new l10n workflow is from the "po/README.md"
file.
## The "po/git.pot" file is a generated file, no longer in the repository
The l10n coordinator does not need to generate the "po/git.pot" file every
time to start a new l10n workflow, and there is no "po/git.pot" file at all.
Everyone can generate the "po/git.pot" file with the command below:
make po/git.pot
But we can also forget about it. By updating our corresponding "po/XX.po"
file, the "po/git.pot" file is automatically generated.
## Update the "po/XX.po" file, and start to translate
Before updating the "po/XX.po" file, l10n contributors should pull the latest
commits from the master branch of "git.git". E.g.:
git pull --rebase git@github.com:git/git.git master
Then update the cooresponding "po/XX.po" file using the following command:
make po-update PO_FILE=po/XX.po
Translate the uptodate "po/XX.po" file, and create a new commit.
## Refine your commits, send pull requests
In the "po/XX.po" file, there are location lines in comments like below:
#: add-interactive.c:535 add-interactive.c:836 reset.c:136 sequencer.c:3505
#: sequencer.c:3970 sequencer.c:4127 builtin/rebase.c:1261
#: builtin/rebase.c:1671
These comments with file locations are useful for l10n contributors to locate
the context easily during translation. But these file locations introduce a
lot of noise and will consume a lot of repository storage. Therefore, we
should remove these file locations from the "po/XX.po" file.
To remove file locations in the "po/XX.po" file, you can use one of the
following two ways, but don't switch back and forth.
* Keep the filenames, only remove locations (need gettext 0.19 and above):
msgcat --add-location=file po/XX.po >po/XX.po.new
mv po/XX.po.new po/XX.po
* Remove both filenames and locations:
msgcat --no-location po/XX.po >po/XX.po.new
mv po/XX.po.new po/XX.po
After squashing trivial commits and removing file locations in the "po/XX.po"
file, send pull request to the l10n coordinator's repository below:
https://github.com/git-l10n/git-po/
## Resolve errors found by the l10n CI pipeline for the pull request
A helper program hosted on "https://github.com/git-l10n/git-po-helper" can
help git l10n coordinator and git l10n contributors to check the conventions
of git l10n contributions, and it is also used in GitHub actions as l10n CI
pipeline to validate each pull request in the "git-l10n/git-po" repository.
Please fix the issues found by the helper program.
** Please note: The update window will close on Sun, 18 Feb 2024. **
[1] https://lore.kernel.org/git/ZX_9nRYKVq0jT0Lp@tanuki/
--
Jiang Xin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [L10N] Kickoff for Git 2.44.0 round #1
2024-02-10 10:43 [L10N] Kickoff for Git 2.44.0 round #1 Jiang Xin
@ 2024-02-10 17:21 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2024-02-10 17:21 UTC (permalink / raw)
To: Jiang Xin
Cc: Git List, Git l10n discussion group, Alexander Shopov, Jordi Mas,
Ralf Thielow, Jimmy Angelakos, Christopher Díaz,
Jean-Noël Avila, Bagas Sanjaya, Alessandro Menti,
Gwan-gyeong Mun, Arusekk, Daniel Santos, Dimitriy Ryazantcev,
Peter Krefting, Emir SARI, Arkadii Yakovets,
Trần Ngọc Quân, Teng Long, Yi-Jyun Pan,
Patrick Steinhardt
Jiang Xin <worldhello.net@gmail.com> writes:
> Git v2.44.0-rc0 has been released, and it's time to start new round of
> git l10n. This time there are 52 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, 18 Feb 2024.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-10 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-10 10:43 [L10N] Kickoff for Git 2.44.0 round #1 Jiang Xin
2024-02-10 17:21 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).