Skip to content

Commit f22fd4c

Browse files
authored
feat(client): add units of measure to throttle speeds (#899)
1 parent 3ba8911 commit f22fd4c

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

client/src/javascript/components/modals/settings-modal/BandwidthTab.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,20 @@ const BandwidthTab: FC<BandwidthTabProps> = ({onSettingsChange, onClientSettings
9090
<FormRow>
9191
<Textbox
9292
defaultValue={getChangedClientSetting(changedClientSettings, 'throttleGlobalDownSpeed')}
93-
label={<Trans id="settings.bandwidth.transferrate.global.throttle.download" />}
93+
label={
94+
<div>
95+
<Trans id="settings.bandwidth.transferrate.global.throttle.download" /> <em className="unit">(B/s)</em>
96+
</div>
97+
}
9498
id="throttleGlobalDownSpeed"
9599
/>
96100
<Textbox
97101
defaultValue={getChangedClientSetting(changedClientSettings, 'throttleGlobalUpSpeed')}
98-
label={<Trans id="settings.bandwidth.transferrate.global.throttle.upload" />}
102+
label={
103+
<div>
104+
<Trans id="settings.bandwidth.transferrate.global.throttle.upload" /> <em className="unit">(B/s)</em>
105+
</div>
106+
}
99107
id="throttleGlobalUpSpeed"
100108
/>
101109
</FormRow>

0 commit comments

Comments
 (0)