Thread (1 message) 1 message, 1 author, 2016-06-15

Re: l10n: the maintaince of git-po repo

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:10

Jiang Xin [off-list ref] writes:
I'm looking forward to the next git release with Chinese l10n, so that
I can start to rewrite my book on Git. ;-)
For people who don't know, Jiang kindly sent me an autographed copy of his
book https://plus.google.com/u/0/108182106411180467879/posts/XX2CewgxSAb I
can only read the command examples, but the book seems to have a good
coverage of modern Git, judging from the table of contents.
The maintaince of the git-po and git-po-zh_CN repositories so far:

git-po repository
-----------------
Location   : https://github.com/gotgit/git-po
Fork from  : https://github.com/git/git
Description: This is the Git l10n master repo, and is used to coordinate
             works of l10n teams. L10n team leaders send pull requests
             to this repo, while other l10n contributors should wok on
             the language specified repository created by the l10n team
             leader.
Thanks.  I took a look.

I'll comment on the changes as if they came in the patch form here, to ask
for sanity checks from the list members.
quoted hunk
 Makefile      |    1 -
 po/.gitignore |    1 -
 po/git.pot    | 3494 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 po/zh_CN.po   | 3671 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 7165 insertions(+), 2 deletions(-)
 create mode 100644 po/git.pot
 create mode 100644 po/zh_CN.po

diff --git a/Makefile b/Makefile
index cf2c40b..be1957a 100644
--- a/Makefile
+++ b/Makefile
@@ -2635,7 +2635,6 @@ dist-doc:
 
 distclean: clean
 	$(RM) configure
-	$(RM) po/git.pot
 
 profile-clean:
 	$(RM) $(addsuffix *.gcda,$(addprefix $(PROFILE_DIR)/, $(object_dirs)))
The file is no longer a generated file but is tracked, and should not be
removed upon distclean.  Good.
quoted hunk
diff --git a/po/.gitignore b/po/.gitignore
index 4caa631..796b96d 100644
--- a/po/.gitignore
+++ b/po/.gitignore
@@ -1,2 +1 @@
-/git.pot
 /build
Likewise, it is not ignored anymore. Good.
quoted hunk
diff --git a/po/git.pot b/po/git.pot
new file mode 100644
index 0000000..efcda39
--- /dev/null
+++ b/po/git.pot
@@ -0,0 +1,3494 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
Should the above placeholder lines left as they are, or should they be
updated to name "Git" as the "PACKAGE" with "SOME DESCRIPTIVE TITLE"?

If the answer is "latter", I think we would need to apply a similar update
to po/git-gui.pot for git-gui package.

On the other hand, I think the placeholder lines below should stay as they
are.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: Git Mailing List [off-list ref]\n"
+"POT-Creation-Date: 2012-02-28 09:17+0800\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE [off-list ref]\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: advice.c:34
+#, c-format
+msgid "hint: %.*s\n"
+msgstr ""
...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help