summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-20 13:03:43 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-20 13:03:43 -0400
commitd4278b51e362e7a0f0e7922db47552f8c6726986 (patch)
tree7ab7b1602aca7c5d730f0cf1c4bf59544b6b593f /lib
parentMerge branch 'maint' (diff)
downloadtgif-d4278b51e362e7a0f0e7922db47552f8c6726986.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/transport.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/transport.tcl b/lib/transport.tcl
index 1c7baef173..3b05b8fc2c 100644
--- a/lib/transport.tcl
+++ b/lib/transport.tcl
@@ -3,7 +3,7 @@
proc fetch_from {remote} {
set w [console::new \
- "fetch $remote" \
+ [mc "fetch %s" $remote] \
[mc "Fetching new changes from %s" $remote]]
set cmds [list]
lappend cmds [list exec git fetch $remote]
@@ -15,14 +15,14 @@ proc fetch_from {remote} {
proc prune_from {remote} {
set w [console::new \
- "remote prune $remote" \
+ [mc "remote prune %s" $remote] \
[mc "Pruning tracking branches deleted from %s" $remote]]
console::exec $w [list git remote prune $remote]
}
proc push_to {remote} {
set w [console::new \
- "push $remote" \
+ [mc "push %s" $remote] \
[mc "Pushing changes to %s" $remote]]
set cmd [list git push]
lappend cmd -v
@@ -64,7 +64,7 @@ proc start_push_anywhere_action {w} {
}
set cons [console::new \
- "push $r_url" \
+ [mc "push %s" $r_url] \
[mc "Pushing %s %s to %s" $cnt $unit $r_url]]
console::exec $cons $cmd
destroy $w