更新法语语言包

This commit is contained in:
wyf
2026-01-31 14:43:47 +08:00
parent 2aedbb3d74
commit 97ffc1220d
48 changed files with 1608 additions and 1837 deletions

View File

@@ -895,37 +895,56 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
Text(
'请选择城市'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
letterSpacing: 0,
Expanded(
flex: 1, // 左侧占1份权重约33%
child: Text(
'请选择城市'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
letterSpacing: 0,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
Row(
children: [
Text(
cityModels[index].id != null
? MyUtils
.getDetailedCityDisplayText(
cityModels[index])
: "请选择城市".tr,
style: TextStyle(
color:
cityModels[index].id != null
? Colors.white
: themeController
.currentColor.sc4,
fontSize: 30.rpx,
Expanded(
flex: 2, // 右侧占2份权重约67%
child: Row(
mainAxisAlignment: MainAxisAlignment
.end, // 右侧内容右对齐
children: [
Flexible(
child: Text(
cityModels[index].id != null
? MyUtils
.getDetailedCityDisplayText(
cityModels[index])
: "请选择城市".tr,
style: TextStyle(
color:
cityModels[index].id !=
null
? Colors.white
: themeController
.currentColor
.sc4,
fontSize: 30.rpx,
),
maxLines: 1,
overflow:
TextOverflow.ellipsis,
textAlign:
TextAlign.right, // 文本右对齐
),
),
),
SizedBox(width: 16.rpx),
Icon(Icons.expand_more,
color: Colors.white,
size: 48.rpx),
],
SizedBox(width: 16.rpx),
Icon(Icons.expand_more,
color: Colors.white,
size: 48.rpx),
],
),
),
],
),
@@ -973,52 +992,69 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
Text(
'请选择时区'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
letterSpacing: 0,
Expanded(
flex: 1, // 左侧占1份权重约33%
child: Text(
'请选择时区'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
letterSpacing: 0,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
Obx(() {
PeopleInfoController
personController = Get.find();
var aa =
personController.timeZone.value;
return Row(
children: [
Text(
peopleList[index]['UTC'] ==
null ||
peopleList[index]
['UTC'] ==
""
? "请选择时区".tr
: peopleList[index]['UTC'],
style: TextStyle(
color: peopleList[index]
['UTC'] !=
null
? Colors
.white // 有时区时使用白色,保持和参考代码一致
: themeController
.currentColor.sc4,
fontSize: 30
.rpx, // 使用固定的30.rpx而不是AppConstants().title_text_fontSize
),
),
SizedBox(width: 16.rpx),
Icon(
Icons.expand_more,
color: Colors
.white, // 保持白色,和参考代码一致
size: 48.rpx,
),
],
);
})
Expanded(
flex: 2, // 右侧占2份权重约67%
child: Obx(() {
PeopleInfoController
personController = Get.find();
var aa = personController
.timeZone.value;
return Row(
mainAxisAlignment:
MainAxisAlignment
.end, // 右侧内容右对齐
children: [
Flexible(
child: Text(
peopleList[index]
['UTC'] ==
null ||
peopleList[index]
['UTC'] ==
""
? "请选择时区".tr
: peopleList[index]
['UTC'],
style: TextStyle(
color: peopleList[index]
['UTC'] !=
null
? Colors.white
: themeController
.currentColor
.sc4,
fontSize: 30.rpx,
),
maxLines: 1,
overflow:
TextOverflow.ellipsis,
textAlign: TextAlign
.right, // 文本右对齐
),
),
SizedBox(width: 16.rpx),
Icon(
Icons.expand_more,
color: Colors.white,
size: 48.rpx,
),
],
);
})),
],
),
),
@@ -1063,38 +1099,92 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
);
});
},
// child: Row(
// mainAxisAlignment:
// MainAxisAlignment.spaceBetween,
// children: [
// Text(
// '慢病管理'.tr,
// style: TextStyle(
// fontFamily: 'Readex Pro',
// color: Color(0xFF9EA4B7),
// fontSize: 30.rpx,
// letterSpacing: 0,
// ),
// maxLines: 1,
// overflow: TextOverflow.ellipsis,
// ),
// Row(
// children: [
// Text(
// getSelectedDiseaseNames(
// diseaseIdsList[index]),
// style: TextStyle(
// color: diseaseIdsList[index]
// .isNotEmpty
// ? Colors.white
// : themeController
// .currentColor.sc4,
// fontSize: 30.rpx,
// ),
// maxLines: 1,
// overflow: TextOverflow.ellipsis,
// ),
// SizedBox(width: 16.rpx),
// Icon(Icons.expand_more,
// color: Colors.white,
// size: 48.rpx),
// ],
// ),
// ],
// ),
child: Row(
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
Text(
'慢病管理'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
letterSpacing: 0,
Expanded(
flex: 1, // 设置左侧最大宽度权重
child: Text(
'慢病管理'.tr,
style: TextStyle(
fontFamily: 'Readex Pro',
color: Color(0xFF9EA4B7),
fontSize: 30.rpx,
letterSpacing: 0,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
Row(
children: [
Text(
getSelectedDiseaseNames(
diseaseIdsList[index]),
style: TextStyle(
color: diseaseIdsList[index]
.isNotEmpty
? Colors.white
: themeController
.currentColor.sc4,
fontSize: 30.rpx,
Expanded(
flex: 2, // 右侧内容占更多空间
child: Row(
mainAxisAlignment:
MainAxisAlignment.end,
children: [
Flexible(
child: Text(
getSelectedDiseaseNames(
diseaseIdsList[index]),
style: TextStyle(
color: diseaseIdsList[index]
.isNotEmpty
? Colors.white
: themeController
.currentColor.sc4,
fontSize: 30.rpx,
),
maxLines: 1,
overflow:
TextOverflow.ellipsis,
),
),
),
SizedBox(width: 16.rpx),
Icon(Icons.expand_more,
color: Colors.white,
size: 48.rpx),
],
SizedBox(width: 16.rpx),
Icon(Icons.expand_more,
color: Colors.white,
size: 48.rpx),
],
),
),
],
),