Code

git-gui: Refactor current branch menu items to make i18n easier
authorShawn O. Pearce <spearce@spearce.org>
Mon, 23 Jul 2007 05:11:08 +0000 (01:11 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 23 Jul 2007 05:11:08 +0000 (01:11 -0400)
commita8139888f8d250c6d173ddbe892e98fc49763702
tree017a047beb7c70be8712b8cfe456e00f7cee0e2b
parent83751fc109e951a5cbde9ee39970f6b1d2da07c7
git-gui: Refactor current branch menu items to make i18n easier

The i18n team has also identified a rather ugly block of code in
git-gui that is used to make a pair of Repository menu items show
the current branch name.  This code is difficult to convert to use
[mc ...] to lookup the translation, so I'm refactoring it into a
procedure.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh