@matheusbsbs / matheus-bagliano / commits / d4278b51e3
Fork 0

git-gui: Fix missing i18n markup in push/fetch windows

The console window titles should also be marked up with i18n strings so these can be properly localized. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Sep 20, 2007 at 13:03 UTC d4278b51e362e7a0f0e7922db47552f8c6726986
1 file changed +4 -4
lib/transport.tcl
+4 -4
@@ -3,7 +3,7 @@
3
4 proc fetch_from {remote} {
5 set w [console::new \
6 - "fetch $remote" \
6 + [mc "fetch %s" $remote] \
7 [mc "Fetching new changes from %s" $remote]]
8 set cmds [list]
9 lappend cmds [list exec git fetch $remote]
@@ -15,14 +15,14 @@ proc fetch_from {remote} {
15
16 proc prune_from {remote} {
17 set w [console::new \
18 - "remote prune $remote" \
18 + [mc "remote prune %s" $remote] \
19 [mc "Pruning tracking branches deleted from %s" $remote]]
20 console::exec $w [list git remote prune $remote]
21 }
22
23 proc push_to {remote} {
24 set w [console::new \
25 - "push $remote" \
25 + [mc "push %s" $remote] \
26 [mc "Pushing changes to %s" $remote]]
27 set cmd [list git push]
28 lappend cmd -v
@@ -64,7 +64,7 @@ proc start_push_anywhere_action {w} {
64 }
65
66 set cons [console::new \
67 - "push $r_url" \
67 + [mc "push %s" $r_url] \
68 [mc "Pushing %s %s to %s" $cnt $unit $r_url]]
69 console::exec $cons $cmd
70 destroy $w