diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-05-26 16:50:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-26 19:32:57 +0200 |
commit | b9832f7e3bd615025d5703c635ab2179fcaed2a7 (patch) | |
tree | a7f70d2e1437018a8dbf1a0d19bbf763ad4254a7 /po/.gitignore | |
parent | Makefile: add "po-update" rule to update po/XX.po (diff) | |
download | git-b9832f7e3bd615025d5703c635ab2179fcaed2a7.tar.xz git-b9832f7e3bd615025d5703c635ab2179fcaed2a7.zip |
Makefile: add "po-init" rule to initialize po/XX.po
The core translation is the minimum set of work that must be done for a
new language translation.
There are over 5000 messages in the template message file "po/git.pot"
that need to be translated. It is not a piece of cake for such a huge
workload. So we used to define a small set of messages called "core
translation" that a new l10n contributor must complete before sending
pull request to the l10n coordinator.
By pulling in some parts of the git-po-helper[^1] logic, we add a new
rule to create this core translation message "po/git-core.pot":
make po/git-core.pot
To help new l10n contributors to initialized their "po/XX.pot" from
"po/git-core.pot", we also add new rules "po-init":
make po-init PO_FILE=po/XX.po
[^1]: https://github.com/git-l10n/git-po-helper/
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'po/.gitignore')
-rw-r--r-- | po/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/po/.gitignore b/po/.gitignore index 37d1301b32..ff0e5176a6 100644 --- a/po/.gitignore +++ b/po/.gitignore @@ -1,2 +1,3 @@ /build /git.pot +/git-core.pot |