From 64ef0f18b1699125b7b96f50bb814171175cdbff Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 11 Nov 2024 11:13:59 -0500 Subject: [PATCH] Fix welcome page welcome text selection (#1508) --- src/i18n.ts | 4 ++++ src/views/WelcomeView.vue | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/i18n.ts b/src/i18n.ts index 0b1fe9dd0..a354cffe9 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -2,6 +2,10 @@ import { createI18n } from 'vue-i18n' const messages = { en: { + welcome: { + title: 'Welcome to ComfyUI', + getStarted: 'Get Started' + }, install: { installLocation: 'Install Location', migration: 'Migration', diff --git a/src/views/WelcomeView.vue b/src/views/WelcomeView.vue index 793fbb828..cea1a18ba 100644 --- a/src/views/WelcomeView.vue +++ b/src/views/WelcomeView.vue @@ -4,11 +4,13 @@ >
-

Welcome to ComfyUI

+

+ {{ $t('welcome.title') }} +