Skip to content

Commit

Permalink
chore: update common locales
Browse files Browse the repository at this point in the history
  • Loading branch information
FU-design committed Nov 15, 2024
1 parent c13f012 commit 3bc7f07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion bigtop-manager-ui/src/locales/en_US/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ export default {
'Delete will not be recoverable, are you sure you want to delete {0} ?',
no_options: 'No options',
loadingText_verifying: 'Verifying',
enter_error: 'Enter {0}'
enter_error: 'Please enter {0}',
select_error: 'Please select {0}'
}
3 changes: 2 additions & 1 deletion bigtop-manager-ui/src/locales/zh_CN/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ export default {
delete_confirm_content: '删除后无法恢复,确定要删除 {0} 吗?',
no_options: '暂无选项',
loadingText_verifying: '校验中',
enter_error: '请输入{0}'
enter_error: '请输入{0}',
select_error: '请选择{0}'
}
8 changes: 4 additions & 4 deletions bigtop-manager-ui/src/store/llm-config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ export function useFormItemConfig() {
rules: [
{
required: true,
message: t('common.enter_error', [
message: t('common.select_error', [
t('llmConfig.platform_name').toLowerCase()
]),
trigger: 'blur'
}
]
},
controlProps: {
placeholder: t('common.enter_error', [
placeholder: t('common.select_error', [
t('llmConfig.platform_name').toLowerCase()
])
}
Expand All @@ -82,15 +82,15 @@ export function useFormItemConfig() {
rules: [
{
required: true,
message: t('common.enter_error', [
message: t('common.select_error', [
t('llmConfig.model').toLowerCase()
]),
trigger: 'blur'
}
]
},
controlProps: {
placeholder: t('common.enter_error', [
placeholder: t('common.select_error', [
t('llmConfig.model').toLowerCase()
])
}
Expand Down

0 comments on commit 3bc7f07

Please sign in to comment.