forked from xiaozhi/xiaozhi-esp32
Sync language option to wifi config page
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"language": {
|
"language": {
|
||||||
"type": "en"
|
"type": "en-US"
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"VERSION": "Ver ",
|
"VERSION": "Ver ",
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ void WifiBoard::EnterWifiConfigMode() {
|
|||||||
application.SetDeviceState(kDeviceStateWifiConfiguring);
|
application.SetDeviceState(kDeviceStateWifiConfiguring);
|
||||||
|
|
||||||
auto& wifi_ap = WifiConfigurationAp::GetInstance();
|
auto& wifi_ap = WifiConfigurationAp::GetInstance();
|
||||||
|
wifi_ap.SetLanguage(Lang::CODE);
|
||||||
wifi_ap.SetSsidPrefix("Xiaozhi");
|
wifi_ap.SetSsidPrefix("Xiaozhi");
|
||||||
wifi_ap.Start();
|
wifi_ap.Start();
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ dependencies:
|
|||||||
espressif/esp_lcd_spd2010: "==1.0.2"
|
espressif/esp_lcd_spd2010: "==1.0.2"
|
||||||
espressif/esp_io_expander_tca9554: "==2.0.0"
|
espressif/esp_io_expander_tca9554: "==2.0.0"
|
||||||
78/esp_lcd_nv3023: "~1.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-opus-encoder: "~2.1.0"
|
||||||
78/esp-ml307: "~1.7.2"
|
78/esp-ml307: "~1.7.2"
|
||||||
78/xiaozhi-fonts: "~1.3.2"
|
78/xiaozhi-fonts: "~1.3.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user