Localise ?B and correct a typo in the function call
This commit is contained in:
parent
21faa34589
commit
67b706b550
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ midori_transferbar_download_notify_progress_cb (WebKitDownload* download,
|
||||||
if (time != *last_time)
|
if (time != *last_time)
|
||||||
transfer = g_format_size_for_display ((size - *last_size) / (time - *last_time));
|
transfer = g_format_size_for_display ((size - *last_size) / (time - *last_time));
|
||||||
else
|
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 */
|
/* i18n: Download tooltip, 4KB of 43MB, 130KB/s */
|
||||||
size_text = g_strdup_printf (_("%s of %s, %s/s"), current, total, transfer);
|
size_text = g_strdup_printf (_("%s of %s, %s/s"), current, total, transfer);
|
||||||
if (time - *last_time > 5.0)
|
if (time - *last_time > 5.0)
|
||||||
|
|
Loading…
Reference in a new issue