From: Johannes Schindelin Date: Sun, 22 Jul 2007 16:20:02 GMT Subject: [PATCH] git-gui-i18n: Fix translation of the context menu Message-ID: There is some funny code generation going on to make the context menu, and the messages for this have to be doubly quoted. Noticed by Harri Ilari Tapio Liusvaara Signed-off-by: Johannes Schindelin --- git-gui.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-gui.sh b/git-gui.sh index 075a2b9..52170ee 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -2457,9 +2457,9 @@ bind_button3 $ui_diff " set cursorX %x set cursorY %y if {\$ui_index eq \$current_diff_side} { - $ctxm entryconf $ui_diff_applyhunk -label [mc {Unstage Hunk From Commit}] + $ctxm entryconf $ui_diff_applyhunk -label \"[mc "Unstage Hunk From Commit"]\" } else { - $ctxm entryconf $ui_diff_applyhunk -label [mc {Stage Hunk For Commit}] + $ctxm entryconf $ui_diff_applyhunk -label \"[mc "Stage Hunk For Commit"]\" } tk_popup $ctxm %X %Y " -- 1.5.3.rc2.29.gc4640f