fix ui: add form validator
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
"providers": {
|
||||
"title": "Providers",
|
||||
"name": "Name",
|
||||
"api_base_url": "API Base URL",
|
||||
"api_base_url": "API Full URL",
|
||||
"api_key": "API Key",
|
||||
"models": "Models",
|
||||
"models_placeholder": "Enter model name and press Enter to add",
|
||||
@@ -80,7 +80,8 @@
|
||||
"selected_transformers": "Selected Transformers",
|
||||
"import_from_template": "Import from template",
|
||||
"no_templates_found": "No templates found",
|
||||
"select_template": "Select a template..."
|
||||
"select_template": "Select a template...",
|
||||
"api_key_required": "API Key is required"
|
||||
|
||||
},
|
||||
"router": {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"providers": {
|
||||
"title": "供应商",
|
||||
"name": "名称",
|
||||
"api_base_url": "API 基础地址",
|
||||
"api_base_url": "API 完整地址",
|
||||
"api_key": "API 密钥",
|
||||
"models": "模型",
|
||||
"models_placeholder": "输入模型名称并按回车键添加",
|
||||
@@ -80,7 +80,8 @@
|
||||
"selected_transformers": "已选转换器",
|
||||
"import_from_template": "从模板导入",
|
||||
"no_templates_found": "未找到模板",
|
||||
"select_template": "选择一个模板..."
|
||||
"select_template": "选择一个模板...",
|
||||
"api_key_required": "API 密钥为必填项"
|
||||
|
||||
},
|
||||
"router": {
|
||||
@@ -103,4 +104,4 @@
|
||||
"save_failed": "配置保存失败",
|
||||
"save_and_restart": "保存并重启"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user