多语言

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

@@ -71,7 +71,7 @@ class RepairHistoryWidget extends GetView<RepairInfoController> {
),
const SizedBox(height: 4),
Text(
"提交时间:" +
"提交时间:".tr +
(MyUtils.formatTimestamp(repairListController
.model.repairList[index]["create_time"]) ??
''),
@@ -116,19 +116,19 @@ class RepairHistoryWidget extends GetView<RepairInfoController> {
String getStatusText(dynamic status) {
switch (status?.toString()) {
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;
}
}
}