diff --git a/frontend/index.html b/frontend/index.html index 3180a5fb..ce54c687 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - Sub2API - AI API Gateway + StarFireAPI - AI API Gateway
diff --git a/frontend/src/components/layout/AppHeader.vue b/frontend/src/components/layout/AppHeader.vue index 9d2b40fb..6d19bf12 100644 --- a/frontend/src/components/layout/AppHeader.vue +++ b/frontend/src/components/layout/AppHeader.vue @@ -120,18 +120,14 @@ - + {{ t('nav.github') }} diff --git a/frontend/src/i18n/locales/en.ts b/frontend/src/i18n/locales/en.ts index dc93d37c..4c0afee3 100644 --- a/frontend/src/i18n/locales/en.ts +++ b/frontend/src/i18n/locales/en.ts @@ -1,7 +1,7 @@ export default { // Home Page home: { - viewOnGithub: 'View on GitHub', + viewOnGithub: 'View Documentation', viewDocs: 'View Documentation', docs: 'Docs', switchToLight: 'Switch to Light Mode', @@ -43,8 +43,8 @@ export default { // Setup Wizard setup: { - title: 'Sub2API Setup', - description: 'Configure your Sub2API instance', + title: 'StarFireAPI Setup', + description: 'Configure your StarFireAPI instance', database: { title: 'Database Configuration', description: 'Connect to your PostgreSQL database', @@ -204,7 +204,7 @@ export default { collapse: 'Collapse', expand: 'Expand', logout: 'Logout', - github: 'GitHub', + github: 'Official Site', mySubscriptions: 'My Subscriptions', buySubscription: 'Purchase Subscription', docs: 'Docs' @@ -2836,7 +2836,7 @@ export default { secretKeyConfiguredHint: 'Secret key configured. Leave empty to keep the current value.' }, linuxdo: { title: 'LinuxDo Connect Login', - description: 'Configure LinuxDo Connect OAuth for Sub2API end-user login', + description: 'Configure LinuxDo Connect OAuth for StarFireAPI end-user login', enable: 'Enable LinuxDo Login', enableHint: 'Show LinuxDo login on the login/register pages', clientId: 'Client ID', @@ -2866,7 +2866,7 @@ export default { title: 'Site Settings', description: 'Customize site branding', siteName: 'Site Name', - siteNamePlaceholder: 'Sub2API', + siteNamePlaceholder: 'StarFireAPI', siteNameHint: 'Displayed in emails and page titles', siteSubtitle: 'Site Subtitle', siteSubtitlePlaceholder: 'Subscription to API Conversion Platform', @@ -2925,7 +2925,7 @@ export default { fromEmail: 'From Email', fromEmailPlaceholder: "noreply{'@'}example.com", fromName: 'From Name', - fromNamePlaceholder: 'Sub2API', + fromNamePlaceholder: 'StarFireAPI', useTls: 'Use TLS', useTlsHint: 'Enable TLS encryption for SMTP connection' }, @@ -3106,7 +3106,7 @@ export default { // Admin tour steps admin: { welcome: { - title: '👋 Welcome to Sub2API', + title: '👋 Welcome to StarFireAPI', description: '

Sub2API is a powerful AI service gateway platform that helps you easily manage and distribute AI services.

🎯 Core Features:

Let\'s complete the initial setup in 3 minutes →

', nextBtn: 'Start Setup 🚀', prevBtn: 'Skip' @@ -3206,8 +3206,8 @@ export default { // User tour steps user: { welcome: { - title: '👋 Welcome to Sub2API', - description: '

Hello! Welcome to the Sub2API AI service platform.

🎯 Quick Start:

Just 1 minute, let\'s get started →

', + title: '👋 Welcome to StarFireAPI', + description: '

Hello! Welcome to the StarFireAPI AI service platform.

🎯 Quick Start:

Just 1 minute, let\'s get started →

', nextBtn: 'Start 🚀', prevBtn: 'Skip' }, diff --git a/frontend/src/i18n/locales/zh.ts b/frontend/src/i18n/locales/zh.ts index 4b6a9be6..bdbae4e4 100644 --- a/frontend/src/i18n/locales/zh.ts +++ b/frontend/src/i18n/locales/zh.ts @@ -1,7 +1,7 @@ export default { // Home Page home: { - viewOnGithub: '在 GitHub 上查看', + viewOnGithub: '查看文档', viewDocs: '查看文档', docs: '文档', switchToLight: '切换到浅色模式', @@ -40,8 +40,8 @@ export default { // Setup Wizard setup: { - title: 'Sub2API 安装向导', - description: '配置您的 Sub2API 实例', + title: 'StarFireAPI 安装向导', + description: '配置您的 StarFireAPI 实例', database: { title: '数据库配置', description: '连接到您的 PostgreSQL 数据库', @@ -201,7 +201,7 @@ export default { collapse: '收起', expand: '展开', logout: '退出登录', - github: 'GitHub', + github: '官网', mySubscriptions: '我的订阅', buySubscription: '购买订阅', docs: '文档' @@ -2989,7 +2989,7 @@ export default { secretKeyConfiguredHint: '密钥已配置,留空以保留当前值。' }, linuxdo: { title: 'LinuxDo Connect 登录', - description: '配置 LinuxDo Connect OAuth,用于 Sub2API 用户登录', + description: '配置 LinuxDo Connect OAuth,用于 StarFireAPI 用户登录', enable: '启用 LinuxDo 登录', enableHint: '在登录/注册页面显示 LinuxDo 登录入口', clientId: 'Client ID', @@ -3019,7 +3019,7 @@ export default { description: '自定义站点品牌', siteName: '站点名称', siteNameHint: '显示在邮件和页面标题中', - siteNamePlaceholder: 'Sub2API', + siteNamePlaceholder: 'StarFireAPI', siteSubtitle: '站点副标题', siteSubtitleHint: '显示在登录和注册页面', siteSubtitlePlaceholder: '订阅转 API 转换平台', @@ -3076,7 +3076,7 @@ export default { fromEmail: '发件人邮箱', fromEmailPlaceholder: "noreply{'@'}example.com", fromName: '发件人名称', - fromNamePlaceholder: 'Sub2API', + fromNamePlaceholder: 'StarFireAPI', useTls: '使用 TLS', useTlsHint: '为 SMTP 连接启用 TLS 加密' }, @@ -3254,7 +3254,7 @@ export default { // Admin tour steps admin: { welcome: { - title: '👋 欢迎使用 Sub2API', + title: '👋 欢迎使用 StarFireAPI', description: '

Sub2API 是一个强大的 AI 服务中转平台,让您轻松管理和分发 AI 服务。

🎯 核心功能:

接下来,我们将用 3 分钟带您完成首次配置 →

', nextBtn: '开始配置 🚀', prevBtn: '跳过' @@ -3354,8 +3354,8 @@ export default { // User tour steps user: { welcome: { - title: '👋 欢迎使用 Sub2API', - description: '

您好!欢迎来到 Sub2API AI 服务平台。

🎯 快速开始:

只需 1 分钟,让我们开始吧 →

', + title: '👋 欢迎使用 StarFireAPI', + description: '

您好!欢迎来到 StarFireAPI AI 服务平台。

🎯 快速开始:

只需 1 分钟,让我们开始吧 →

', nextBtn: '开始 🚀', prevBtn: '跳过' }, diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index 6a3753f1..d3a5b16d 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -391,12 +391,12 @@ {{ t('home.docs') }} - GitHub + 官网 @@ -417,7 +417,7 @@ const authStore = useAuthStore() const appStore = useAppStore() // Site settings - directly from appStore (already initialized from injected config) -const siteName = computed(() => appStore.cachedPublicSettings?.site_name || appStore.siteName || 'Sub2API') +const siteName = computed(() => appStore.cachedPublicSettings?.site_name || appStore.siteName || 'StarFireAPI') const siteLogo = computed(() => appStore.cachedPublicSettings?.site_logo || appStore.siteLogo || '') const siteSubtitle = computed(() => appStore.cachedPublicSettings?.site_subtitle || 'AI API Gateway Platform') const docUrl = computed(() => appStore.cachedPublicSettings?.doc_url || appStore.docUrl || '') @@ -432,8 +432,8 @@ const isHomeContentUrl = computed(() => { // Theme const isDark = ref(document.documentElement.classList.contains('dark')) -// GitHub URL -const githubUrl = 'https://github.com/Wei-Shaw/sub2api' +// Official Site URL +const officialUrl = 'https://anthropic.edu.pl' // Auth state const isAuthenticated = computed(() => authStore.isAuthenticated) diff --git a/frontend/src/views/auth/EmailVerifyView.vue b/frontend/src/views/auth/EmailVerifyView.vue index 3b6b45ba..bcba66aa 100644 --- a/frontend/src/views/auth/EmailVerifyView.vue +++ b/frontend/src/views/auth/EmailVerifyView.vue @@ -206,7 +206,7 @@ const hasRegisterData = ref(false) // Public settings const turnstileEnabled = ref(false) const turnstileSiteKey = ref('') -const siteName = ref('Sub2API') +const siteName = ref('StarFireAPI') // Turnstile for resend const turnstileRef = ref | null>(null) diff --git a/frontend/src/views/auth/RegisterView.vue b/frontend/src/views/auth/RegisterView.vue index e1355bbd..e5946326 100644 --- a/frontend/src/views/auth/RegisterView.vue +++ b/frontend/src/views/auth/RegisterView.vue @@ -263,7 +263,7 @@ const emailVerifyEnabled = ref(false) const promoCodeEnabled = ref(true) const turnstileEnabled = ref(false) const turnstileSiteKey = ref('') -const siteName = ref('Sub2API') +const siteName = ref('StarFireAPI') const linuxdoOAuthEnabled = ref(false) // Turnstile