fix: use neutral drawing task labels
This commit is contained in:
@@ -79,10 +79,14 @@ const TYPE_LABEL: Record<string, string> = {
|
||||
log_cleanup: 'Log cleanup',
|
||||
channel_test: 'Batch channel test',
|
||||
model_update: 'Batch upstream model update',
|
||||
midjourney_poll: 'Midjourney task polling',
|
||||
midjourney_poll: 'Drawing task polling',
|
||||
async_task_poll: 'Async task polling',
|
||||
}
|
||||
|
||||
const TYPE_DISPLAY_ID: Record<string, string> = {
|
||||
midjourney_poll: 'drawing_task_poll',
|
||||
}
|
||||
|
||||
function isActiveStatus(status: SystemTaskStatus) {
|
||||
return status === 'pending' || status === 'running'
|
||||
}
|
||||
@@ -136,7 +140,7 @@ function SystemTasksTable(props: SystemTasksTableProps) {
|
||||
{t(TYPE_LABEL[task.type] ?? task.type)}
|
||||
</div>
|
||||
<div className='text-muted-foreground font-mono text-[11px]'>
|
||||
{task.type}
|
||||
{TYPE_DISPLAY_ID[task.type] ?? task.type}
|
||||
</div>
|
||||
</div>
|
||||
</TableCell>
|
||||
|
||||
Vendored
+1
-1
@@ -1373,6 +1373,7 @@
|
||||
"Drawing logs": "Drawing logs",
|
||||
"Drawing Logs": "Drawing Logs",
|
||||
"Drawing task records": "Drawing task records",
|
||||
"Drawing task polling": "Drawing task polling",
|
||||
"Duplicate": "Duplicate",
|
||||
"Duplicate group names: {{names}}": "Duplicate group names: {{names}}",
|
||||
"Duplicate source model mappings are not allowed": "Duplicate source model mappings are not allowed",
|
||||
@@ -2472,7 +2473,6 @@
|
||||
"Merge into Other": "Merge into Other",
|
||||
"Message Priority": "Message Priority",
|
||||
"Metadata": "Metadata",
|
||||
"Midjourney task polling": "Midjourney task polling",
|
||||
"min downtime": "min downtime",
|
||||
"Min Top-up": "Min Top-up",
|
||||
"Min Top-up:": "Min Top-up:",
|
||||
|
||||
Vendored
+1
-1
@@ -1373,6 +1373,7 @@
|
||||
"Drawing logs": "Journaux de dessin",
|
||||
"Drawing Logs": "Journaux de dessin",
|
||||
"Drawing task records": "Historique des tâches de dessin",
|
||||
"Drawing task polling": "Interrogation des tâches de dessin",
|
||||
"Duplicate": "Dupliquer",
|
||||
"Duplicate group names: {{names}}": "Noms de groupe en double : {{names}}",
|
||||
"Duplicate source model mappings are not allowed": "Les mappages de modèles source en double ne sont pas autorisés",
|
||||
@@ -2472,7 +2473,6 @@
|
||||
"Merge into Other": "Fusionner dans Autres",
|
||||
"Message Priority": "Priorité du message",
|
||||
"Metadata": "Métadonnées",
|
||||
"Midjourney task polling": "Interrogation des tâches Midjourney",
|
||||
"min downtime": "min d'interruption",
|
||||
"Min Top-up": "Recharge min.",
|
||||
"Min Top-up:": "Recharge min. :",
|
||||
|
||||
Vendored
+1
-1
@@ -1373,6 +1373,7 @@
|
||||
"Drawing logs": "描画ログ",
|
||||
"Drawing Logs": "画像生成履歴",
|
||||
"Drawing task records": "描画タスク記録",
|
||||
"Drawing task polling": "描画タスクのポーリング",
|
||||
"Duplicate": "複製",
|
||||
"Duplicate group names: {{names}}": "重複するグループ名: {{names}}",
|
||||
"Duplicate source model mappings are not allowed": "重複したソースモデルのマッピングは許可されていません",
|
||||
@@ -2472,7 +2473,6 @@
|
||||
"Merge into Other": "その他にまとめる",
|
||||
"Message Priority": "メッセージの優先度",
|
||||
"Metadata": "メタデータ",
|
||||
"Midjourney task polling": "Midjourney タスクのポーリング",
|
||||
"min downtime": "分のダウンタイム",
|
||||
"Min Top-up": "最低チャージ額",
|
||||
"Min Top-up:": "最小チャージ額:",
|
||||
|
||||
Vendored
+1
-1
@@ -1373,6 +1373,7 @@
|
||||
"Drawing logs": "Журналы рисования",
|
||||
"Drawing Logs": "Журнал рисования",
|
||||
"Drawing task records": "Записи задач рисования",
|
||||
"Drawing task polling": "Опрос задач рисования",
|
||||
"Duplicate": "Дублировать",
|
||||
"Duplicate group names: {{names}}": "Повторяющиеся имена групп: {{names}}",
|
||||
"Duplicate source model mappings are not allowed": "Повторяющиеся сопоставления исходных моделей не допускаются",
|
||||
@@ -2472,7 +2473,6 @@
|
||||
"Merge into Other": "Объединить в «Другое»",
|
||||
"Message Priority": "Приоритет сообщения",
|
||||
"Metadata": "Метаданные",
|
||||
"Midjourney task polling": "Опрос задач Midjourney",
|
||||
"min downtime": "мин простоя",
|
||||
"Min Top-up": "Мин. пополнение",
|
||||
"Min Top-up:": "Мин. пополнение:",
|
||||
|
||||
Vendored
+1
-1
@@ -1373,6 +1373,7 @@
|
||||
"Drawing logs": "Nhật ký vẽ",
|
||||
"Drawing Logs": "Nhật ký bản vẽ",
|
||||
"Drawing task records": "Lịch sử tác vụ vẽ",
|
||||
"Drawing task polling": "Thăm dò tác vụ vẽ",
|
||||
"Duplicate": "Nhân bản",
|
||||
"Duplicate group names: {{names}}": "Tên nhóm bị trùng: {{names}}",
|
||||
"Duplicate source model mappings are not allowed": "Không cho phép ánh xạ mô hình nguồn trùng lặp",
|
||||
@@ -2472,7 +2473,6 @@
|
||||
"Merge into Other": "Gộp vào Khác",
|
||||
"Message Priority": "Ưu tiên tin nhắn",
|
||||
"Metadata": "Siêu dữ liệu",
|
||||
"Midjourney task polling": "Thăm dò tác vụ Midjourney",
|
||||
"min downtime": "phút gián đoạn",
|
||||
"Min Top-up": "Nạp tối thiểu",
|
||||
"Min Top-up:": "Nạp tối thiểu:",
|
||||
|
||||
Vendored
+1
-1
@@ -1373,6 +1373,7 @@
|
||||
"Drawing logs": "绘制日志",
|
||||
"Drawing Logs": "绘图日志",
|
||||
"Drawing task records": "绘图任务记录",
|
||||
"Drawing task polling": "绘图任务轮询",
|
||||
"Duplicate": "重复",
|
||||
"Duplicate group names: {{names}}": "存在重复的分组名称:{{names}}",
|
||||
"Duplicate source model mappings are not allowed": "不允许重复的源模型映射",
|
||||
@@ -2472,7 +2473,6 @@
|
||||
"Merge into Other": "合并为其他",
|
||||
"Message Priority": "消息优先级",
|
||||
"Metadata": "元信息",
|
||||
"Midjourney task polling": "Midjourney 任务轮询",
|
||||
"min downtime": "分钟停机",
|
||||
"Min Top-up": "最低充值",
|
||||
"Min Top-up:": "最低充值:",
|
||||
|
||||
Vendored
+1
@@ -50,6 +50,7 @@ export const STATIC_I18N_KEYS = [
|
||||
'stale',
|
||||
'Master instances run scheduled background tasks.',
|
||||
'Worker instances do not run master-only background tasks.',
|
||||
'Drawing task polling',
|
||||
|
||||
// Pricing constants
|
||||
'Name',
|
||||
|
||||
Reference in New Issue
Block a user