commit | a8139888f8d250c6d173ddbe892e98fc49763702 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Mon Jul 23 01:11:08 2007 -0400 |
committer | Shawn O. Pearce <spearce@spearce.org> | Mon Jul 23 01:11:08 2007 -0400 |
tree | 017a047beb7c70be8712b8cfe456e00f7cee0e2b | |
parent | 83751fc109e951a5cbde9ee39970f6b1d2da07c7 [diff] |
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>