修复语言

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", "正常心率窦性图": "Normal Sinus Rhythm Chart",
"窦性心律不齐图": "Sinus Arrhythmia Chart", "窦性心律不齐图": "Sinus Arrhythmia Chart",
"持续性房颤图": " Continuous Ventricular Flutter 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号", "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( padding: EdgeInsetsDirectional.fromSTEB(
0, 0.rpx, 0.rpx, 0), // 外部 padding 移到内部 0, 0.rpx, 0.rpx, 0), // 外部 padding 移到内部
width: 28.rpx, width: 28.rpx,
height: 28.rpx, height: 24.rpx,
child: SvgPicture.asset( child: SvgPicture.asset(
'assets/img/icon/group.svg', 'assets/img/icon/group.svg',
fit: BoxFit.cover, fit: BoxFit.fill,
color: Colors.white, color: Colors.white,
), ),
), ),

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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