mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update w/ gettext
This commit is contained in:
parent
18c0623649
commit
fcdd966619
@ -225,10 +225,11 @@ function getSignalBars($rssi)
|
||||
} else {
|
||||
$pct = 2*($rssi + 100);
|
||||
}
|
||||
$elem = '<div data-toggle="tooltip" title="Signal strength: ' .$pct. '%" class="signal-icon ' .$class. '">'.PHP_EOL;
|
||||
$elem = '<div data-toggle="tooltip" title="' . _("Signal strength"). ': ' .$pct. '%" class="signal-icon ' .$class. '">'.PHP_EOL;
|
||||
for ($n = 0; $n < 3; $n++ ) {
|
||||
$elem .= '<div class="signal-bar"></div>'.PHP_EOL;
|
||||
}
|
||||
$elem .= '</div>'.PHP_EOL;
|
||||
return $elem;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user