Skip to content

Commit c4257c3

Browse files
committed
Clean up AI plugin translations and add copiedSuccess
- Remove unused 'language' key from ai.settings (plugin no longer has language option) - Add 'copiedSuccess' message for clipboard copy feedback - Ensure consistency between English and Chinese translations Plugin language is now fully controlled by main app settings, with no duplicate language selection in plugin UI.
1 parent 159d481 commit c4257c3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

console/atest-ui/src/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
"subtitle": "Natural language to SQL query generator",
9999
"settings": {
100100
"title": "Settings",
101-
"language": "Language",
102101
"provider": "Provider",
103102
"endpoint": "Endpoint",
104103
"model": "Model",
@@ -153,7 +152,8 @@
153152
"configSaveFailed": "Saved locally, backend sync failed",
154153
"connectionSuccess": "Connection successful!",
155154
"connectionFailed": "Connection failed",
156-
"generating": "Generating SQL..."
155+
"generating": "Generating SQL...",
156+
"copiedSuccess": "Copied to clipboard"
157157
}
158158
},
159159
"//see http spec": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",

console/atest-ui/src/locales/zh.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
"subtitle": "自然语言转SQL查询生成器",
9595
"settings": {
9696
"title": "设置",
97-
"language": "语言",
9897
"provider": "提供者",
9998
"endpoint": "端点",
10099
"model": "模型",
@@ -149,7 +148,8 @@
149148
"configSaveFailed": "本地保存成功,后端同步失败",
150149
"connectionSuccess": "连接成功!",
151150
"connectionFailed": "连接失败",
152-
"generating": "生成SQL中..."
151+
"generating": "生成SQL中...",
152+
"copiedSuccess": "已复制到剪贴板"
153153
}
154154
},
155155
"httpCode": {

0 commit comments

Comments
 (0)