mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
[Electron] Allow force install on not supported device page (#1812)
* [Electron] Allow force install on not supported device page * Update locales [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -18,7 +18,9 @@
|
|||||||
"supportedDevices": {
|
"supportedDevices": {
|
||||||
"macos": "MacOS (M1 or later)",
|
"macos": "MacOS (M1 or later)",
|
||||||
"windows": "Windows (Nvidia GPU with CUDA support)"
|
"windows": "Windows (Nvidia GPU with CUDA support)"
|
||||||
}
|
},
|
||||||
|
"continue": "Continue",
|
||||||
|
"continueTooltip": "I am sure my device is supported"
|
||||||
},
|
},
|
||||||
"downloadGit": {
|
"downloadGit": {
|
||||||
"title": "Download git",
|
"title": "Download git",
|
||||||
|
|||||||
@@ -196,6 +196,8 @@
|
|||||||
"noTasksFoundMessage": "キューにタスクがありません。",
|
"noTasksFoundMessage": "キューにタスクがありません。",
|
||||||
"noWorkflowsFound": "ワークフローが見つかりませんでした。",
|
"noWorkflowsFound": "ワークフローが見つかりませんでした。",
|
||||||
"notSupported": {
|
"notSupported": {
|
||||||
|
"continue": "続ける",
|
||||||
|
"continueTooltip": "私のデバイスはサポートされていると確信しています",
|
||||||
"learnMore": "詳細を見る",
|
"learnMore": "詳細を見る",
|
||||||
"message": "以下のデバイスのみサポートされています:",
|
"message": "以下のデバイスのみサポートされています:",
|
||||||
"reportIssue": "問題を報告",
|
"reportIssue": "問題を報告",
|
||||||
|
|||||||
@@ -196,6 +196,8 @@
|
|||||||
"noTasksFoundMessage": "В очереди нет задач.",
|
"noTasksFoundMessage": "В очереди нет задач.",
|
||||||
"noWorkflowsFound": "Рабочие процессы не найдены.",
|
"noWorkflowsFound": "Рабочие процессы не найдены.",
|
||||||
"notSupported": {
|
"notSupported": {
|
||||||
|
"continue": "Продолжить",
|
||||||
|
"continueTooltip": "Я уверен, что мое устройство поддерживается",
|
||||||
"learnMore": "Узнать больше",
|
"learnMore": "Узнать больше",
|
||||||
"message": "Поддерживаются только следующие устройства:",
|
"message": "Поддерживаются только следующие устройства:",
|
||||||
"reportIssue": "Сообщить о проблеме",
|
"reportIssue": "Сообщить о проблеме",
|
||||||
|
|||||||
@@ -196,6 +196,8 @@
|
|||||||
"noTasksFoundMessage": "队列中没有任务。",
|
"noTasksFoundMessage": "队列中没有任务。",
|
||||||
"noWorkflowsFound": "未找到工作流",
|
"noWorkflowsFound": "未找到工作流",
|
||||||
"notSupported": {
|
"notSupported": {
|
||||||
|
"continue": "继续",
|
||||||
|
"continueTooltip": "我确定我的设备是受支持的",
|
||||||
"learnMore": "了解更多",
|
"learnMore": "了解更多",
|
||||||
"message": "仅支持以下设备:",
|
"message": "仅支持以下设备:",
|
||||||
"reportIssue": "报告问题",
|
"reportIssue": "报告问题",
|
||||||
|
|||||||
@@ -32,7 +32,15 @@
|
|||||||
:label="$t('notSupported.reportIssue')"
|
:label="$t('notSupported.reportIssue')"
|
||||||
icon="pi pi-flag"
|
icon="pi pi-flag"
|
||||||
@click="reportIssue"
|
@click="reportIssue"
|
||||||
|
severity="secondary"
|
||||||
|
/>
|
||||||
|
<Button
|
||||||
|
:label="$t('notSupported.continue')"
|
||||||
|
icon="pi pi-arrow-right"
|
||||||
|
iconPos="right"
|
||||||
|
@click="continueToInstall"
|
||||||
severity="danger"
|
severity="danger"
|
||||||
|
v-tooltip="$t('notSupported.continueTooltip')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -51,6 +59,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Button from 'primevue/button'
|
import Button from 'primevue/button'
|
||||||
|
import { useRouter } from 'vue-router'
|
||||||
|
|
||||||
const openDocs = () => {
|
const openDocs = () => {
|
||||||
window.open(
|
window.open(
|
||||||
@@ -62,4 +71,9 @@ const openDocs = () => {
|
|||||||
const reportIssue = () => {
|
const reportIssue = () => {
|
||||||
window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')
|
window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const router = useRouter()
|
||||||
|
const continueToInstall = () => {
|
||||||
|
router.push('/install')
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user