1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Minor: fix labels + update en_US locale

This commit is contained in:
billz 2021-04-30 17:24:45 +01:00
parent 3207ac75cd
commit e5024c4c19
4 changed files with 6 additions and 5 deletions

View File

@ -20,8 +20,8 @@ function DisplayWPAConfig()
exec('sudo wpa_cli -i ' . $_SESSION['wifi_client_interface'] . ' select_network '.strval($_POST['connect'])); exec('sudo wpa_cli -i ' . $_SESSION['wifi_client_interface'] . ' select_network '.strval($_POST['connect']));
$status->addMessage('New network selected', 'success'); $status->addMessage('New network selected', 'success');
} elseif (isset($_POST['wpa_reinit'])) { } elseif (isset($_POST['wpa_reinit'])) {
$status->addMessage('Re-initializing wpa_supplicant', 'info', false); $status->addMessage('Reinitializing wpa_supplicant', 'info', false);
$force_remove=true; $force_remove = true;
$result = reinitializeWPA($force_remove); $result = reinitializeWPA($force_remove);
$status->addMessage($result, 'info'); $status->addMessage($result, 'info');
} elseif (isset($_POST['client_settings'])) { } elseif (isset($_POST['client_settings'])) {

View File

@ -158,7 +158,8 @@ function getWifiInterface()
} }
/* /*
* Reinitializes wpa_supplicant for the wifi client interface * Reinitializes wpa_supplicant for the wireless client interface
* The 'force' parameter deletes the socket in /var/run/wpa_supplicant/
* *
* @param boolean $force * @param boolean $force
*/ */

Binary file not shown.

View File

@ -153,8 +153,8 @@ msgstr "<strong>Note:</strong> WEP access points appear as 'Open'. RaspAP does n
msgid "No Wifi stations found" msgid "No Wifi stations found"
msgstr "No Wifi stations found" msgstr "No Wifi stations found"
msgid "Re-initializing wpa_supplicant" msgid "Reinitializing wpa_supplicant"
msgstr "Re-initializing wpa_supplicant" msgstr "Reinitializing wpa_supplicant"
msgid "Click 'Rescan' to search for nearby Wifi stations." msgid "Click 'Rescan' to search for nearby Wifi stations."
msgstr "Click 'Rescan' to search for nearby Wifi stations." msgstr "Click 'Rescan' to search for nearby Wifi stations."