From a6d54de2a758fd2338c252875fd721693af6ca4a Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Wed, 5 Mar 2025 14:56:05 -0500 Subject: [PATCH] Rename 'queue' button to 'run' button (#2881) Co-authored-by: github-actions --- src/components/actionbar/ComfyQueueButton.vue | 10 +++++----- src/locales/en/main.json | 6 +++--- src/locales/fr/main.json | 6 +++--- src/locales/ja/main.json | 6 +++--- src/locales/ko/main.json | 6 +++--- src/locales/ru/main.json | 6 +++--- src/locales/zh/main.json | 6 +++--- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/components/actionbar/ComfyQueueButton.vue b/src/components/actionbar/ComfyQueueButton.vue index 6687223229..35aa8f3ae8 100644 --- a/src/components/actionbar/ComfyQueueButton.vue +++ b/src/components/actionbar/ComfyQueueButton.vue @@ -10,8 +10,8 @@ data-testid="queue-button" v-tooltip.bottom="{ value: workspaceStore.shiftDown - ? $t('menu.queueWorkflowFront') - : $t('menu.queueWorkflow'), + ? $t('menu.runWorkflowFront') + : $t('menu.runWorkflow'), showDelay: 600 }" > @@ -98,7 +98,7 @@ const { t } = useI18n() const queueModeMenuItemLookup = computed(() => ({ disabled: { key: 'disabled', - label: t('menu.queue'), + label: t('menu.run'), tooltip: t('menu.disabledTooltip'), command: () => { queueMode.value = 'disabled' @@ -106,7 +106,7 @@ const queueModeMenuItemLookup = computed(() => ({ }, instant: { key: 'instant', - label: `${t('menu.queue')} (${t('menu.instant')})`, + label: `${t('menu.run')} (${t('menu.instant')})`, tooltip: t('menu.instantTooltip'), command: () => { queueMode.value = 'instant' @@ -114,7 +114,7 @@ const queueModeMenuItemLookup = computed(() => ({ }, change: { key: 'change', - label: `${t('menu.queue')} (${t('menu.onChange')})`, + label: `${t('menu.run')} (${t('menu.onChange')})`, tooltip: t('menu.onChangeTooltip'), command: () => { queueMode.value = 'change' diff --git a/src/locales/en/main.json b/src/locales/en/main.json index 31494c9932..d173aeeabb 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -347,9 +347,9 @@ "instantTooltip": "The workflow will be queued instantly after a generation finishes", "onChange": "On Change", "onChangeTooltip": "The workflow will be queued once a change is made", - "queueWorkflow": "Queue workflow (Shift to queue at front)", - "queueWorkflowFront": "Queue workflow at front", - "queue": "Queue", + "runWorkflow": "Run workflow (Shift to queue at front)", + "runWorkflowFront": "Run workflow (Queue at front)", + "run": "Run", "execute": "Execute", "interrupt": "Cancel current run", "refresh": "Refresh node definitions", diff --git a/src/locales/fr/main.json b/src/locales/fr/main.json index 16fcd5ef18..3af61afd11 100644 --- a/src/locales/fr/main.json +++ b/src/locales/fr/main.json @@ -374,11 +374,11 @@ "interrupt": "Annuler l'exécution en cours", "onChange": "Sur modification", "onChangeTooltip": "Le flux de travail sera mis en file d'attente une fois une modification effectuée", - "queue": "File d'attente", - "queueWorkflow": "Mettre le flux de travail en file d'attente (Maj pour mettre en tête de file)", - "queueWorkflowFront": "Mettre le flux de travail en tête de file", "refresh": "Actualiser les définitions des nœuds", "resetView": "Réinitialiser la vue du canevas", + "run": "Exécuter", + "runWorkflow": "Exécuter le workflow (Maj pour mettre en file d'attente en premier)", + "runWorkflowFront": "Exécuter le workflow (Mettre en file d'attente en premier)", "showMenu": "Afficher le menu", "toggleBottomPanel": "Basculer le panneau inférieur" }, diff --git a/src/locales/ja/main.json b/src/locales/ja/main.json index 764654eacd..54352d5b1f 100644 --- a/src/locales/ja/main.json +++ b/src/locales/ja/main.json @@ -374,11 +374,11 @@ "interrupt": "現在の実行を中止", "onChange": "変更時", "onChangeTooltip": "変更が行われるとワークフローがキューに追加されます", - "queue": "実行", - "queueWorkflow": "キューに追加 (Shiftで先頭に)", - "queueWorkflowFront": "先頭に追加", "refresh": "ノードを更新", "resetView": "ビューをリセット", + "run": "実行する", + "runWorkflow": "ワークフローを実行する (Shiftで先頭にキュー)", + "runWorkflowFront": "ワークフローを実行する (先頭にキュー)", "showMenu": "メニューを表示", "toggleBottomPanel": "下部パネルを切り替え" }, diff --git a/src/locales/ko/main.json b/src/locales/ko/main.json index f7933dcdad..81ba1b15b9 100644 --- a/src/locales/ko/main.json +++ b/src/locales/ko/main.json @@ -374,11 +374,11 @@ "interrupt": "현재 실행 취소", "onChange": "변경 시", "onChangeTooltip": "변경이 있는 경우에만 워크플로를 실행 큐에 추가합니다.", - "queue": "실행 큐", - "queueWorkflow": "워크플로 실행 큐에 추가 (Shift: 실행 큐 맨 앞에 추가)", - "queueWorkflowFront": "워크플로를 실행 큐 맨 앞에 추가", "refresh": "노드 정의 새로 고침", "resetView": "캔버스 보기 재설정", + "run": "실행", + "runWorkflow": "워크플로우 실행 (앞에서 대기열로 이동)", + "runWorkflowFront": "워크플로우 실행 (대기열 앞)", "showMenu": "메뉴 표시", "toggleBottomPanel": "하단 패널 전환" }, diff --git a/src/locales/ru/main.json b/src/locales/ru/main.json index 85690a1e1d..f1ed3f25de 100644 --- a/src/locales/ru/main.json +++ b/src/locales/ru/main.json @@ -374,11 +374,11 @@ "interrupt": "Отменить текущее выполнение", "onChange": "При изменении", "onChangeTooltip": "Рабочий процесс будет поставлен в очередь после внесения изменений", - "queue": "Выполнить", - "queueWorkflow": "Очередь рабочего процесса (Shift для вставки спереди)", - "queueWorkflowFront": "Очередь рабочего процесса (Вставка спереди)", "refresh": "Обновить определения нод", "resetView": "Сбросить вид холста", + "run": "Запустить", + "runWorkflow": "Запустить рабочий процесс (Shift для очереди в начале)", + "runWorkflowFront": "Запустить рабочий процесс (Очередь в начале)", "showMenu": "Показать меню", "toggleBottomPanel": "Переключить нижнюю панель" }, diff --git a/src/locales/zh/main.json b/src/locales/zh/main.json index 1934715343..045ad875cf 100644 --- a/src/locales/zh/main.json +++ b/src/locales/zh/main.json @@ -374,11 +374,11 @@ "interrupt": "取消当前任务", "onChange": "更改时", "onChangeTooltip": "一旦进行更改,工作流将添加到执行队列", - "queue": "执行", - "queueWorkflow": "执行 (Shift 添加到队列首)", - "queueWorkflowFront": "执行到队列首", "refresh": "刷新节点", "resetView": "重置视图", + "run": "运行", + "runWorkflow": "运行工作流程(Shift排在前面)", + "runWorkflowFront": "运行工作流程(排在前面)", "showMenu": "显示菜单", "toggleBottomPanel": "底部面板" },