summaryrefslogtreecommitdiff
path: root/lib/status_bar.tcl
diff options
context:
space:
mode:
authorLibravatar Christian Stimming <chs@ckiste.goetheallee>2007-07-21 14:21:34 +0200
committerLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2007-09-02 16:54:48 +0100
commit1ac17950e93a956d01b042db3de70010195eddcc (patch)
tree71f6b9f721c2ea5e218349241f12f7def2853d9f /lib/status_bar.tcl
parentgit-gui: Initialize Tcl's msgcat library for internationalization (diff)
downloadtgif-1ac17950e93a956d01b042db3de70010195eddcc.tar.xz
Mark strings for translation.
The procedure [mc ...] will translate the strings through msgcat. Strings must be enclosed in quotes, not in braces, because otherwise xgettext cannot extract them properly, although on the Tcl side both delimiters would work fine. [jes: I merged the later patches to that end.] Signed-off-by: Christian Stimming <stimming@tuhh.de> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/status_bar.tcl')
-rw-r--r--lib/status_bar.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/status_bar.tcl b/lib/status_bar.tcl
index 72a8fe1fd3..769ef81c4b 100644
--- a/lib/status_bar.tcl
+++ b/lib/status_bar.tcl
@@ -55,7 +55,7 @@ method update {have total} {
set pdone [expr {100 * $have / $total}]
}
- set status [format "%s ... %i of %i %s (%2i%%)" \
+ set status [mc "%s ... %i of %i %s (%2i%%)" \
$prefix $have $total $units $pdone]
$w_c coords bar 0 0 $pdone 20
}