diff --git a/includes/hostapd.php b/includes/hostapd.php index 90ac4fcc..cda765cb 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -509,9 +509,9 @@ function updateHostapdConfig($ignore_broadcast_ssid,$wifiAPEnable,$bridgedEnable */ function iwRegSet(string $country_code, $status) { - $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; + $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; } diff --git a/locale/en_US/LC_MESSAGES/messages.mo b/locale/en_US/LC_MESSAGES/messages.mo index 8dae2582..9bf6a3bd 100644 Binary files a/locale/en_US/LC_MESSAGES/messages.mo and b/locale/en_US/LC_MESSAGES/messages.mo differ diff --git a/locale/en_US/LC_MESSAGES/messages.po b/locale/en_US/LC_MESSAGES/messages.po index 91d84bb9..609b404d 100644 --- a/locale/en_US/LC_MESSAGES/messages.po +++ b/locale/en_US/LC_MESSAGES/messages.po @@ -67,9 +67,6 @@ 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"