多语言

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

@@ -20,7 +20,7 @@ class RepairStatusWidget extends GetView {
MyUtils.timestampToDateString(data["create_time"]),
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 21.rpx,
fontSize: 26.rpx,
letterSpacing: 0,
color: Colors.white,
// index ==
@@ -36,7 +36,7 @@ class RepairStatusWidget extends GetView {
mapStatusText(data['status']),
style: TextStyle(
fontFamily: 'Readex Pro',
fontSize: 26.rpx,
fontSize: 30.rpx,
letterSpacing: 0,
color: Colors.white,
// repairInfoController
@@ -85,19 +85,19 @@ class RepairStatusWidget extends GetView {
static String mapStatusText(int status) {
switch (status) {
case 1:
return '审核中';
return '审核中'.tr;
case 2:
return '亩核通过';
return '亩核通过'.tr;
case 3:
return '维修中';
return '维修中'.tr;
case 4:
return '维修完成';
return '维修完成'.tr;
case 5:
return '已完成';
return '已完成'.tr;
case 6:
return '已评价';
return '已评价'.tr;
default:
return '未知状态';
return '未知状态'.tr;
}
}
}