fix(web): say the API key format is wrong rather than naming the characters
This commit is contained in:
@@ -47,7 +47,7 @@ export const en = {
|
||||
removeModel: 'Delete model',
|
||||
modelsEmpty: 'No models will be shown in the selector. Unlisted IDs can still be sent directly.',
|
||||
keyBlank: 'Enter the API key, or leave the field empty to keep the stored one.',
|
||||
keyIllegalCharacters: 'This API key contains characters that cannot be sent. Paste the raw key only.',
|
||||
keyIllegalCharacters: 'This API key is not in a valid format. Please check it.',
|
||||
keyLooksWrapped: 'Paste only the key itself — not a NAME=value line, and without surrounding quotes.',
|
||||
modelIdRequired: 'Model ID is required.',
|
||||
modelIdDuplicate: 'Model ID must be unique.',
|
||||
@@ -134,7 +134,7 @@ export const zh: typeof en = {
|
||||
removeModel: '删除模型',
|
||||
modelsEmpty: '模型选择器中将不显示任何模型;目录外 ID 仍可直接发送。',
|
||||
keyBlank: '请输入 API 密钥;留空则保持已存储的密钥。',
|
||||
keyIllegalCharacters: '该 API 密钥含有无法发送的字符。请只粘贴原始密钥。',
|
||||
keyIllegalCharacters: '该 API 密钥格式错误,请检查。',
|
||||
keyLooksWrapped: '请只粘贴密钥本身——不要带 NAME=value 整行,也不要带引号。',
|
||||
modelIdRequired: '模型 ID 不能为空。',
|
||||
modelIdDuplicate: '模型 ID 不能重复。',
|
||||
|
||||
Reference in New Issue
Block a user