forked from boos/BoosAPI
feat: support local avatar uploads
This commit is contained in:
@@ -180,6 +180,18 @@ export const zhToEnSupplemental: Record<string, string> = {
|
||||
'个模型': 'models',
|
||||
'个人信息': 'personal information',
|
||||
'个人信息已保存': 'Personal information has been saved',
|
||||
'头像实时预览': 'Avatar live preview',
|
||||
'会同步显示在右上角和侧边栏。': 'It will appear in the top-right menu and sidebar.',
|
||||
'本地上传头像': 'Upload local avatar',
|
||||
'选择图片': 'Choose image',
|
||||
'已选择本地头像': 'Local avatar selected',
|
||||
'未选择文件': 'No file selected',
|
||||
'图片会压缩后保存在本机浏览器,不上传服务器。': 'The image is compressed and saved in this browser, not uploaded to the server.',
|
||||
'头像文件必须是图片格式': 'Avatar file must be an image',
|
||||
'头像图片不能超过 5MB': 'Avatar image must be under 5MB',
|
||||
'当前浏览器无法处理头像图片': 'This browser cannot process the avatar image',
|
||||
'头像上传失败': 'Avatar upload failed',
|
||||
'头像图片读取失败,请重新上传': 'Avatar image could not be read. Please upload it again.',
|
||||
'个站点': 'sites',
|
||||
'个账号': 'accounts',
|
||||
'跟随系统': 'Follow the system',
|
||||
@@ -205,6 +217,7 @@ export const zhToEnSupplemental: Record<string, string> = {
|
||||
'缓存清理后重建完成:新增路由 ${rebuild.createdRoutes},新增通道 ${rebuild.createdChannels},移除通道 ${rebuild.removedChannels}': 'Reconstruction is completed after cache cleaning: new route ${rebuild.createdRoutes}, new channel ${rebuild.createdChannels}, removed channel ${rebuild.removedChannels}',
|
||||
'缓存已清理,重建路由已开始执行': 'The cache has been cleared and routing reconstruction has started.',
|
||||
'缓存已清理(模型缓存 ${res.deletedModelAvailability || 0} 条)': 'Cache cleared (model cache ${res.deletedModelAvailability || 0} items)',
|
||||
'清除图片头像': 'Clear image avatar',
|
||||
'换一个随机头像': 'Change a random avatar',
|
||||
'恢复待处理的请求快照。': 'Restore a pending request snapshot.',
|
||||
'恢复任务 ${restored.pendingJobId}。': 'Recovery task ${restored.pendingJobId}.',
|
||||
|
||||
Reference in New Issue
Block a user