[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#223712: [apt-get] Permit i18n support in SizeToStr()



Hi,

Here is an additionnal patch for thousand (or other unit) separator.

Regards,
Samuel

--- cmdline/acqprogress.cc.orig	2006-02-15 11:07:40.000000000 +0100
+++ cmdline/acqprogress.cc	2006-02-15 11:08:48.000000000 +0100
@@ -198,7 +198,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Ow
             
       // Add the current progress
       if (Mode == Long)
-	 snprintf(S,End-S," %lu",I->CurrentSize);
+	 snprintf(S,End-S," %'lu",I->CurrentSize);
       else
       {
 	 if (Mode == Medium || I->TotalSize == 0)



Reply to: