@@ -88,8 +88,8 @@ watch(() => props.apiKey, (newKey) => {
8888
8989 <div class =" space-y-4" >
9090 <div class =" space-y-2" >
91- <label class =" text-sm font-medium" >{{ t('keyName ') }}</label >
92- <Input v-model =" config.name" :placeholder =" t('keyNamePlaceholder ')" autocomplete =" off" />
91+ <label class =" text-sm font-medium" >{{ t('name ') }}</label >
92+ <Input v-model =" config.name" :placeholder =" t('namePlaceholder ')" autocomplete =" off" />
9393 </div >
9494
9595 <div class =" space-y-2" >
@@ -127,8 +127,9 @@ watch(() => props.apiKey, (newKey) => {
127127 </AlertDialogFooter >
128128 </AlertDialogContent >
129129 </AlertDialog >
130- <Button class =" flex-1" :disabled =" !isConfigValid" @click =" handleSave" >
131- {{ t('saveChanges') }}
130+ <div class =" flex-1" />
131+ <Button :disabled =" !isConfigValid" @click =" handleSave" >
132+ {{ t('save') }}
132133 </Button >
133134 </div >
134135 </div >
@@ -138,10 +139,10 @@ watch(() => props.apiKey, (newKey) => {
138139
139140<i18n lang="yaml">
140141en-US :
141- title : Edit Provider
142- description : Modify Provider configuration information
143- keyName : Provider Name
144- keyNamePlaceholder : ' e.g.: OpenAI'
142+ title : Edit API Key
143+ description : Modify API Key configuration information
144+ name : Name
145+ namePlaceholder : ' e.g.: OpenAI'
145146 baseUrl : Base URL
146147 baseUrlPlaceholder : ' https://api.openai.com/v1'
147148 apiKey : API Key
@@ -150,13 +151,13 @@ en-US:
150151 confirmDeleteTitle : Confirm Delete
151152 confirmDeleteDescription : Are you sure you want to delete this Provider? This action cannot be undone.
152153 cancel : Cancel
153- saveChanges : Save Changes
154+ save : Save
154155
155156zh-CN :
156- title : 编辑 Provider
157- description : 修改 Provider 的配置信息
158- keyName : Provider 名称
159- keyNamePlaceholder : ' 例如: OpenAI'
157+ title : 编辑 API Key
158+ description : 修改 API Key 的配置信息
159+ name : 名称
160+ namePlaceholder : ' 例如: OpenAI'
160161 baseUrl : Base URL
161162 baseUrlPlaceholder : ' https://api.openai.com/v1'
162163 apiKey : API Key
@@ -165,5 +166,5 @@ zh-CN:
165166 confirmDeleteTitle : 确认删除
166167 confirmDeleteDescription : 确定要删除 Provider 吗?此操作无法撤销。
167168 cancel : 取消
168- saveChanges : 保存更改
169+ save : 保存
169170 </i18n >
0 commit comments