mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-20 19:49:49 +00:00
Add qBittorrent Widget
- extract cookie jar functionality into its own file - use i18n for more strings in existing widgets completes: #152 associated: #123
This commit is contained in:
parent
bedeab686e
commit
6da1e98c83
14 changed files with 189 additions and 39 deletions
|
@ -61,9 +61,9 @@ export default function Transmission({ service }) {
|
|||
|
||||
return (
|
||||
<Widget>
|
||||
<Block label={t("transmission.leech")} value={leech} />
|
||||
<Block label={t("transmission.leech")} value={t("common.number", { value: leech })} />
|
||||
<Block label={t("transmission.download")} value={`${rateDl.toFixed(2)} ${unitsDl}`} />
|
||||
<Block label={t("transmission.seed")} value={completed} />
|
||||
<Block label={t("transmission.seed")} value={t("common.number", { value: completed })} />
|
||||
<Block label={t("transmission.upload")} value={`${rateUl.toFixed(2)} ${unitsUl}`} />
|
||||
</Widget>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue