update: 系统功能配置完善多语言

This commit is contained in:
zhuoqinglian
2026-06-12 14:23:25 +08:00
parent b2876def99
commit 67532dc230
7 changed files with 60 additions and 13 deletions
+8
View File
@@ -1414,6 +1414,14 @@ export default {
'featureManagement.cancel': 'Abbrechen',
'featureManagement.resetSuccess': 'Funktionskonfiguration erfolgreich zurückgesetzt',
'featureManagement.noChanges': 'Keine Änderungen zum Speichern',
'featureManagement.saving': 'Speichern...',
'featureManagement.groupName.featureManagement': 'Funktionsmodul-Schalter',
'featureManagement.groupName.voiceManagement': 'Agent-Sichtbarkeitskonfiguration',
'featureManagement.groupDescription.featureManagement': 'Aktivierungsstatus der Kernfunktionsmodule steuern',
'featureManagement.groupDescription.voiceManagement': 'Konfigurieren, welche Funktionen für Agenten (KI-Assistenten) sichtbar und verfügbar sind',
'featureManagement.moduleCount': '{count} Module insgesamt',
'featureManagement.enabled': 'Aktiviert',
'featureManagement.disabled': 'Deaktiviert',
// Feature names and descriptions
'feature.voiceprintRecognition.name': 'Stimmerkennung',
+8
View File
@@ -1414,6 +1414,14 @@ export default {
'featureManagement.cancel': 'Cancel',
'featureManagement.resetSuccess': 'Feature configuration reset successfully',
'featureManagement.noChanges': 'No changes to save',
'featureManagement.saving': 'Saving...',
'featureManagement.groupName.featureManagement': 'Feature Module Switch',
'featureManagement.groupName.voiceManagement': 'Agent Visible Configuration',
'featureManagement.groupDescription.featureManagement': 'Control the enable status of core feature modules',
'featureManagement.groupDescription.voiceManagement': 'Configure which features are visible and available to agents (AI assistants)',
'featureManagement.moduleCount': '{count} modules in total',
'featureManagement.enabled': 'Enabled',
'featureManagement.disabled': 'Disabled',
// Feature names and descriptions
'feature.voiceprintRecognition.name': 'Voiceprint Recognition',
+8
View File
@@ -1414,6 +1414,14 @@ export default {
'featureManagement.cancel': 'Cancelar',
'featureManagement.resetSuccess': 'Configuração de funcionalidades redefinida com sucesso',
'featureManagement.noChanges': 'Nenhuma alteração para salvar',
'featureManagement.saving': 'Salvando...',
'featureManagement.groupName.featureManagement': 'Interruptor de Módulo de Funcionalidade',
'featureManagement.groupName.voiceManagement': 'Configuração de Visibilidade do Agente',
'featureManagement.groupDescription.featureManagement': 'Controlar o status de ativação dos módulos de funcionalidade principal',
'featureManagement.groupDescription.voiceManagement': 'Configurar quais funcionalidades são visíveis e disponíveis para agentes (assistentes de IA)',
'featureManagement.moduleCount': '{count} módulos no total',
'featureManagement.enabled': 'Ativado',
'featureManagement.disabled': 'Desativado',
// Nomes e descrições de funcionalidades
'feature.voiceprintRecognition.name': 'Reconhecimento de Impressão Vocal',
+8
View File
@@ -1414,6 +1414,14 @@ export default {
'featureManagement.cancel': 'Hủy bỏ',
'featureManagement.resetSuccess': 'Cấu hình tính năng đã được đặt lại thành công',
'featureManagement.noChanges': 'Không có thay đổi nào để lưu',
'featureManagement.saving': 'Đang lưu...',
'featureManagement.groupName.featureManagement': 'Công tắc mô-đun tính năng',
'featureManagement.groupName.voiceManagement': 'Cấu hình hiển thị Agent',
'featureManagement.groupDescription.featureManagement': 'Kiểm soát trạng thái kích hoạt của các mô-đun tính năng cốt lõi',
'featureManagement.groupDescription.voiceManagement': 'Cấu hình các tính năng hiển thị và khả dụng cho agent (trợ lý AI)',
'featureManagement.moduleCount': 'Tổng cộng {count} mô-đun',
'featureManagement.enabled': 'Đã bật',
'featureManagement.disabled': 'Chưa bật',
// Feature names and descriptions
'feature.voiceprintRecognition.name': 'Nhận dạng giọng nói',
+8
View File
@@ -1412,6 +1412,14 @@ export default {
'featureManagement.cancel': '取消',
'featureManagement.resetSuccess': '功能配置重置成功',
'featureManagement.noChanges': '没有需要保存的更改',
'featureManagement.saving': '保存中...',
'featureManagement.groupName.featureManagement': '功能模块开关',
'featureManagement.groupName.voiceManagement': '智能体可见配置',
'featureManagement.groupDescription.featureManagement': '控制系统核心功能模块的启用状态',
'featureManagement.groupDescription.voiceManagement': '配置哪些功能对智能体(AI助手)可见和可用',
'featureManagement.moduleCount': '共 {count} 个模块',
'featureManagement.enabled': '已启用',
'featureManagement.disabled': '未启用',
// 功能名称和描述
'feature.voiceprintRecognition.name': '声纹识别',
+8
View File
@@ -1414,6 +1414,14 @@ export default {
'featureManagement.cancel': '取消',
'featureManagement.resetSuccess': '功能配置重置成功',
'featureManagement.noChanges': '沒有需要儲存的更改',
'featureManagement.saving': '儲存中...',
'featureManagement.groupName.featureManagement': '功能模組開關',
'featureManagement.groupName.voiceManagement': '智能體可見配置',
'featureManagement.groupDescription.featureManagement': '控制系統核心功能模組的啟用狀態',
'featureManagement.groupDescription.voiceManagement': '配置哪些功能對智能體(AI助手)可見和可用',
'featureManagement.moduleCount': '共 {count} 個模組',
'featureManagement.enabled': '已啟用',
'featureManagement.disabled': '未啟用',
// 功能名稱和描述
'feature.voiceprintRecognition.name': '聲紋識別',
@@ -20,7 +20,7 @@
</div>
</div>
<div class="divider"></div>
<!-- 功能分组容器 - 左右布局 -->
<div class="feature-groups-container">
<!-- 功能管理分组 -->
@@ -28,11 +28,11 @@
<div class="group-title">
<img src="@/assets/setting/menu.png" alt="" width="28" height="28">
<div class="group-header">
<span class="group-name">功能模块开关</span>
<span class="module-count">{{ `${featureManagementFeatures.length} 个模块` }}</span>
<span class="group-name">{{ $t('featureManagement.groupName.featureManagement') }}</span>
<span class="module-count">{{ $t('featureManagement.moduleCount', { count: featureManagementFeatures.length }) }}</span>
</div>
</div>
<p class="group-description">控制系统核心功能模块的启用状态</p>
<p class="group-description">{{ $t('featureManagement.groupDescription.featureManagement') }}</p>
<div class="features-grid">
<div
v-for="feature in featureManagementFeatures"
@@ -45,8 +45,8 @@
<div class="feature-content">
<div class="feature-header">
<h3 class="feature-name">{{ $t(`feature.${feature.id}.name`) }}</h3>
<span v-if="feature.enabled" class="feature-enabled-tag">已启用</span>
<span v-else class="feature-disabled-tag">未启用</span>
<span v-if="feature.enabled" class="feature-enabled-tag">{{ $t('featureManagement.enabled') }}</span>
<span v-else class="feature-disabled-tag">{{ $t('featureManagement.disabled') }}</span>
</div>
<p class="feature-description">{{ $t(`feature.${feature.id}.description`) }}</p>
</div>
@@ -61,18 +61,17 @@
</div>
</div>
</div>
<!-- 语音管理分组 -->
<div v-if="voiceManagementFeatures.length > 0" class="feature-group">
<div class="group-title">
<img src="@/assets/setting/agent.png" alt="" width="28" height="28">
<div class="group-header">
<span class="group-name">智能体可见配置</span>
<span class="module-count">{{ `${voiceManagementFeatures.length} 个模块` }}</span>
<span class="group-name">{{ $t('featureManagement.groupName.voiceManagement') }}</span>
<span class="module-count">{{ $t('featureManagement.moduleCount', { count: voiceManagementFeatures.length }) }}</span>
</div>
</div>
<p class="group-description">配置哪些功能对智能体AI助手可见和可用</p>
<!-- <h3 class="group-title">{{ $t('featureManagement.group.voiceManagement') }}</h3> -->
<p class="group-description">{{ $t('featureManagement.groupDescription.voiceManagement') }}</p>
<div class="features-grid">
<div
v-for="feature in voiceManagementFeatures"
@@ -85,8 +84,8 @@
<div class="feature-content">
<div class="feature-header">
<h3 class="feature-name">{{ $t(`feature.${feature.id}.name`) }}</h3>
<span v-if="feature.enabled" class="feature-enabled-tag">已启用</span>
<span v-else class="feature-disabled-tag">未启用</span>
<span v-if="feature.enabled" class="feature-enabled-tag">{{ $t('featureManagement.enabled') }}</span>
<span v-else class="feature-disabled-tag">{{ $t('featureManagement.disabled') }}</span>
</div>
<p class="feature-description">{{ $t(`feature.${feature.id}.description`) }}</p>
</div>