多语言

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

@@ -40,7 +40,7 @@ class DeletedAccountPage extends GetView {
children: [
// 中间居中的标题
Text(
'注销账号',
'注销账号'.tr,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
@@ -104,8 +104,8 @@ class DeletedAccountPage extends GetView {
color: Color(0XFF84F5FF),
),
),
const Text(
"注销智慧眠花糖账号",
Text(
"注销智慧眠花糖账号".tr,
style: TextStyle(
fontSize: 20, // 设置字体大小
color: Color(0xFFFFFFFF),
@@ -121,7 +121,7 @@ class DeletedAccountPage extends GetView {
children: [
RichText(
text: TextSpan(
text: "账号注销后,你将无法使用以下功能,",
text: "账号注销后,你将无法使用以下功能,".tr,
style: TextStyle(
fontSize: AppFontsize
.normal_text_size, // 设置字体大小
@@ -131,7 +131,7 @@ class DeletedAccountPage extends GetView {
children: [
TextSpan(
text:
"并且当前有绑定以及被分享的智能床、智能床垫等设备的账号不能注销",
"并且当前有绑定以及被分享的智能床、智能床垫等设备的账号不能注销".tr,
style: TextStyle(
fontSize: AppFontsize
.normal_text_size,
@@ -140,7 +140,7 @@ class DeletedAccountPage extends GetView {
),
),
TextSpan(
text: ",可先进行解绑后再进行注销操作。",
text: ",可先进行解绑后再进行注销操作。".tr,
style: TextStyle(
fontSize: AppFontsize
.normal_text_size,
@@ -154,7 +154,7 @@ class DeletedAccountPage extends GetView {
height: 24,
),
Text(
"无法控制智能床、智能床垫等设备",
"无法控制智能床、智能床垫等设备".tr,
style: TextStyle(
fontSize: AppFontsize
.title_size, // 设置字体大小
@@ -165,7 +165,7 @@ class DeletedAccountPage extends GetView {
height: 6,
),
Text(
"你将无法控制你的智能床、智能床垫等设备,以及与其相关的各种操作。",
"你将无法控制你的智能床、智能床垫等设备,以及与其相关的各种操作。".tr,
style: TextStyle(
fontSize: AppFontsize
.normal_text_size, // 设置字体大小
@@ -176,7 +176,7 @@ class DeletedAccountPage extends GetView {
height: 24,
),
Text(
"无法查询睡眠报告和体征数据",
"无法查询睡眠报告和体征数据".tr,
style: TextStyle(
fontSize: AppFontsize
.title_size, // 设置字体大小
@@ -187,7 +187,7 @@ class DeletedAccountPage extends GetView {
height: 6,
),
Text(
"注销账号后你将查询不到你以前的睡眠报告和实时数据。",
"注销账号后你将查询不到你以前的睡眠报告和实时数据。".tr,
style: TextStyle(
fontSize: AppFontsize
.normal_text_size, // 设置字体大小
@@ -198,7 +198,7 @@ class DeletedAccountPage extends GetView {
height: 24,
),
Text(
"无法使用的其他功能",
"无法使用的其他功能".tr,
style: TextStyle(
fontSize: AppFontsize
.title_size, // 设置字体大小
@@ -209,7 +209,7 @@ class DeletedAccountPage extends GetView {
height: 6,
),
Text(
"包含设备报修、门店体验预约等。",
"包含设备报修、门店体验预约等。".tr,
style: TextStyle(
fontSize: AppFontsize
.normal_text_size, // 设置字体大小
@@ -278,7 +278,7 @@ class DeletedAccountPage extends GetView {
// }
// });
},
text: '注销账号',
text: '注销账号'.tr,
options: FFButtonOptions(
height: 40,
padding: const EdgeInsetsDirectional.fromSTEB(