mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Update iwRegSet status message + en_US locale
This commit is contained in:
		@@ -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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -709,6 +709,9 @@ msgstr "Routing table"
 | 
			
		||||
msgid "raw output"
 | 
			
		||||
msgstr "raw output"
 | 
			
		||||
 | 
			
		||||
msgid "Setting wireless regulatory domain to %s"
 | 
			
		||||
msgstr "Setting wireless regulatory domain to %s"
 | 
			
		||||
 | 
			
		||||
#: includes/system.php
 | 
			
		||||
msgid "System Information"
 | 
			
		||||
msgstr "System Information"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user