mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 16:02:59 +02:00
Change case of the unit "bit" from "Bit" to "bit" in web UI
The correct case for "kilobit" is "kilobit", not "kiloBit". And the same applies for Mbit, Gbit etc. Reference is https://en.wikipedia.org/wiki/Kilobit This commit changes the texts used in the web UI, so that it correctly displays as "bit", "kbit", "Mbit" etc. This fixes bugzilla item 10918. Signed-off-by: Alf Høgemark <alf@i100.no> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
5261a13d3c
commit
f00699e8bb
@@ -1532,7 +1532,7 @@ END
|
||||
;
|
||||
|
||||
foreach (@throttle_limits) {
|
||||
print "\t<option value='$_' $selected{'THROTTLING_GREEN_TOTAL'}{$_}>$_ kBit/s</option>\n";
|
||||
print "\t<option value='$_' $selected{'THROTTLING_GREEN_TOTAL'}{$_}>$_ kbit/s</option>\n";
|
||||
}
|
||||
|
||||
print <<END
|
||||
@@ -1546,7 +1546,7 @@ END
|
||||
;
|
||||
|
||||
foreach (@throttle_limits) {
|
||||
print "\t<option value='$_' $selected{'THROTTLING_GREEN_HOST'}{$_}>$_ kBit/s</option>\n";
|
||||
print "\t<option value='$_' $selected{'THROTTLING_GREEN_HOST'}{$_}>$_ kbit/s</option>\n";
|
||||
}
|
||||
|
||||
print <<END
|
||||
@@ -1567,7 +1567,7 @@ END
|
||||
;
|
||||
|
||||
foreach (@throttle_limits) {
|
||||
print "\t<option value='$_' $selected{'THROTTLING_BLUE_TOTAL'}{$_}>$_ kBit/s</option>\n";
|
||||
print "\t<option value='$_' $selected{'THROTTLING_BLUE_TOTAL'}{$_}>$_ kbit/s</option>\n";
|
||||
}
|
||||
|
||||
print <<END
|
||||
@@ -1581,7 +1581,7 @@ END
|
||||
;
|
||||
|
||||
foreach (@throttle_limits) {
|
||||
print "\t<option value='$_' $selected{'THROTTLING_BLUE_HOST'}{$_}>$_ kBit/s</option>\n";
|
||||
print "\t<option value='$_' $selected{'THROTTLING_BLUE_HOST'}{$_}>$_ kbit/s</option>\n";
|
||||
}
|
||||
|
||||
print <<END
|
||||
|
||||
Reference in New Issue
Block a user