多语言
This commit is contained in:
@@ -61,7 +61,7 @@ class _DeviceListPageState extends State<DeviceListPage> {
|
||||
children: [
|
||||
// 中间居中的标题
|
||||
Text(
|
||||
'设备列表',
|
||||
'设备列表'.tr,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
@@ -90,7 +90,7 @@ class _DeviceListPageState extends State<DeviceListPage> {
|
||||
child: SearchWidget(
|
||||
keyword: controller.model.keyword,
|
||||
color: controller.model.color,
|
||||
hint: "检索设备",
|
||||
hint: "检索设备".tr,
|
||||
onChange: (d) {
|
||||
controller.model.keyword = d;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user