]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/progress.cc
Merge branch 'debian/sid' into debian/experimental
[apt.git] / apt-pkg / contrib / progress.cc
index 317048845c1a89fb9a1ee0d8941ad413d0b05518..916e1d730a7abf76153813c6304c5fdcb987b7c7 100644 (file)
@@ -176,7 +176,7 @@ void OpTextProgress::Update()
         if (OldOp.empty() == false)
            cout << endl;
         OldOp = "a";
         if (OldOp.empty() == false)
            cout << endl;
         OldOp = "a";
-        cout << Op << "..." << flush;
+        cout << Op << _("...") << flush;
       }
       
       return;
       }
       
       return;
@@ -192,7 +192,7 @@ void OpTextProgress::Update()
    }
    
    // Print the spinner
    }
    
    // Print the spinner
-   snprintf(S,sizeof(S),"\r%s... %u%%",Op.c_str(),(unsigned int)Percent);
+   snprintf(S,sizeof(S),_("%c%s... %u%%"),'\r',Op.c_str(),(unsigned int)Percent);
    Write(S);
 
    OldOp = Op;
    Write(S);
 
    OldOp = Op;