Sync language option to wifi config page

This commit is contained in:
Terrence
2025-02-20 00:26:24 +08:00
parent 939564b175
commit 1d1fe3dd2e
3 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"language": {
"type": "en"
"type": "en-US"
},
"strings": {
"VERSION": "Ver ",

View File

@@ -41,6 +41,7 @@ void WifiBoard::EnterWifiConfigMode() {
application.SetDeviceState(kDeviceStateWifiConfiguring);
auto& wifi_ap = WifiConfigurationAp::GetInstance();
wifi_ap.SetLanguage(Lang::CODE);
wifi_ap.SetSsidPrefix("Xiaozhi");
wifi_ap.Start();

View File

@@ -7,7 +7,7 @@ dependencies:
espressif/esp_lcd_spd2010: "==1.0.2"
espressif/esp_io_expander_tca9554: "==2.0.0"
78/esp_lcd_nv3023: "~1.0.0"
78/esp-wifi-connect: "~2.2.1"
78/esp-wifi-connect: "~2.3.0"
78/esp-opus-encoder: "~2.1.0"
78/esp-ml307: "~1.7.2"
78/xiaozhi-fonts: "~1.3.2"