mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update iwRegSet status message, en_US locale + compile .mo
This commit is contained in:
parent
1ee31d9221
commit
9343b11cc9
3 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)
|
||||
{
|
||||
$status->addMessage('Setting wireless regulatory domain to '. $country_code, 'success');
|
||||
$country_code = escapeshellarg($country_code);
|
||||
$result = shell_exec("sudo iw reg set $country_code");
|
||||
return $result;
|
||||
$country_code = escapeshellarg($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;
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
|
@ -67,6 +67,9 @@ msgstr "System"
|
|||
msgid "About RaspAP"
|
||||
msgstr "About RaspAP"
|
||||
|
||||
msgid "Setting wireless regulatory domain to %s"
|
||||
msgstr "Setting wireless regulatory domain to %s"
|
||||
|
||||
#: includes/admin.php
|
||||
msgid "Authentication settings"
|
||||
msgstr "Authentication settings"
|
||||
|
|
Loading…
Reference in a new issue