From 9343b11cc932636211c3976fd7da93424485ff94 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 6 Nov 2023 07:38:16 +0000 Subject: [PATCH] Update iwRegSet status message, en_US locale + compile .mo --- includes/hostapd.php | 8 ++++---- locale/en_US/LC_MESSAGES/messages.mo | Bin 37319 -> 37417 bytes locale/en_US/LC_MESSAGES/messages.po | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index cda765cb..90ac4fcc 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) { - $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; } diff --git a/locale/en_US/LC_MESSAGES/messages.mo b/locale/en_US/LC_MESSAGES/messages.mo index 9bf6a3bd35b34275b8b898340a1a0f5a8d4fb647..8dae25827ab99a2ee8d45738d6def09fe187dec3 100644 GIT binary patch delta 8493 zcmZYFd3;vYoyYN$6_SvUJ%nse@{om)08!bO00EM)gnbRj9(H16QABuH!YX0AgCK

)qFW-6D zfB#;8-=Crbw;HbB`5BXpu@T0M@HeKB3S84Njmg33I0v^NO^jcbF&>P>Mp%Fe*cBV& zaBPbe*bsNw`?c7Q@+ll>jL(E+8xu{%7!1QoOu|JNfZH$*e}NjH4jbTkjK>dA1N;S} z@DBFG0A`(rC8&OsCTMP|OOUxQ_ow_`)RX8jg} zDc?tJg=t|7(KX?y`o~c9olyOjU@;CvpH{M+j8^al_QChCKgQ=VYn+UFU=BWl$59i# zZtvg6P|5-M#yo`)7>27*?Y5x$e+d=g6IhP_lTZAE$h2=sD6lJP#XV7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+bCDkLpnbeAWCmc*lAZ_%v`g0riB{zz6 zinBUKkk2DMMZU;;=#PszMCl+Ymzr$6j4yeaf#l35DCwvmy-DguSsUxWaEUud(Oe?+ z_Z9^F;pNm8s)}Q@wb9G6NQ9qRQXHs{{ zJVgKR7~_peZ0Y;0SDu(0Gm>kxxwoK>+oY}D$BF*%snirz*7051`z|rL<{E0&liu_a zllQW=;jWqPEl7?n-A}0_R}68r z&)`>-50G@cPO9b3?ZEn!-yn@4y-GQm^bz@aIE6HmypHPR%Sbvrd>Y^Kd`*%wk5GD) z^a|;p)Xqj7b4dZ0SNR61!W-Nq*0;i&+$62qTF(8(t7wv3@PfPQRjxQrzAbjZ4AMkW zG)YG>NuODpNRz3XgF5z*q9{)zZ6fU??e@Y`(o$xUE8uJvsepVN(g2bU-tuNK`DOcy RQtGAbf4R@OcKlf%`ETu$DNg_Z diff --git a/locale/en_US/LC_MESSAGES/messages.po b/locale/en_US/LC_MESSAGES/messages.po index 609b404d..91d84bb9 100644 --- a/locale/en_US/LC_MESSAGES/messages.po +++ b/locale/en_US/LC_MESSAGES/messages.po @@ -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"