git-gui i18n: mark string in lib/error.tcl for translation
authorVasco Almeida <vascomalmeida@sapo.pt>
Sun, 8 May 2016 10:52:58 +0000 (10:52 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 3 Oct 2016 22:40:23 +0000 (23:40 +0100)
Mark string "$hook hook failed:" in lib/error.tcl for translation.

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/error.tcl
index 71dc8601d1bb95c497cda75b233d67e7b6d8356c..8968a57f33e37584e3589f03918db2cb89db24e9 100644 (file)
@@ -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