Localise ?B and correct a typo in the function call

This commit is contained in:
Christian Dywan 2011-03-07 00:10:05 +01:00
parent 21faa34589
commit 67b706b550

View 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)