From 7968302ccc6bfc010afb5d1dc97e887305b8c860 Mon Sep 17 00:00:00 2001 From: spark Date: Sat, 17 Oct 2026 17:19:01 +0100 Subject: [PATCH] Delivery: label a taken-back photo in the queue. The new RETRACTED status has to be named in the app or the build that ships the take-back fails typecheck. --- apps/app/src/i18n.ts | 2 +- apps/app/src/pages/DeliveryPage.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app/src/i18n.ts b/apps/app/src/i18n.ts index 2c63f1f..d17c265 100644 --- a/apps/app/src/i18n.ts +++ b/apps/app/src/i18n.ts @@ -347,7 +347,7 @@ export const t = { waiting_for_original: "À espera do original (está no computador do fotógrafo; abre a app PhotoReport nesse computador)", original_not_here: "O original nunca chegou do computador do fotógrafo", }, - deliveryStatus: { QUEUED: "Na fila", RUNNING: "A enviar", WAITING: "À espera do computador", DONE: "Entregue", FAILED: "Falhou" }, + deliveryStatus: { QUEUED: "Na fila", RUNNING: "A enviar", WAITING: "À espera do computador", DONE: "Entregue", FAILED: "Falhou", RETRACTED: "Retirada" }, codeList: "Substituição de códigos", codeListHelp: "Uma linha por código: código, tab, texto. Escreve \\v7\\ numa legenda e é trocado pelo texto. Listas do Photo Mechanic servem tal como estão.", save: "Guardar", diff --git a/apps/app/src/pages/DeliveryPage.tsx b/apps/app/src/pages/DeliveryPage.tsx index f0a9e2f..cb6535b 100644 --- a/apps/app/src/pages/DeliveryPage.tsx +++ b/apps/app/src/pages/DeliveryPage.tsx @@ -15,6 +15,7 @@ const STATUS_COLOR: Record = { WAITING: "text-[#7fb0ff]", DONE: "text-ok", FAILED: "text-[#f0a35a]", + RETRACTED: "text-faint", }; /** Delivery queue per destination, live, with retry and the public link of an event's folder. */ -- 2.47.3