git-gui: Support context-sensitive i18n
authorShawn O. Pearce <spearce@spearce.org>
Wed, 12 Sep 2007 20:47:06 +0000 (16:47 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 12 Sep 2007 20:47:06 +0000 (16:47 -0400)
commit146d73a365c3a1c2e61e646a929a5168ffb2810c
tree309296b742f8e8a95ac4d8b1e6da4bc396f62c24
parentc8dd7f62e8b335681099cdcec2b01aeaad646813
git-gui: Support context-sensitive i18n

Ocassionally, one would want to translate the same string used in
different contexts in diffrent ways. This patch provides a wrapper
for msgcat::mc that trims "@@" and anything coming after it, whether
or not the string actually got translated.

Proposed-by: Harri Ilari Tapio Liusvaara <hliusvaa@cc.hut.fi>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh