$OpenBSD: patch-gtk_util_c,v 1.6 2009/05/10 19:31:44 naddy Exp $
--- gtk/util.c.orig	Tue May  5 02:40:11 2009
+++ gtk/util.c	Thu May  7 19:40:40 2009
@@ -76,7 +76,7 @@ tr_strlsize( char *  buf,
 #else
     else if( size < (guint64)KILOBYTE_FACTOR )
         g_snprintf( buf, buflen,
-                    ngettext( "%'u byte", "%'u bytes",
+                    ngettext( "%u byte", "%u bytes",
                               (guint)size ), (guint)size );
     else
     {
@@ -84,17 +84,17 @@ tr_strlsize( char *  buf,
         if( size < (guint64)MEGABYTE_FACTOR )
         {
             displayed_size = (gdouble) size / KILOBYTE_FACTOR;
-            g_snprintf( buf, buflen, _( "%'.1f KB" ), displayed_size );
+            g_snprintf( buf, buflen, _( "%.1f KB" ), displayed_size );
         }
         else if( size < (guint64)GIGABYTE_FACTOR )
         {
             displayed_size = (gdouble) size / MEGABYTE_FACTOR;
-            g_snprintf( buf, buflen, _( "%'.1f MB" ), displayed_size );
+            g_snprintf( buf, buflen, _( "%.1f MB" ), displayed_size );
         }
         else
         {
             displayed_size = (gdouble) size / GIGABYTE_FACTOR;
-            g_snprintf( buf, buflen, _( "%'.1f GB" ), displayed_size );
+            g_snprintf( buf, buflen, _( "%.1f GB" ), displayed_size );
         }
     }
 #endif
@@ -109,13 +109,13 @@ tr_strlspeed( char * buf,
     const double speed = kb_sec;
 
     if( speed < 1000.0 )  /* 0.0 KB to 999.9 KB */
-        g_snprintf( buf, buflen, _( "%'.1f KB/s" ), speed );
+        g_snprintf( buf, buflen, _( "%.1f KB/s" ), speed );
     else if( speed < 102400.0 ) /* 0.98 MB to 99.99 MB */
-        g_snprintf( buf, buflen, _( "%'.2f MB/s" ), ( speed / KILOBYTE_FACTOR ) );
+        g_snprintf( buf, buflen, _( "%.2f MB/s" ), ( speed / KILOBYTE_FACTOR ) );
     else if( speed < 1024000.0 ) /* 100.0 MB to 999.9 MB */
-        g_snprintf( buf, buflen, _( "%'.1f MB/s" ), ( speed / MEGABYTE_FACTOR ) );
+        g_snprintf( buf, buflen, _( "%.1f MB/s" ), ( speed / MEGABYTE_FACTOR ) );
     else /* insane speeds */
-        g_snprintf( buf, buflen, _( "%'.2f GB/s" ), ( speed / GIGABYTE_FACTOR ) );
+        g_snprintf( buf, buflen, _( "%.2f GB/s" ), ( speed / GIGABYTE_FACTOR ) );
 
     return buf;
 }
@@ -136,14 +136,14 @@ tr_strltime( char * buf,
     minutes = ( seconds % 3600 ) / 60;
     seconds = ( seconds % 3600 ) % 60;
 
-    g_snprintf( d, sizeof( d ), ngettext( "%'d day", "%'d days",
+    g_snprintf( d, sizeof( d ), ngettext( "%d day", "%d days",
                                           days ), days );
-    g_snprintf( h, sizeof( h ), ngettext( "%'d hour", "%'d hours",
+    g_snprintf( h, sizeof( h ), ngettext( "%d hour", "%d hours",
                                           hours ), hours );
     g_snprintf( m, sizeof( m ),
-                ngettext( "%'d minute", "%'d minutes", minutes ), minutes );
+                ngettext( "%d minute", "%d minutes", minutes ), minutes );
     g_snprintf( s, sizeof( s ),
-                ngettext( "%'d second", "%'d seconds", seconds ), seconds );
+                ngettext( "%d second", "%d seconds", seconds ), seconds );
 
     if( days )
     {
