mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
i18n: translate "Ratio:" string in compact view (#1354)
Use already available translation from gettext. Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
073ae6c206
commit
05a2e15b00
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,8 @@ static void getShortStatusString(GString* gstr, tr_torrent const* tor, tr_stat c
|
||||||
tr_strlratio(ratioStr, st->ratio, sizeof(ratioStr));
|
tr_strlratio(ratioStr, st->ratio, sizeof(ratioStr));
|
||||||
getShortTransferString(tor, st, uploadSpeed_KBps, downloadSpeed_KBps, speedStr, sizeof(speedStr));
|
getShortTransferString(tor, st, uploadSpeed_KBps, downloadSpeed_KBps, speedStr, sizeof(speedStr));
|
||||||
/* download/upload speed, ratio */
|
/* download/upload speed, ratio */
|
||||||
g_string_append_printf(gstr, "%1$s Ratio: %2$s", speedStr, ratioStr);
|
g_string_append_printf(gstr, "%s ", speedStr);
|
||||||
|
g_string_append_printf(gstr, _("Ratio: %s"), ratioStr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue