Code

git-gui: Correct window title for hook failure dialogs
authorShawn O. Pearce <spearce@spearce.org>
Sun, 20 Jan 2008 19:43:38 +0000 (14:43 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 21 Jan 2008 03:45:37 +0000 (22:45 -0500)
During i18n translation work this message was partially broken
by using "append" instead of "strcat" to join the two different
parts of the message together.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/error.tcl

index 13565b7ab02b22123f0b7b9000dc1f4a993994b0..712d21755317d879ea89996edc12e58c3df411d3 100644 (file)
@@ -99,6 +99,6 @@ proc hook_failed_popup {hook msg} {
 
        bind $w <Visibility> "grab $w; focus $w"
        bind $w <Key-Return> "destroy $w"
-       wm title $w [append "[appname] ([reponame]): " [mc "error"]]
+       wm title $w [strcat "[appname] ([reponame]): " [mc "error"]]
        tkwait window $w
 }