author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 12 Sep 2007 20:47:06 +0000 (16:47 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 12 Sep 2007 20:47:06 +0000 (16:47 -0400) | ||
commit | 146d73a365c3a1c2e61e646a929a5168ffb2810c | |
tree | 309296b742f8e8a95ac4d8b1e6da4bc396f62c24 | tree | snapshot |
parent | c8dd7f62e8b335681099cdcec2b01aeaad646813 | commit | diff |
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>
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 | diff | blob | history |