统一订单列表进行中文案

更新机巢订单共用状态文案及相关测试期望。App 与测试包编译通过;按用户要求暂不运行真机测试。
This commit is contained in:
2026-11-05 16:17:11 +08:00
parent 9485eac483
commit 06544b231d
5 changed files with 10 additions and 10 deletions
@@ -11,7 +11,7 @@ final class DroneDockMaterialsViewTests: XCTestCase {
/// 素材上传不覆盖整单执行状态;同一摘要更新到完成时正确切换文案和颜色。
func testOrderSummaryKeepsExecutionSeparateFromUploadingMaterialStatus() throws {
let cell = DroneDockMaterialOrderCell(frame: CGRect(x: 0, y: 0, width: 350, height: 140))
for (status, shootStatus, title, color) in [(20, "processing", "执行中", DroneDockStyle.warning),
for (status, shootStatus, title, color) in [(20, "processing", "进行中", DroneDockStyle.warning),
(30, "pending", "已完成", DroneDockStyle.success)] {
let order = try JSONDecoder().decode(DroneDockHomeOrder.self,
from: JSONSerialization.data(withJSONObject: ["order_number": number, "order_status": status,