Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
b191f473
authored
Jun 24, 2026
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: use neutral drawing task labels
parent
c12e5db4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
8 deletions
+13
-8
web/default/src/features/system-info/components/system-tasks-panel.tsx
+6
-2
web/default/src/i18n/locales/en.json
+1
-1
web/default/src/i18n/locales/fr.json
+1
-1
web/default/src/i18n/locales/ja.json
+1
-1
web/default/src/i18n/locales/ru.json
+1
-1
web/default/src/i18n/locales/vi.json
+1
-1
web/default/src/i18n/locales/zh.json
+1
-1
web/default/src/i18n/static-keys.ts
+1
-0
No files found.
web/default/src/features/system-info/components/system-tasks-panel.tsx
View file @
b191f473
...
...
@@ -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
>
...
...
web/default/src/i18n/locales/en.json
View file @
b191f473
...
...
@@ -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:"
,
...
...
web/default/src/i18n/locales/fr.json
View file @
b191f473
...
...
@@ -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. :"
,
...
...
web/default/src/i18n/locales/ja.json
View file @
b191f473
...
...
@@ -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:"
:
"最小チャージ額:"
,
...
...
web/default/src/i18n/locales/ru.json
View file @
b191f473
...
...
@@ -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:"
:
"Мин. пополнение:"
,
...
...
web/default/src/i18n/locales/vi.json
View file @
b191f473
...
...
@@ -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:"
,
...
...
web/default/src/i18n/locales/zh.json
View file @
b191f473
...
...
@@ -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:"
:
"最低充值:"
,
...
...
web/default/src/i18n/static-keys.ts
View file @
b191f473
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment