mirror of
https://github.com/transmission/transmission
synced 2025-02-22 14:10:34 +00:00
fix: missing fmt::arg calls in GTK client (#2819)
This commit is contained in:
parent
b94c6796c8
commit
7905244320
1 changed files with 3 additions and 3 deletions
|
@ -126,13 +126,13 @@ std::string getShortTransferString(
|
||||||
{
|
{
|
||||||
return fmt::format(
|
return fmt::format(
|
||||||
_("{upload_speed} ▲ {download_speed} ▼"),
|
_("{upload_speed} ▲ {download_speed} ▼"),
|
||||||
tr_formatter_speed_KBps(downloadSpeed_KBps),
|
fmt::arg("upload_speed", tr_formatter_speed_KBps(uploadSpeed_KBps)),
|
||||||
tr_formatter_speed_KBps(uploadSpeed_KBps));
|
fmt::arg("download_speed", tr_formatter_speed_KBps(downloadSpeed_KBps)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bool const have_up = have_meta && st->peersGettingFromUs > 0; have_up)
|
if (bool const have_up = have_meta && st->peersGettingFromUs > 0; have_up)
|
||||||
{
|
{
|
||||||
return fmt::format(_("{upload_speed} ▲"), tr_formatter_speed_KBps(downloadSpeed_KBps));
|
return fmt::format(_("{upload_speed} ▲"), fmt::arg("upload_speed", tr_formatter_speed_KBps(downloadSpeed_KBps)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (st->isStalled)
|
if (st->isStalled)
|
||||||
|
|
Loading…
Reference in a new issue