fix: input img url fall back image
This commit is contained in:
@@ -158,8 +158,7 @@ export default {
|
||||
'playground.uploadfile.sizeError':
|
||||
'File size exceeds the limit. Maximum allowed: {size}.',
|
||||
'playground.uploadImage.url.invalid':
|
||||
'Please enter a direct .png or .jpg image URL (e.g. https://.../image.png). Press ESC to cancel.',
|
||||
'playground.uploadImage.url.holder':
|
||||
'Enter an image URL (supports .png, .jpeg, .jpg)',
|
||||
'Please enter a direct image URL (e.g. https://.../image.png). Press ESC to cancel.',
|
||||
'playground.uploadImage.url.holder': 'Enter an image URL',
|
||||
'playground.uploadImage.url.button': 'Add Image from URL'
|
||||
};
|
||||
|
||||
@@ -161,9 +161,8 @@ export default {
|
||||
'playground.uploadfile.sizeError':
|
||||
'File size exceeds the limit. Maximum allowed: {size}.',
|
||||
'playground.uploadImage.url.invalid':
|
||||
'Please enter a direct .png or .jpg image URL (e.g. https://.../image.png). Press ESC to cancel.',
|
||||
'playground.uploadImage.url.holder':
|
||||
'Enter an image URL (supports .png, .jpeg, .jpg)',
|
||||
'Please enter a direct image URL (e.g. https://.../image.png). Press ESC to cancel.',
|
||||
'playground.uploadImage.url.holder': 'Enter an image URL',
|
||||
'playground.uploadImage.url.button': 'Add Image from URL'
|
||||
};
|
||||
|
||||
@@ -171,7 +170,7 @@ export default {
|
||||
// 1. 'playground.rerank.query.validate': 'The query is required.'
|
||||
// 2. 'playground.image.generate.error': 'Something went wrong. The image could not be generated.',
|
||||
// 3. 'playground.uploadfile.sizeError': 'File size exceeds the limit. Maximum allowed: {size}.'
|
||||
// 4. 'playground.uploadImage.url.invalid': 'Please enter a direct .png or .jpg image URL(e.g. https://.../image.png). Press ESC to cancel.',
|
||||
// 5. 'playground.uploadImage.url.holder': 'Enter an image URL (supports .png, .jpeg, .jpg)'
|
||||
// 4. 'playground.uploadImage.url.invalid': 'Please enter a direct image URL(e.g. https://.../image.png). Press ESC to cancel.',
|
||||
// 5. 'playground.uploadImage.url.holder': 'Enter an image URL'
|
||||
// 6. 'playground.uploadImage.url.button': 'Add Image from URL'
|
||||
// ========== End of To-Do List ==========
|
||||
|
||||
@@ -155,14 +155,13 @@ export default {
|
||||
'playground.uploadfile.sizeError':
|
||||
'Размер файла превышает ограничение. Максимальный размер: {size}.',
|
||||
'playground.uploadImage.url.invalid':
|
||||
'Please enter a direct .png or .jpg image URL (e.g. https://.../image.png). Press ESC to cancel.',
|
||||
'playground.uploadImage.url.holder':
|
||||
'Enter an image URL (supports .png, .jpeg, .jpg)',
|
||||
'Please enter a direct image URL (e.g. https://.../image.png). Press ESC to cancel.',
|
||||
'playground.uploadImage.url.holder': 'Enter an image URL',
|
||||
'playground.uploadImage.url.button': 'Add Image from URL'
|
||||
};
|
||||
|
||||
// ========== To-Do: Translate Keys (Remove After Translation) ==========
|
||||
// 1. 'playground.uploadImage.url.invalid': 'Please enter a direct .png or .jpg image URL(e.g. https://.../image.png). Press ESC to cancel.',
|
||||
// 2. 'playground.uploadImage.url.holder': 'Enter an image URL (supports .png, .jpeg, .jpg)',
|
||||
// 1. 'playground.uploadImage.url.invalid': 'Please enter a direct image URL(e.g. https://.../image.png). Press ESC to cancel.',
|
||||
// 2. 'playground.uploadImage.url.holder': 'Enter an image URL',
|
||||
// 3. 'playground.uploadImage.url.button': 'Add Image from URL'
|
||||
// ========== End of To-Do List ==========
|
||||
|
||||
@@ -151,8 +151,7 @@ export default {
|
||||
'playground.uploadfile.sizeError':
|
||||
'上传的文件大小超过限制,最大允许 {size}。',
|
||||
'playground.uploadImage.url.invalid':
|
||||
'请输入直接的 .png 或 .jpg 图片链接(例如:https://…/image.png)。按 ESC 可取消。',
|
||||
'playground.uploadImage.url.holder':
|
||||
'请输入图片链接(支持 .png、.jpeg、.jpg 格式)',
|
||||
'请输入直接的图片链接(例如:https://…/image.png)。按 ESC 可取消。',
|
||||
'playground.uploadImage.url.holder': '请输入图片链接',
|
||||
'playground.uploadImage.url.button': '从链接添加图片'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user