gui: Show in GUI if limitBandwidthInLan is enabled (#9062)

This commit is contained in:
tomasz1986 2023-08-31 07:22:24 +02:00 committed by GitHub
parent 3130af3773
commit 3e5f0b1d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,7 @@
"An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.": "An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.", "An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.": "An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.",
"Anonymous Usage Reporting": "Anonymous Usage Reporting", "Anonymous Usage Reporting": "Anonymous Usage Reporting",
"Anonymous usage report format has changed. Would you like to move to the new format?": "Anonymous usage report format has changed. Would you like to move to the new format?", "Anonymous usage report format has changed. Would you like to move to the new format?": "Anonymous usage report format has changed. Would you like to move to the new format?",
"Applied to LAN": "Applied to LAN",
"Apply": "Apply", "Apply": "Apply",
"Are you sure you want to override all remote changes?": "Are you sure you want to override all remote changes?", "Are you sure you want to override all remote changes?": "Are you sure you want to override all remote changes?",
"Are you sure you want to permanently delete all these files?": "Are you sure you want to permanently delete all these files?", "Are you sure you want to permanently delete all these files?": "Are you sure you want to permanently delete all these files?",

View File

@ -661,6 +661,9 @@
<i class="text-muted"><span translate>Limit</span>: <i class="text-muted"><span translate>Limit</span>:
<span ng-if="!metricRates">{{config.options.maxRecvKbps*1024 | binary}}B/s</span> <span ng-if="!metricRates">{{config.options.maxRecvKbps*1024 | binary}}B/s</span>
<span ng-if="metricRates">{{config.options.maxRecvKbps*1024*8 | metric}}bps</span> <span ng-if="metricRates">{{config.options.maxRecvKbps*1024*8 | metric}}bps</span>
<span ng-if="config.options.limitBandwidthInLan">
(<span translate>Applied to LAN</span>)
</span>
</i> </i>
</small> </small>
</a> </a>
@ -677,6 +680,9 @@
<i class="text-muted"><span translate>Limit</span>: <i class="text-muted"><span translate>Limit</span>:
<span ng-if="!metricRates">{{config.options.maxSendKbps*1024 | binary}}B/s</span> <span ng-if="!metricRates">{{config.options.maxSendKbps*1024 | binary}}B/s</span>
<span ng-if="metricRates">{{config.options.maxSendKbps*1024*8 | metric}}bps</span> <span ng-if="metricRates">{{config.options.maxSendKbps*1024*8 | metric}}bps</span>
<span ng-if="config.options.limitBandwidthInLan">
(<span translate>Applied to LAN</span>)
</span>
</i> </i>
</small> </small>
</a> </a>