feat(i18n): 将前端用户可见中文硬编码改为四语言
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dce915ea30
commit
ac7b53a523
105 files changed
+2928
-647
No files matched your search
@@ -1,7 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/workspace/views/WorkspaceLayout.vue
|
||||
* 工作台布局壳:初始化 composable、侧边栏、子路由出口与全局弹窗。
|
||||
* 用途:工作台布局壳:初始化 composable、侧边栏、子路由出口与全局弹窗。
|
||||
* 依赖:useWorkspace、WorkspaceSidebar/Modals、ExternalSystemLinks。
|
||||
* 逻辑:provide WORKSPACE_KEY;移动端返回按钮文案走 workspace.nav.backShort。
|
||||
*/
|
||||
import { provide } from 'vue';
|
||||
import { LayoutGrid, Bot, User } from 'lucide-vue-next';
|
||||
@@ -40,7 +42,7 @@ const mobileTabs = [
|
||||
class="flex h-7 w-7 items-center justify-center rounded-lg bg-gradient-to-br from-brand-500 via-brand-600 to-purple-600 text-xs font-bold text-white shadow-sm shadow-brand-500/20"
|
||||
:title="$t('workspace.nav.backToChat')"
|
||||
>
|
||||
返
|
||||
{{ $t('workspace.nav.backShort') }}
|
||||
</button>
|
||||
<span class="text-sm font-semibold text-primary">{{ ws.mobileTabTitle }}</span>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user