]> asedeno.scripts.mit.edu Git - git.git/blobdiff - lib/database.tcl
git-gui: use +/- instead of ]/[ to show more/less context in diff
[git.git] / lib / database.tcl
index 118b1b29ab76671812a1e367218c2ba6247df74c..d66aa3fe3367e0a8db0ee5c90925352a3a143198 100644 (file)
@@ -105,11 +105,11 @@ proc hint_gc {} {
                set objects_current [expr {$objects_current * 256}]
                set object_limit    [expr {$object_limit    * 256}]
                if {[ask_popup \
-                       "This repository currently has approximately $objects_current loose objects.
+                       [mc "This repository currently has approximately %i loose objects.
 
-To maintain optimal performance it is strongly recommended that you compress the database when more than $object_limit loose objects exist.
+To maintain optimal performance it is strongly recommended that you compress the database when more than %i loose objects exist.
 
-Compress the database now?"] eq yes} {
+Compress the database now?" $objects_current $object_limit]] eq yes} {
                        do_gc
                }
        }