mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Revert "Update iwRegSet status message, en_US locale + compile .mo"
This reverts commit 9343b11cc932636211c3976fd7da93424485ff94.
This commit is contained in:
parent
9343b11cc9
commit
6383f9b88b
@ -509,9 +509,9 @@ function updateHostapdConfig($ignore_broadcast_ssid,$wifiAPEnable,$bridgedEnable
|
|||||||
*/
|
*/
|
||||||
function iwRegSet(string $country_code, $status)
|
function iwRegSet(string $country_code, $status)
|
||||||
{
|
{
|
||||||
$country_code = escapeshellarg($country_code);
|
$status->addMessage('Setting wireless regulatory domain to '. $country_code, 'success');
|
||||||
$result = shell_exec("sudo iw reg set $country_code");
|
$country_code = escapeshellarg($country_code);
|
||||||
$status->addMessage(sprintf(_('Setting wireless regulatory domain to %s'), $country_code, 'success'));
|
$result = shell_exec("sudo iw reg set $country_code");
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
@ -67,9 +67,6 @@ msgstr "System"
|
|||||||
msgid "About RaspAP"
|
msgid "About RaspAP"
|
||||||
msgstr "About RaspAP"
|
msgstr "About RaspAP"
|
||||||
|
|
||||||
msgid "Setting wireless regulatory domain to %s"
|
|
||||||
msgstr "Setting wireless regulatory domain to %s"
|
|
||||||
|
|
||||||
#: includes/admin.php
|
#: includes/admin.php
|
||||||
msgid "Authentication settings"
|
msgid "Authentication settings"
|
||||||
msgstr "Authentication settings"
|
msgstr "Authentication settings"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user