Re: [PATCH] Add glossary that can be converted into a po file for each language.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 24, 2007, 06:56 UTC
- Message-ID
- <7vk5sqi91m.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200707232216.40300.stimming@tuhh.de>
Christian Stimming <stimming@tuhh.de> writes:
Show 14 quoted lines
> diff --git a/po/glossary/git-gui-glossary.txt b/po/glossary/git-gui-glossary.txt > new file mode 100644 > index 0000000..e079bb2 > --- /dev/null > +++ b/po/glossary/git-gui-glossary.txt > @@ -0,0 +1,34 @@ > +"English Term (Dear translator: This file will never be visible to the user!)" "English Definition (Dear translator: This file will never be visible to the user! It should only serve as a tool for you, the translator. Nothing more.)" > +"amend" "" > +"annotate" "" > +"branch [noun]" "A 'branch' is an active line of development." > +"branch [verb]" "" > +"checkout [noun]" "" > +"checkout [verb]" "The action of updating the working tree to a revision which was stored in the object database." > +"commit [noun]" "A single point in the git history."
I wonder.... couldn't this be written as a Tcl array that maps word to its definition, marked with [mc] 'gettext'ese, perhaps, glossary.tcl? Then perhaps git-gui can include it and have a user-visible glossary as part of its help system.
Am I dreaming, or too drunk?