]> spindle.queued.net Git - midori/commitdiff
Localise ?B and correct a typo in the function call
authorChristian Dywan <christian@twotoasts.de>
Sun, 6 Mar 2011 23:10:05 +0000 (00:10 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 6 Mar 2011 23:10:49 +0000 (00:10 +0100)
toolbars/midori-transferbar.c

index 16a5fc627ca5b01e2a6db1d9e9ce536df52290b5..7a67e252b20d3b973409da1eca3e5bd7f5b49407 100644 (file)
@@ -97,7 +97,8 @@ midori_transferbar_download_notify_progress_cb (WebKitDownload* download,
     if (time != *last_time)
         transfer = g_format_size_for_display ((size - *last_size) / (time - *last_time));
     else
-        transfer = g_strup ("?B");
+        /* i18n: Unknown number of bytes, used for transfer rate like ?B/s */
+        transfer = g_strdup (_("?B"));
     /* i18n: Download tooltip, 4KB of 43MB, 130KB/s */
     size_text = g_strdup_printf (_("%s of %s, %s/s"), current, total, transfer);
     if (time - *last_time > 5.0)