Steffen Prohaska <prohaska@zib.de> wrote:Hmm. Really quick testing here shows that we just need to make sure env(LANG) is set before we do the msgcat::mcload call in git-gui.sh line 104. If we're going to use a `git config gui.lang` thing then we can probably just make a msgcat::mclocale call on line 103 just before we load our message file. Unfortunately this is before we have located git so technically git-gui doesn't know how to run git-config and thus cannot get to gui.lang. :-| Hmm. Looking at this further we may be able to insert the mclocale call at two locations; one at line 864 before we open the repository wizard, and again at line 1802, just before we start to initialize our UI. This does mean that for really serious errors (e.g. "No git in PATH") we'll be using your native OS language. -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.27-rc5 |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
git: | |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
