多语言

This commit is contained in:
czz
2025-07-30 16:48:48 +08:00
parent 92b6896176
commit 300e3b31f6
96 changed files with 3741 additions and 2710 deletions

View File

@@ -66,7 +66,7 @@ class DeviceRepairPage extends GetView<RepairListController> {
children: [
// 中间居中的标题
Text(
'设备报修',
'设备报修'.tr,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
@@ -107,7 +107,7 @@ class DeviceRepairPage extends GetView<RepairListController> {
children: [
// 固定的标题部分
Text(
"报修须知",
"报修须知".tr,
style: TextStyle(
fontSize: 30.rpx,
fontWeight: FontWeight.bold,
@@ -128,7 +128,8 @@ class DeviceRepairPage extends GetView<RepairListController> {
children: [
TextSpan(
text:
"尊敬的用户感谢您选择我司产品。在使用过程中如果设备出现故障需要维修请首先确认设备是否正确连接控制器或网络检查设置是否正常排除误操作问题。若问题依然存在请记录下设备名称、设备编号、和具体故障内容方便我们快速地为您提供帮助。您可以通过智慧棉花糖APP保修页面直接报修或拨打 ",
"尊敬的用户感谢您选择我司产品。在使用过程中如果设备出现故障需要维修请首先确认设备是否正确连接控制器或网络检查设置是否正常排除误操作问题。若问题依然存在请记录下设备名称、设备编号、和具体故障内容方便我们快速地为您提供帮助。您可以通过智慧棉花糖APP保修页面直接报修或拨打 "
.tr,
style: TextStyle(
color: Color(0XFF929699),
fontSize: 26.rpx,
@@ -150,7 +151,7 @@ class DeviceRepairPage extends GetView<RepairListController> {
},
),
TextSpan(
text: " 反馈。",
text: " 反馈。".tr,
style: TextStyle(
color: Color(0XFF929699),
fontSize: 26.rpx,
@@ -186,7 +187,7 @@ class DeviceRepairPage extends GetView<RepairListController> {
borderRadius: BorderRadius.circular(6),
),
child: Text(
"我要报修",
"我要报修".tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: stringToColor("#011D33"),
@@ -200,7 +201,7 @@ class DeviceRepairPage extends GetView<RepairListController> {
// 报修历史标题
Container(
width: double.infinity,
child: Text("报修历史",
child: Text("报修历史".tr,
style: TextStyle(
color: Colors.white,
fontSize: 30.rpx,