fix: invalid fmt type when downloading metadata
This commit is contained in:
parent
ffe307ac1b
commit
3f07838be8
|
@ -223,8 +223,8 @@ auto getActivityString(
|
||||||
return fmt::format(
|
return fmt::format(
|
||||||
ngettext(
|
ngettext(
|
||||||
// xgettext:no-c-format
|
// xgettext:no-c-format
|
||||||
"Downloading metadata from {active_count} connected peer ({percent_done:d}% done)",
|
"Downloading metadata from {active_count} connected peer ({percent_done}% done)",
|
||||||
"Downloading metadata from {active_count} connected peers ({percent_done:d}% done)",
|
"Downloading metadata from {active_count} connected peers ({percent_done}% done)",
|
||||||
st->peersConnected),
|
st->peersConnected),
|
||||||
fmt::arg("active_count", st->peersConnected),
|
fmt::arg("active_count", st->peersConnected),
|
||||||
fmt::arg("percent_done", tr_strpercent(st->metadataPercentComplete * 100.0)));
|
fmt::arg("percent_done", tr_strpercent(st->metadataPercentComplete * 100.0)));
|
||||||
|
|
Loading…
Reference in New Issue