feat(i18n): 为评论系统添加国际化支持

- 在管理后台引入 vue-i18n 并添加多语言文件
- 为前端评论组件添加翻译功能,支持自动语言检测
- 在功能设置中新增管理后台和组件语言配置选项
- 更新 API 接口以支持语言设置存储
- 优化菜单项文本溢出显示样式
This commit is contained in:
anghunk
2026-02-10 14:26:38 +08:00
parent 860830cee2
commit 4d9e2d8d31
39 changed files with 6023 additions and 332 deletions

View File

@@ -157,6 +157,12 @@
gap: 8px;
}
.menu-item span {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.menu-item-icon {
flex: 0 0 auto;
}
@@ -307,4 +313,4 @@
.layout-actions-item-danger:hover {
background-color: rgba(209, 36, 47, 0.1);
}
}
}