修复语言

This commit is contained in:
wyf
2025-11-17 10:07:07 +08:00
parent 4cc2b324fa
commit 46ee7969c4
11 changed files with 86 additions and 67 deletions

View File

@@ -557,5 +557,11 @@
"正常心率窦性图": "Normal Sinus Rhythm Chart",
"窦性心律不齐图": "Sinus Arrhythmia Chart",
"持续性房颤图": " Continuous Ventricular Flutter Chart",
"阵法性房颤图": " Arrhythmia Chart"
"阵法性房颤图": " Arrhythmia Chart",
"设备连接超时,请重试": "Device connection timed out, please try again",
"s后超时": "s timeout",
"未选择图片": "No Image Selected",
"无效的手机号码": "Invalid Phone",
"联系人不能为空": "Contact cannot be empty",
"联系电话不能为空": "Contact number cannot be empty"
}

View File

@@ -429,7 +429,7 @@
"检测到": "检测到",
"绑定流程未走完是否继续": "绑定流程未走完是否继续?",
"暂无": "暂无",
"设备连接超时,请重试": "设备连接超时,请点击刷新重试",
"设备连接超时,请重试": "设备连接超时,请重试",
"设备连接失败": "设备连接失败,请点击刷新重试",
"失败": "服务器内部错误,请联系管理员",
"关于我们": "关于我们",
@@ -555,9 +555,14 @@
"MAC号": "MAC号",
"微信用户": "微信用户",
"其他设备正在绑定中,是否终止其他设备绑定?": "其他设备正在绑定中,是否终止其他设备绑定?",
"图形参考":"图像参考",
"正常心率窦性图":"正常心率窦性图",
"窦性心律不齐图":"窦性心律不齐图",
"持续性房颤图":"持续性房颤图",
"阵法性房颤图":"阵法性房颤图"
"图形参考": "图像参考",
"正常心率窦性图": "正常心率窦性图",
"窦性心律不齐图": "窦性心律不齐图",
"持续性房颤图": "持续性房颤图",
"阵法性房颤图": "阵法性房颤图",
"s后超时": "s后超时",
"无效的手机号码": "无效的手机号码",
"联系人不能为空": "联系人不能为空",
"联系电话不能为空": "联系电话不能为空"
}

View File

@@ -554,5 +554,10 @@
"正常心率窦性图": "正常心率竇性圖",
"窦性心律不齐图": "竇性心律不齊圖",
"持续性房颤图": "持續性房顫圖",
"阵法性房颤图": "陣法性房顫圖"
"阵法性房颤图": "陣法性房顫圖",
"设备连接超时,请重试": "設備連接超時,請重試",
"s后超时": "s後超時",
"无效的手机号码": "無效的手機號碼",
"联系人不能为空": " 聯繫人不能為空",
"联系电话不能为空": "聯繫電話不能為空"
}

View File

@@ -725,10 +725,10 @@ class _DeviceDataComponentWidgetState extends State<DeviceDataComponentWidget> {
padding: EdgeInsetsDirectional.fromSTEB(
0, 0.rpx, 0.rpx, 0), // 外部 padding 移到内部
width: 28.rpx,
height: 28.rpx,
height: 24.rpx,
child: SvgPicture.asset(
'assets/img/icon/group.svg',
fit: BoxFit.cover,
fit: BoxFit.fill,
color: Colors.white,
),
),

View File

@@ -141,7 +141,7 @@ class _WifiPageState extends State<WifiPage> {
@override
Widget build(BuildContext context) {
print("object");
print("object1111");
return LayoutBuilder(
builder: (context, bodySize) => GestureDetector(
// onTap: () => FocusScope.of(context).unfocus(),,
@@ -1375,7 +1375,7 @@ class _WifiPageState extends State<WifiPage> {
blueteethBindController.netType.value = 3;
TopSlideNotification.show(
context,
text: "设备连接超时,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
FlutterBluePlus.stopScan();
@@ -1509,7 +1509,7 @@ class _WifiPageState extends State<WifiPage> {
} else {
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
}
@@ -1517,7 +1517,7 @@ class _WifiPageState extends State<WifiPage> {
blueteethBindController.blueConnectFlag.value = 1;
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
} finally {

View File

@@ -549,7 +549,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
widget.type['mac'],
needSuccess: true);
// return;
}
}
if (!flag) {
blueteethBindController
.selectWifi
@@ -653,7 +653,6 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
);
}
});
},
child: Row(
mainAxisSize:
@@ -1402,7 +1401,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
blueteethBindController.netType.value = 3;
TopSlideNotification.show(
context,
text: "设备连接超时,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
FlutterBluePlus.stopScan();
@@ -1536,7 +1535,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
} else {
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
}
@@ -1544,7 +1543,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
blueteethBindController.blueConnectFlag.value = 1;
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
} finally {
@@ -1716,5 +1715,4 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
return await getDeviceWifiStatus(blueteethBindController.currentDevice!, 1,
link: true);
}
}

