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']));
$status->addMessage('New network selected', 'success');
} elseif (isset($_POST['wpa_reinit'])) {
$status->addMessage('Re-initializing wpa_supplicant', 'info', false);
$force_remove=true;
$status->addMessage('Reinitializing wpa_supplicant', 'info', false);
$force_remove = true;
$result = reinitializeWPA($force_remove);
$status->addMessage($result, 'info');
} 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
*/

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"
msgstr "No Wifi stations found"
msgid "Re-initializing wpa_supplicant"
msgstr "Re-initializing wpa_supplicant"
msgid "Reinitializing wpa_supplicant"
msgstr "Reinitializing wpa_supplicant"
msgid "Click 'Rescan' to search for nearby Wifi stations."
msgstr "Click 'Rescan' to search for nearby Wifi stations."