Skip to content

Commit

Permalink
GUI: Enable translation for download speed string in cloud feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothar Serra Mari committed Sep 5, 2016
1 parent 460b786 commit 265ff03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/downloaddialog.cpp
Expand Up @@ -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() {
Expand Down

0 comments on commit 265ff03

Please sign in to comment.