mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Update iwRegSet status message + en_US locale
This commit is contained in:
parent
6383f9b88b
commit
f131c8463d
2 changed files with 7 additions and 4 deletions
|
@ -509,9 +509,9 @@ function updateHostapdConfig($ignore_broadcast_ssid,$wifiAPEnable,$bridgedEnable
|
||||||
*/
|
*/
|
||||||
function iwRegSet(string $country_code, $status)
|
function iwRegSet(string $country_code, $status)
|
||||||
{
|
{
|
||||||
$status->addMessage('Setting wireless regulatory domain to '. $country_code, 'success');
|
$country_code = escapeshellarg($country_code);
|
||||||
$country_code = escapeshellarg($country_code);
|
$result = shell_exec("sudo iw reg set $country_code");
|
||||||
$result = shell_exec("sudo iw reg set $country_code");
|
$status->addMessage(sprintf(_('Setting wireless regulatory domain to %s'), $country_code, 'success'));
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -709,6 +709,9 @@ msgstr "Routing table"
|
||||||
msgid "raw output"
|
msgid "raw output"
|
||||||
msgstr "raw output"
|
msgstr "raw output"
|
||||||
|
|
||||||
|
msgid "Setting wireless regulatory domain to %s"
|
||||||
|
msgstr "Setting wireless regulatory domain to %s"
|
||||||
|
|
||||||
#: includes/system.php
|
#: includes/system.php
|
||||||
msgid "System Information"
|
msgid "System Information"
|
||||||
msgstr "System Information"
|
msgstr "System Information"
|
||||||
|
|
Loading…
Reference in a new issue