Commit cdf96593 authored by nick zheng's avatar nick zheng

chore: 应用名称创建时跟随系统语言

parent d97ecd47
......@@ -256,6 +256,7 @@ personal_space_module:
application_empty: 'No application created'
agent_setting_module:
my_agent: 'My Agent'
modified: 'Have been changed'
auto_save_in: 'Autosave to'
update_publish_btn_text: 'Update release'
......
......@@ -254,6 +254,7 @@ personal_space_module:
application_empty: '未创建应用'
agent_setting_module:
my_agent: '我的Agent应用'
modified: '已变更'
auto_save_in: '自动保存于'
update_publish_btn_text: '更新发布'
......
......@@ -254,6 +254,7 @@ personal_space_module:
application_empty: '未創建應用'
agent_setting_module:
my_agent: '我的Agent應用'
modified: '已變更'
auto_save_in: '自動保存於'
update_publish_btn_text: '更新發布'
......
import { defineStore } from 'pinia'
import { PersonalAppConfigState } from '../types/personal-app-config'
import i18n from '@/locales'
const { t } = i18n.global
export function defaultPersonalAppConfigState(): PersonalAppConfigState {
return {
baseInfo: {
agentId: '',
agentTitle: '我的Agent应用',
agentTitle: t('personal_space_module.agent_module.agent_setting_module.my_agent'),
agentAvatar: 'https://gsst-poe-sit.gz.bcebos.com/data/20240911/1726041369632.webp',
agentDesc: '',
agentSystem: '',
......
......@@ -264,6 +264,7 @@ declare namespace I18n {
}
agent_setting_module: {
my_agent: string
modified: string
auto_save_in: string
update_publish_btn_text: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment