aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomasz1986 <twilczynski@naver.com>2023-08-31 07:22:24 +0200
committerGitHub <noreply@github.com>2023-08-31 07:22:24 +0200
commit3e5f0b1d0eb0cd28c0932910f373ce22cdd5d22f (patch)
tree1fb3399d3659cce724c41d54d4f1919406992a79
parent3130af377340bdbb2ebdf7017e49868ab60b8742 (diff)
downloadsyncthing-3e5f0b1d0eb0cd28c0932910f373ce22cdd5d22f.tar.gz
syncthing-3e5f0b1d0eb0cd28c0932910f373ce22cdd5d22f.zip
gui: Show in GUI if limitBandwidthInLan is enabled (#9062)
-rw-r--r--gui/default/assets/lang/lang-en.json1
-rw-r--r--gui/default/index.html6
2 files changed, 7 insertions, 0 deletions
diff --git a/gui/default/assets/lang/lang-en.json b/gui/default/assets/lang/lang-en.json
index 6c205ec0d..1c0b99fd4 100644
--- a/gui/default/assets/lang/lang-en.json
+++ b/gui/default/assets/lang/lang-en.json
@@ -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.",
"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?",
+ "Applied to LAN": "Applied to LAN",
"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 permanently delete all these files?": "Are you sure you want to permanently delete all these files?",
diff --git a/gui/default/index.html b/gui/default/index.html
index 752950785..c3bf309e6 100644
--- a/gui/default/index.html
+++ b/gui/default/index.html
@@ -661,6 +661,9 @@
<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*8 | metric}}bps</span>
+ <span ng-if="config.options.limitBandwidthInLan">
+ (<span translate>Applied to LAN</span>)
+ </span>
</i>
</small>
</a>
@@ -677,6 +680,9 @@
<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*8 | metric}}bps</span>
+ <span ng-if="config.options.limitBandwidthInLan">
+ (<span translate>Applied to LAN</span>)
+ </span>
</i>
</small>
</a>