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

Re: [RFC/PATCH 0/5] git-glossary

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Dec 8, 2014, 16:04 UTC
Message-ID
<5485CC1E.4010401@drmicha.warpmail.net>
In-Reply-To
<cover.1418052470.git.git@drmicha.warpmail.net>
Michael J Gruber schrieb am 08.12.2014 um 16:38:
Show 38 quoted lines
> More and more people use Git in localised setups, which usually means
> mixed localisation setups - not only, but also because of our English
> man pages.
> 
> Here's an attempt at leveraging our current infrastructure for helping
> those poor mixed localisation folks. The idea is to keep the most
> important iterms in the glossary and translate at least these.
> 
> 1/5: generate glossary term list automatically from gitglossary.txt
> 2/5: introduce git-glossary command which helps with lookups
> 3/5: introduce git-glossary.txt, the man page for the command
> 4/5: git.pot update
> 5/5: sample de.po update
> 
> Without 4/5 and 5/5, a few terms from the glossary can be translated
> already by coincidence with localised messages from some git commands.
> 
> Michael J Gruber (5):
>   glossary.h: generate a glossary list from the Makefile
>   glossary: introduce glossary lookup command
>   glossary: man page
>   l10n: git-glossary
>   l10n: de: git-glossary
> 
>  .gitignore                     |    2 +
>  Documentation/git-glossary.txt |   48 ++
>  Makefile                       |    8 +-
>  builtin.h                      |    1 +
>  builtin/glossary.c             |  104 +++
>  command-list.txt               |    1 +
>  generate-glossary.sh           |    8 +
>  git.c                          |    1 +
>  po/de.po                       | 1382 ++++++++++++++++++++++++----------------
>  po/git.pot                     | 1362 +++++++++++++++++++++++----------------
>  10 files changed, 1839 insertions(+), 1078 deletions(-)
>  create mode 100644 Documentation/git-glossary.txt
>  create mode 100644 builtin/glossary.c
>  create mode 100755 generate-glossary.sh

While I did send 5/5 with UTF-8 encoding (or rather: git-sendemail helpfully did so) it seems it doesn't get through. Anyways, this stuff is here also:

https://github.com/mjg/git/tree/glossary-cmd
Or rather:
The following changes since commit a0de725a8ff02c1f2a9452c2234bee819242395c:
  Sync with Git 2.2 (2014-11-26 13:20:21 -0800)
are available in the git repository at:
  git://github.com/mjg/git glossary-cmd
for you to fetch changes up to 1265605787662a72c2457be0623a76d4d2a74bc1:
  l10n: de: git-glossary (2014-12-08 16:26:31 +0100)
----------------------------------------------------------------
Michael J Gruber (5):
      glossary.h: generate a glossary list from the Makefile
      glossary: introduce glossary lookup command
      glossary: man page
      l10n: git-glossary
      l10n: de: git-glossary
Previous: Michael J GruberNext: Christian Couder
Message 9 of 11 in “git-glossary”
  1. 0/5 git-glossaryMichael J Gruber, Dec 8, 2014
  2. 1/5 glossary.h: generate a glossary list from the MakefileMichael J Gruber, Dec 8, 2014
  3. 2/5 glossary: introduce glossary lookup commandMichael J Gruber, Dec 8, 2014
  4. Junio C HamanoDec 10, 2014
  5. Michael J GruberDec 11, 2014
  6. Junio C HamanoDec 11, 2014
  7. 3/5 glossary: man pageMichael J Gruber, Dec 8, 2014
  8. 4/5 l10n: git-glossaryMichael J Gruber, Dec 8, 2014
  9. Michael J GruberDec 8, 2014
  10. Christian CouderDec 8, 2014
  11. Michael J GruberDec 8, 2014

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.