View File

@@ -429,7 +429,7 @@ class THBindTelWidget extends GetView<AuthBindTelController> {
color: themeController
.currentColor.sc2,
fontSize: AppConstants()
.title_text_fontSize,
.middler_text_fontSize,
letterSpacing: 0,
),
),

View File

@@ -612,31 +612,31 @@ class _MinePageState extends State<MinePage> {
padding: EdgeInsetsDirectional.fromSTEB(
40.rpx, 0.rpx, 40.rpx, 0.rpx),
onTap: () async {
UserInfoController userInfoController =
Get.find();
if (userInfoController.model.login !=
LoginStatus.LOGIN.code) {
TopSlideNotification.show(
context,
text: "必须登录提示".tr,
textColor:
themeController.currentColor.sc9,
);
Get.toNamed("/loginPage");
} else {
String logContent =
await DailyLogUtils.readLogByDate(
DateTime(2025, 9, 4));
print(logContent);
// DailyLogUtils.readTodayLog();
// DailyLogUtils.listLogFiles();
await DailyLogUtils.writeLog(
"测试日志内容"); // 确保写入日志
await DailyLogUtils
.exportAllLogs(); // 导出并分享
// UserInfoController userInfoController =
// Get.find();
// if (userInfoController.model.login !=
// LoginStatus.LOGIN.code) {
// TopSlideNotification.show(
// context,
// text: "必须登录提示".tr,
// textColor:
// themeController.currentColor.sc9,
// );
// Get.toNamed("/loginPage");
// } else {
// String logContent =
// await DailyLogUtils.readLogByDate(
// DateTime(2025, 9, 4));
// print(logContent);
// // DailyLogUtils.readTodayLog();
// // DailyLogUtils.listLogFiles();
// await DailyLogUtils.writeLog(
// "测试日志内容"); // 确保写入日志
// await DailyLogUtils
// .exportAllLogs(); // 导出并分享
// DailyLogUtils.exportAllLogs();
}
// // DailyLogUtils.exportAllLogs();
// }
},
child: Container(
child: Padding(
@@ -674,7 +674,7 @@ class _MinePageState extends State<MinePage> {
mainAxisSize: MainAxisSize.max,
children: [
Text(
'V1.0.2510.14',
'V1.0.2511.14',
style: TextStyle(
fontFamily: 'Inter',
color: Color(0xFFD9E3EB),

View File

@@ -1259,7 +1259,7 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
} else {
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
}
@@ -1267,7 +1267,7 @@ class _MHTWifiPageState extends State<MHTWifiPage> {
blueteethBindController.blueConnectFlag.value = 1;
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
} finally {

View File

@@ -1091,7 +1091,7 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
blueteethBindController.netType.value = 3;
TopSlideNotification.show(
context,
text: "设备连接超时,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
FlutterBluePlus.stopScan();
@@ -1225,7 +1225,7 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
} else {
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
}
@@ -1233,7 +1233,7 @@ class _MHTWifiAfterPageState extends State<MHTWifiAfterPage> {
blueteethBindController.blueConnectFlag.value = 1;
TopSlideNotification.show(
context,
text: "设备连接失败,请点击刷新重试".tr,
text: "设备连接超时,请重试".tr,
textColor: themeController.currentColor.sc9,
);
} finally {

View File

@@ -126,22 +126,27 @@ class _RepairDetailPageState extends State<RepairDetailPage> {
themeController.currentColor.sc1,
themeController.currentColor.sc2,
],
child: Container(
width: (MediaQuery.sizeOf(context).width * 0.284)
.rpx,
constraints: BoxConstraints(
minWidth: 213.rpx,
minHeight: 91.rpx,
),
child: Align(
alignment: AlignmentDirectional(0, 0),
child: Text(
"${widget.data['type']}",
style: TextStyle(
letterSpacing: 0.0,
color: themeController.currentColor.sc3,
fontSize:
AppConstants().normal_text_fontSize,
child: Padding(
padding:
EdgeInsets.fromLTRB(32.rpx, 0, 32.rpx, 0),
child: Container(
// width:
// (MediaQuery.sizeOf(context).width * 0.284)
// .rpx,
constraints: BoxConstraints(
// minWidth: 213.rpx,
minHeight: 91.rpx,
),
child: Align(
alignment: AlignmentDirectional(0, 0),
child: Text(
"${widget.data['type']}",
style: TextStyle(
letterSpacing: 0.0,
color: themeController.currentColor.sc3,
fontSize:
AppConstants().normal_text_fontSize,
),
),
),
),