From 9360fc22eaa5e8db33f1806a8e23afb83369a2f5 Mon Sep 17 00:00:00 2001 From: Vasco Almeida Date: Sun, 8 May 2016 10:52:58 +0000 Subject: [PATCH] git-gui i18n: mark string in lib/error.tcl for translation Mark string "$hook hook failed:" in lib/error.tcl for translation. Signed-off-by: Vasco Almeida Signed-off-by: Pat Thoyts --- lib/error.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/error.tcl b/lib/error.tcl index 71dc8601d1..8968a57f33 100644 --- a/lib/error.tcl +++ b/lib/error.tcl @@ -77,7 +77,7 @@ proc hook_failed_popup {hook msg {is_fatal 1}} { wm withdraw $w ${NS}::frame $w.m - ${NS}::label $w.m.l1 -text "$hook hook failed:" \ + ${NS}::label $w.m.l1 -text [mc "%s hook failed:" $hook] \ -anchor w \ -justify left \ -font font_uibold -- 2.47.1