]> sjero.net Git - wget/blobdiff - src/progress.c
[svn] Really remove translation of <n>s.
[wget] / src / progress.c
index 4563ea427177622fd6514243ef21e9519c4bef3b..a9f2963517b35f1c8d303f0019768eed38122c74 100644 (file)
@@ -76,7 +76,7 @@ static int current_impl_locked;
 
 #define DEFAULT_PROGRESS_IMPLEMENTATION "bar"
 
-/* Fallnback progress implementation should be something that works
+/* Fallback progress implementation should be something that works
    under all display types.  If you put something other than "dot"
    here, remember that bar_set_params tries to switch to this if we're
    not running on a TTY.  So changing this to "bar" could cause
@@ -108,7 +108,7 @@ set_progress_implementation (const char *name)
 {
   int i, namelen;
   struct progress_implementation *pi = implementations;
-  char *colon;
+  const char *colon;
 
   if (!name)
     name = DEFAULT_PROGRESS_IMPLEMENTATION;
@@ -900,7 +900,7 @@ create_image (struct bar_progress *bp, double dl_total_time, bool done)
        strcpy (p, eta_to_human_short ((int) (secs + 0.5)));
       else
        /* For very quick downloads show more exact timing information. */
-       sprintf (p, _("%.*fs"),
+       sprintf (p, "%.*fs",
                 secs < 0.001 ? 0 : /* 0s instead of 0.000s */
                 secs < 0.01 ? 3 :  /* 0.00x */
                 secs < 0.1 ? 2 :   /* 0.0x */