From 265ff03459c393054cc97503f4d5404a30e3b1e9 Mon Sep 17 00:00:00 2001 From: Lothar Serra Mari Date: Mon, 5 Sep 2016 10:17:03 +0200 Subject: GUI: Enable translation for download speed string in cloud feature --- gui/downloaddialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/downloaddialog.cpp b/gui/downloaddialog.cpp index 8d5035fcb7..f33f03ac25 100644 --- a/gui/downloaddialog.cpp +++ b/gui/downloaddialog.cpp @@ -255,7 +255,7 @@ Common::String DownloadDialog::getSpeedLabelText() { Common::String speed, speedUnits; speed = getHumanReadableBytes(CloudMan.getDownloadSpeed(), speedUnits); speedUnits += "/s"; - return Common::String::format("Download speed: %s %s", speed.c_str(), _(speedUnits.c_str())); + return Common::String::format(_("Download speed: %s %s"), speed.c_str(), _(speedUnits.c_str())); } void DownloadDialog::refreshWidgets() { -- cgit v1.2.3