From 67b706b550d7e8f8bbe8f3f4c8d66d8eec3f6a37 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 7 Mar 2011 00:10:05 +0100 Subject: [PATCH] Localise ?B and correct a typo in the function call --- toolbars/midori-transferbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolbars/midori-transferbar.c b/toolbars/midori-transferbar.c index 16a5fc62..7a67e252 100644 --- a/toolbars/midori-transferbar.c +++ b/toolbars/midori-transferbar.c @@ -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) -- 2.39.5