This commit is contained in:
zhuzichu
2023-10-10 15:06:44 +08:00
parent 79ab73105e
commit 54f52e0886
21 changed files with 201 additions and 182 deletions

View File

@ -101,7 +101,7 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:lang.dark_mode
text:Lang.dark_mode
font: FluTextStyle.BodyStrong
Layout.bottomMargin: 4
}
@ -131,7 +131,7 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:lang.navigation_view_display_mode
text:Lang.navigation_view_display_mode
font: FluTextStyle.BodyStrong
Layout.bottomMargin: 4
}
@ -162,7 +162,7 @@ FluScrollablePage{
}
FluText{
text:lang.locale
text:Lang.locale
font: FluTextStyle.BodyStrong
Layout.bottomMargin: 4
}
@ -170,12 +170,12 @@ FluScrollablePage{
Flow{
spacing: 5
Repeater{
model: ["Zh","En"]
model: Lang.__localeList
delegate: FluRadioButton{
checked: AppInfo.lang.objectName === modelData
checked: Lang.__locale === modelData
text:modelData
clickListener:function(){
AppInfo.changeLang(modelData)
Lang.__locale = modelData
}
}
}