]> asedeno.scripts.mit.edu Git - git.git/blobdiff - lib/database.tcl
git-gui: update po/it.po
[git.git] / lib / database.tcl
index 118b1b29ab76671812a1e367218c2ba6247df74c..a18ac8b4308d8263a0688058524282b72bafe77a 100644 (file)
@@ -102,14 +102,14 @@ proc hint_gc {} {
                *]]
 
        if {$objects_current >= $object_limit} {
-               set objects_current [expr {$objects_current * 256}]
-               set object_limit    [expr {$object_limit    * 256}]
+               set objects_current [expr {$objects_current * 250}]
+               set object_limit    [expr {$object_limit    * 250}]
                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
                }
        }