Feature: complete i18n support for manage func

This commit is contained in:
萌萌哒赫萝 2023-03-20 18:41:28 +08:00
parent 2b09217f55
commit a473e25469
11 changed files with 1323 additions and 317 deletions

View File

@ -56,6 +56,47 @@ CHANGE_IMAGE_URL_SUCCEED: Change Image URL Succeed
COPY_LINK_SUCCEED: Copy Link Succeed
BATCH_COPY_LINK_SUCCEED: Batch Copy Link Succeed
FILE_RENAME: File Rename
GALLERY_SYNC_DELETE: Cloud Sync Delete
GALLERY_SYNC_DELETE_NOTICE_TITLE: Notice
GALLERY_SYNC_DELETE_NOTICE_SUCCEED: Cloud Delete Succeed
GALLERY_SYNC_DELETE_NOTICE_FAILED: Cloud Delete Failed
UPLOAD_PAGE_IMAGE_PROCESS_NAME: Image Processing
UPLOAD_PAGE_IMAGE_PROCESS_DIALOG_TITLE: Image Processing Settings
UPLOAD_PAGE_IMAGE_PROCESS_ISADDWM: Add Watermark
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE: Watermark Type
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_TEXT: Text
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_IMAGE: Image
UPLOAD_PAGE_IMAGE_PROCESS_ISFULLSCREEN_WM: Full-Screen Watermark
UPLOAD_PAGE_IMAGE_PROCESS_WMDEGREE: Watermark Angle
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT: Watermark Text
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT_FONT_PATH: Watermark Font Path (download font file for the first time)
UPLOAD_PAGE_IMAGE_PROCESS_WMRATIO: Watermark Size Ratio
UPLOAD_PAGE_IMAGE_PROCESS_WMCOLOR: Watermark Color, Please select from the color picker
UPLOAD_PAGE_IMAGE_PROCESS_WMPATH: Watermark Image Path (leave blank to use default image)
UPLOAD_PAGE_IMAGE_PROCESS_WMPOSITION: Watermark Position
UPLOAD_PAGE_IMAGE_PROCESS_ISREMOVEEXIF: Remove EXIF Info
UPLOAD_PAGE_IMAGE_PROCESS_QUALITY: Compression Quality
UPLOAD_PAGE_IMAGE_PROCESS_ISCONVERT: Convert Format
UPLOAD_PAGE_IMAGE_PROCESS_CONVERTFORMAT: Destination Format
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZE: Resize to fixed size
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEWIDTH: Width
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEHEIGHT: Height
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZEBYPERCENT: Resize by percentage (Higher priority)
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEPERCENT: Resize Percentage, enter 50 for 50%
UPLOAD_PAGE_IMAGE_PROCESS_ISROTATE: Rotate
UPLOAD_PAGE_IMAGE_PROCESS_ROTATEDEGREE: Rotation Angle
UPLOAD_PAGE_IMAGE_PROCESS_CONFIRM: Save
UPLOAD_PAGE_IMAGE_PROCESS_CANCEL: Cancel
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP: top
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM: bottom
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_LEFT: left
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_RIGHT: right
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_LEFT: top left
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_RIGHT: top right
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_LEFT: bottom left
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_RIGHT: bottom right
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_CENTER: center
# settings
@ -445,6 +486,207 @@ MANAGE_CONSTANT_WEBDAV_SSL_TOOLTIP: Depending on the configuration of your WebDA
MANAGE_CONSTANT_WEBDAV_EXPLAIN: 'WebDAV Configuration'
MANAGE_CONSTANT_WEBDAV_REFER_TEXT: 'Refer to:'
MANAGE_LOGIN_PAGE_PANE_NAME: Saved Config
MANAGE_LOGIN_PAGE_PANE_DESC: Click on the icon or alias to view details, Enter to view the file page, Delete to remove the configuration
MANAGE_LOGIN_PAGE_PANE_LOADING: Importing...
MANAGE_LOGIN_PAGE_PANE_KEY_NAME: Configuration
MANAGE_LOGIN_PAGE_PANE_KEY_VALUE: Value
MANAGE_LOGIN_PAGE_PANE_ENTER: Enter
MANAGE_LOGIN_PAGE_PANE_DELETE: Delete
MANAGE_LOGIN_PAGE_PANE_SELECT_PLACEHOLDER: Please select
MANAGE_LOGIN_PAGE_PANE_IMPORT: Import
MANAGE_LOGIN_PAGE_PANE_SAVE: Save
MANAGE_LOGIN_PAGE_PANE_RESET: Reset
MANAGE_LOGIN_PAGE_PANE_TABLE_TITLE: Existing configurations, click to copy corresponding cell data
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_MESSAGE_A: Please fill in
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ALIAS_MESSAGE: 'The alias can only contain Chinese, English, numbers, underscores, and hyphens'
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ITEMS_PER_PAGE_MESSAGE: 'The number of items per page must be between 20-1000'
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_CUSTOM_URL_MESSAGE: 'Custom domain name should start with http:// or https://'
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME: Notice
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE: 'Alias overwritten: '
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_B: 'Alias saved: '
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_C: 'Alias deleted: '
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_D: 'Configuration with alias: '
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_E: ' failed to delete'
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_COPY_SUCCESS: 'Copied '
MANAGE_BUCKET_PAGE_LOADING_TEXT: Loading...
MANAGE_BUCKET_PAGE_CUSTOM_URL_SELECT_PLACEHOLDER: Please select a custom domain
MANAGE_BUCKET_PAGE_CUSTOM_URL_INPUT_PLACEHOLDER: Please enter a custom domain
MANAGE_BUCKET_PAGE_UPLOAD_FILES_TOOLTIP: Upload files
MANAGE_BUCKET_PAGE_UPLOAD_FROM_URL_TOOLTIP: Upload from URL
MANAGE_BUCKET_PAGE_CREATE_FOLDER_TOOLTIP: Create folder
MANAGE_BUCKET_PAGE_DOWNLOAD_TOOLTIP: Download page
MANAGE_BUCKET_PAGE_BATCH_RENAME_TOOLTIP: Batch rename
MANAGE_BUCKET_PAGE_BATCH_COPY_URL_TOOLTIP: Batch copy URL
MANAGE_BUCKET_PAGE_COPY_FILE_INFO_TOOLTIP: Copy file information
MANAGE_BUCKET_PAGE_FORCE_REFRESH_TOOLTIP: Force refresh file list
MANAGE_BUCKET_PAGE_SEARCH_PLACEHOLDER: Search files
MANAGE_BUCKET_PAGE_ROOT_FOLDER: Root folder
MANAGE_BUCKET_PAGE_FILE_NUMBER: 'Number of files: '
MANAGE_BUCKET_PAGE_FILE_SIZE: 'Total size: '
MANAGE_BUCKET_PAGE_SELECT_ALL: Select all
MANAGE_BUCKET_PAGE_SELECT_NONE: Deselect all
MANAGE_BUCKET_PAGE_SELECT_INVERT: Invert selection
MANAGE_BUCKET_DOWNLOAD_BTN: Download
MANAGE_BUCKET_DELETE_BTN: Delete
MANAGE_BUCKET_SORT_TITLE: Sort
MANAGE_BUCKET_SORT_NAME: Name
MANAGE_BUCKET_SORT_SIZE: Size
MANAGE_BUCKET_SORT_TYPE: Type
MANAGE_BUCKET_SORT_TIME: Time
MANAGE_BUCKET_SORT_SELECTED: Selected status
MANAGE_BUCKET_URL_UPLOAD_DIALOG_TITLE: Please enter URL(s), support multiple URLs separated by line breaks
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CONFIRM: Confirm
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CANCEL: Cancel
MANAGE_BUCKET_URL_FORMAT_CUSTOM: Custom
MANAGE_BUCKET_URL_FORMAT_PRESIGN: Presigned link
MANAGE_BUCKET_FILE_INFO_TITLE: File information
MANAGE_BUCKET_FILE_INFO_COPY_TIPS: Copy in JSON format
MANAGE_BUCKET_FILE_LIST_LOADING: Loading, click to cancel
MANAGE_BUCKET_FILE_LIST_DOWNLOAD_PRE: Preparing to download, click to cancel
MANAGE_BUCKET_KEEP_FOLDER_STRUCTURE: Keep folder structure
MANAGE_BUCKET_NOT_KEEP_FOLDER_STRUCTURE: Do not keep folder structure
MANAGE_BUCKET_UPLOAD_AREA_TITLE: Drag and drop to upload, support recursive upload of folders
MANAGE_BUCKET_UPLOAD_AREA_TEXT: 'Or: click to select file (folders are not supported)'
MANAGE_BUCKET_UPLOAD_AREA_BTN_LOADING: Loading files
MANAGE_BUCKET_UPLOAD_AREA_BTN: Upload
MANAGE_BUCKET_UPLOAD_AREA_CLEAR: Clear
MANAGE_BUCKET_UPLOAD_AREA_STATUS_UPLOADING: Uploading
MANAGE_BUCKET_UPLOAD_AREA_COPY_TASK: Copy upload task information
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_UPLOADED_TASK: Clear completed tasks
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_ALL_TASK: Clear all tasks
MANAGE_BUCKET_UPLOAD_AREA_SUCCESS: Success
MANAGE_BUCKET_UPLOAD_AREA_FAILED: Failed
MANAGE_BUCKET_DOWNLOAD_PAGE_TITLE: Download page
MANAGE_BUCKET_DOWNLOADING: Downloading
MANAGE_BUCKET_DOWNLOAD_COPY_TASK: Copy download task information
MANAGE_BUCKET_DOWNLOAD_CLEAR_DOWNLOADED_TASK: Clear completed tasks
MANAGE_BUCKET_DOWNLOAD_CLEAR_ALL_TASK: Clear all tasks
MANAGE_BUCKET_DOWNLOAD_OPEN_FOLDER: Open download folder
MANAGE_BUCKET_DOWNLOAD_SUCCESS: Success
MANAGE_BUCKET_DOWNLOAD_FAILED: Failed
MANAGE_BUCKET_MARKDOWN_PREVIEW: Preview
MANAGE_BUCKET_PLAY: Play
MANAGE_BUCKET_RENAME_FILE: Rename file
MANAGE_BUCKET_RENAME_FILE_INPUT_A: String or JS regular expression for matching during replacement
MANAGE_BUCKET_RENAME_FILE_INPUT_A_TIPS: Directly enter the regular expression, no need to add /
MANAGE_BUCKET_RENAME_FILE_INPUT_A_PLACEHOLDER: 'For example: ^\d{4}-\d{2}-\d{2} '
MANAGE_BUCKET_RENAME_FILE_INPUT_B: String for replacement, placeholders from custom
MANAGE_BUCKET_RENAME_FILE_TABLE_IID: Auto-incrementing number
MANAGE_BUCKET_RENAME_FILE_EXT: Replace extension if it matches
MANAGE_BUCKET_RENAME_FILE_EXT_TIPS: Check this option if you want to modify the extension
MANAGE_BUCKET_RENAME_FILE_EXT_YES: 'Yes'
MANAGE_BUCKET_RENAME_FILE_EXT_NO: 'No'
MANAGE_BUCKET_RENAME_FILE_CANCEL: Cancel
MANAGE_BUCKET_RENAME_FILE_CONFIRM: Confirm
MANAGE_BUCKET_COPY_SUCCESS: Copy success
MANAGE_BUCKET_START_LOADING_MESSAGE: Start getting files
MANAGE_BUCKET_END_LOADING_MESSAGE_FAIL: Failed to get file content
MANAGE_BUCKET_CHANGE_CUSTOM_URL_TITLE: Tip
MANAGE_BUCKET_CHANGE_CUSTOM_URL_MSG: Loading file list, please try again later
MANAGE_BUCKET_LAST_PAGE_TITLE: Tip
MANAGE_BUCKET_LAST_PAGE_MSG: This is the last page
MANAGE_BUCKET_GET_LIST_FAIL_TITLE: Tip
MANAGE_BUCKET_GET_LIST_FAIL_MSG: Failed to get file list
MANAGE_BUCKET_GET_LIST_FAIL_MSG2: Getting file list in the background, please do not switch pages
MANAGE_BUCKET_GET_LIST_FAIL_MSG3: Loading file list, please try again later
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TITLE: 'Are you sure you want to download this folder?'
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TIP: Tip
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CONFIRM: Confirm
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CANCEL: Cancel
MANAGE_BUCKET_DOWNLOAD_FOLDER_SUCCESS: Successfully obtained download list
MANAGE_BUCKET_DOWNLOAD_FOLDER_FAIL: Failed to obtain download list
MANAGE_BUCKET_DOWNLOAD_FOLDER_CANCEL: Canceled
MANAGE_BUCKET_CREATE_FOLDER_BOX_TITLE: Please enter the folder name
MANAGE_BUCKET_CREATE_FOLDER_BOX_TIP: Create folder
MANAGE_BUCKET_CREATE_FOLDER_BOX_CONFIRM: Confirm
MANAGE_BUCKET_CREATE_FOLDER_BOX_CANCEL: Cancel
MANAGE_BUCKET_CREATE_FOLDER_ERROR_MSG: Folder name can only contain Chinese, English, numbers, underscores, and slashes
MANAGE_BUCKET_CREATE_FOLDER_SUCCESS: Successfully created, please refresh
MANAGE_BUCKET_CREATE_FOLDER_FAIL: Failed to create
MANAGE_BUCKET_UPLOAD_URL_ERROR_MSQ: Please enter a valid URL
MANAGE_BUCKET_UPLOAD_URL_NOT_TITLE: Tip
MANAGE_BUCKET_UPLOAD_URL_NOT_MSG: Starting background download, automatic upload after success
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG: Please enter the matching string
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG2: No matching files found
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG3: No files need to be renamed
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_A: Detected
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_B: files are duplicated. Do you want to continue?
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_C: Tip
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CONFIRM: Confirm
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CANCEL: Cancel
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_A: Rename successful
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_B: Failed
MANAGE_BUCKET_BATCH_RENAME_CANCEL: Canceled
MANAGE_BUCKET_BATCH_COPY_INFO_ERROR_MSG: Please select the file first
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_A: Copied
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_B: file(s) information
MANAGE_BUCKET_BATCH_COPY_URL_ERROR_MSG: Please select the file first
MANAGE_BUCKET_BATCH_COPY_URL_MSG_A: Copied
MANAGE_BUCKET_BATCH_COPY_URL_MSG_B: file(s) link
MANAGE_BUCKET_CANCEL_LOADING_TITLE: Stop getting file list?
MANAGE_BUCKET_CANCEL_LOADING_MSG: Tip
MANAGE_BUCKET_CANCEL_LOADING_CONFIRM: Confirm
MANAGE_BUCKET_CANCEL_LOADING_CANCEL: Cancel
MANAGE_BUCKET_CANCEL_LOADING_SUCCESS: File list retrieval has been stopped
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_TITLE: Stop downloading file retrieval?
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_MSG: Prompt
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CONFIRM: Confirm
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CANCEL: Cancel
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_SUCCESS: Download file retrieval has been stopped
MANAGE_BUCKET_GET_FILE_BS_NOT_TITLE: Prompt
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG: Successfully retrieved file list
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG2: Some files failed to retrieve
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_A: Permanently delete
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_B: files, continue?
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_MSG: Prompt
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CONFIRM: Confirm
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CANCEL: Cancel
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_TITLE: Prompt
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG: Deletion failed
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG2: Deletion successful
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG3: Failed
MANAGE_BUCKET_BATCH_DELETE_CANCEL: Deletion has been cancelled
MANAGE_BUCKET_DELETE_CONFIRM_TITLE: Permanently delete
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER: folder
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER_A: and all files in this directory
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FILE: file
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_C: Continue?
MANAGE_BUCKET_DELETE_CONFIRM_MSG: Prompt
MANAGE_BUCKET_DELETE_CONFIRM_CONFIRM: Confirm
MANAGE_BUCKET_DELETE_CONFIRM_CANCEL: Cancel
MANAGE_BUCKET_DELETE_ERROR_MSG_TITLE: Prompt
MANAGE_BUCKET_DELETE_ERROR_MSG_MSG: Deleting a folder may take some time, please be patient
MANAGE_BUCKET_DELETE_SUCCESS: Deletion successful
MANAGE_BUCKET_DELETE_FAIL: Deletion failed
MANAGE_BUCKET_DELETE_CANCEL: Deletion has been cancelled
MANAGE_BUCKET_RENAME_INFO_MSG: The new file name is the same as the original file name, no need to rename
MANAGE_BUCKET_RENAME_ERROR_MSG: Rename failed
MANAGE_BUCKET_DOWNLOAD_COLUMN_FILENAME: File name
MANAGE_BUCKET_DOWNLOAD_COLUMN_FINISHTIME: Completion time
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS: Status
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_SUCCESS: Success
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_FAIL: Failed
MANAGE_BUCKET_UPLOAD_COLUMN_FILENAME: File name
MANAGE_BUCKET_UPLOAD_COLUMN_TARGETFILEPATH: Upload path
MANAGE_BUCKET_UPLOAD_COLUMN_FINISHTIME: Completion time
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS: Status
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_SUCCESS: Success
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_FAIL: Failed
MANAGE_BUCKET_DOWNLOADING_COLUMN_FILENAME: File name
MANAGE_BUCKET_DOWNLOADING_COLUMN_PROGRESS: Progress
MANAGE_BUCKET_UPLOADING_COLUMN_FILENAME: File name
MANAGE_BUCKET_UPLOADING_COLUMN_PROGRESS: Progress
MANAGE_BUCKET_UPLOADED_COLUMN_FILENAME: File name
MANAGE_BUCKET_UPLOADED_COLUMN_FILESIZE: Size
MANAGE_BUCKET_UPLOADED_COLUMN_FILENUM: Number of files
MANAGE_BUCKET_FILE_COLUMN_FILENAME: FileName
MANAGE_BUCKET_FILE_COLUMN_COPY_URL: Copy link
MANAGE_BUCKET_FILE_COLUMN_INFO: File Info
MANAGE_BUCKET_FILE_COLUMN_FILESIZE: Size
MANAGE_BUCKET_FILE_COLUMN_TIME: Time
# ---renderer i18n end---
# plugins

View File

@ -56,6 +56,47 @@ CHANGE_IMAGE_URL_SUCCEED: 修改图片URL成功
COPY_LINK_SUCCEED: 复制链接成功
BATCH_COPY_LINK_SUCCEED: 批量复制链接成功
FILE_RENAME: 文件改名
GALLERY_SYNC_DELETE: 删除云端
GALLERY_SYNC_DELETE_NOTICE_TITLE: 通知
GALLERY_SYNC_DELETE_NOTICE_SUCCEED: 云端删除成功
GALLERY_SYNC_DELETE_NOTICE_FAILED: 云端删除失败
UPLOAD_PAGE_IMAGE_PROCESS_NAME: 图片处理
UPLOAD_PAGE_IMAGE_PROCESS_DIALOG_TITLE: 图片处理设置
UPLOAD_PAGE_IMAGE_PROCESS_ISADDWM: 是否添加水印
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE: 水印类型
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_TEXT: 文字
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_IMAGE: 图片
UPLOAD_PAGE_IMAGE_PROCESS_ISFULLSCREEN_WM: 是否全屏水印
UPLOAD_PAGE_IMAGE_PROCESS_WMDEGREE: 水印角度
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT: 水印文字
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT_FONT_PATH: 水印字体路径(第一次需下载字体文件)
UPLOAD_PAGE_IMAGE_PROCESS_WMRATIO: 水印占原图比例
UPLOAD_PAGE_IMAGE_PROCESS_WMCOLOR: 水印颜色,请从取色器中选择
UPLOAD_PAGE_IMAGE_PROCESS_WMPATH: 水印图片路径(留空使用默认图片)
UPLOAD_PAGE_IMAGE_PROCESS_WMPOSITION: 水印位置
UPLOAD_PAGE_IMAGE_PROCESS_ISREMOVEEXIF: 是否移除EXIF信息
UPLOAD_PAGE_IMAGE_PROCESS_QUALITY: 压缩质量
UPLOAD_PAGE_IMAGE_PROCESS_ISCONVERT: 是否转换格式
UPLOAD_PAGE_IMAGE_PROCESS_CONVERTFORMAT: 转换目的格式
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZE: 是否按固定尺寸调整图片
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEWIDTH: 调整尺寸宽度
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEHEIGHT: 调整尺寸高度
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZEBYPERCENT: 是否按比例调整尺寸,优先级更高
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEPERCENT: 调整尺寸比例, 输入50表示50%
UPLOAD_PAGE_IMAGE_PROCESS_ISROTATE: 是否旋转
UPLOAD_PAGE_IMAGE_PROCESS_ROTATEDEGREE: 旋转角度
UPLOAD_PAGE_IMAGE_PROCESS_CONFIRM: 保存
UPLOAD_PAGE_IMAGE_PROCESS_CANCEL: 取消
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_LEFT:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_RIGHT:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_LEFT: 左上
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_RIGHT: 右上
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_LEFT: 左下
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_RIGHT: 右下
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_CENTER:
# settings
@ -445,6 +486,206 @@ MANAGE_CONSTANT_WEBDAV_SSL_TOOLTIP: 根据WebDAV服务器的配置如果您
MANAGE_CONSTANT_WEBDAV_EXPLAIN: 'WebDAV配置'
MANAGE_CONSTANT_WEBDAV_REFER_TEXT: '配置教程请参考: '
MANAGE_LOGIN_PAGE_PANE_NAME: 已保存配置
MANAGE_LOGIN_PAGE_PANE_DESC: 点击图标和别名可查看详情,点击进入可查看文件页面,点击删除可删除配置
MANAGE_LOGIN_PAGE_PANE_LOADING: 导入配置...
MANAGE_LOGIN_PAGE_PANE_KEY_NAME: 配置项
MANAGE_LOGIN_PAGE_PANE_KEY_VALUE:
MANAGE_LOGIN_PAGE_PANE_ENTER: 进入
MANAGE_LOGIN_PAGE_PANE_DELETE: 删除
MANAGE_LOGIN_PAGE_PANE_SELECT_PLACEHOLDER: 请选择
MANAGE_LOGIN_PAGE_PANE_IMPORT: 导入
MANAGE_LOGIN_PAGE_PANE_SAVE: 保存
MANAGE_LOGIN_PAGE_PANE_RESET: 重置
MANAGE_LOGIN_PAGE_PANE_TABLE_TITLE: 已有配置,单击可复制对应单元格数据
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_MESSAGE_A: 请填写
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ALIAS_MESSAGE: 别名只能包含中文、英文、数字、下划线和中划线
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ITEMS_PER_PAGE_MESSAGE: 每页数量必须在20-1000之间
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_CUSTOM_URL_MESSAGE: '自定义域名请以http://或https://开头'
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME: 通知
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE: 已覆盖别名
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_B: 已保存别名
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_C: 已删除别名
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_D: 删除别名为
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_E: 的配置失败
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_COPY_SUCCESS: 已复制
MANAGE_BUCKET_PAGE_LOADING_TEXT: 加载文件中...
MANAGE_BUCKET_PAGE_CUSTOM_URL_SELECT_PLACEHOLDER: 请选择自定义域名
MANAGE_BUCKET_PAGE_CUSTOM_URL_INPUT_PLACEHOLDER: 请输入自定义域名
MANAGE_BUCKET_PAGE_UPLOAD_FILES_TOOLTIP: 文件上传(支持多选)
MANAGE_BUCKET_PAGE_UPLOAD_FROM_URL_TOOLTIP: 从URL上传
MANAGE_BUCKET_PAGE_CREATE_FOLDER_TOOLTIP: 创建文件夹
MANAGE_BUCKET_PAGE_DOWNLOAD_TOOLTIP: 下载页面
MANAGE_BUCKET_PAGE_BATCH_RENAME_TOOLTIP: 批量重命名
MANAGE_BUCKET_PAGE_BATCH_COPY_URL_TOOLTIP: 批量复制URL
MANAGE_BUCKET_PAGE_COPY_FILE_INFO_TOOLTIP: 复制文件信息
MANAGE_BUCKET_PAGE_FORCE_REFRESH_TOOLTIP: 强制刷新文件列表
MANAGE_BUCKET_PAGE_SEARCH_PLACEHOLDER: 搜索文件
MANAGE_BUCKET_PAGE_ROOT_FOLDER: 根目录
MANAGE_BUCKET_PAGE_FILE_NUMBER: '文件数: '
MANAGE_BUCKET_PAGE_FILE_SIZE: '总大小: '
MANAGE_BUCKET_PAGE_SELECT_ALL: 全选
MANAGE_BUCKET_PAGE_SELECT_NONE: 取消
MANAGE_BUCKET_PAGE_SELECT_INVERT: 反选
MANAGE_BUCKET_DOWNLOAD_BTN: 下载
MANAGE_BUCKET_DELETE_BTN: 删除
MANAGE_BUCKET_SORT_TITLE: 排序
MANAGE_BUCKET_SORT_NAME: 文件名
MANAGE_BUCKET_SORT_SIZE: 大小
MANAGE_BUCKET_SORT_TYPE: 类型
MANAGE_BUCKET_SORT_TIME: 时间
MANAGE_BUCKET_SORT_SELECTED: 选中状态
MANAGE_BUCKET_URL_UPLOAD_DIALOG_TITLE: 请输入URL支持多个URL以换行分隔
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CONFIRM: 确定
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CANCEL: 取消
MANAGE_BUCKET_URL_FORMAT_CUSTOM: 自定义
MANAGE_BUCKET_URL_FORMAT_PRESIGN: 预签名链接
MANAGE_BUCKET_FILE_INFO_TITLE: 文件信息
MANAGE_BUCKET_FILE_INFO_COPY_TIPS: 复制JSON格式信息
MANAGE_BUCKET_FILE_LIST_LOADING: 加载中,点击取消
MANAGE_BUCKET_FILE_LIST_DOWNLOAD_PRE: 准备下载中,点击取消
MANAGE_BUCKET_KEEP_FOLDER_STRUCTURE: 保持目录结构
MANAGE_BUCKET_NOT_KEEP_FOLDER_STRUCTURE: 不保持目录结构
MANAGE_BUCKET_UPLOAD_AREA_TITLE: 拖放上传支持递归上传文件夹
MANAGE_BUCKET_UPLOAD_AREA_TEXT: '或:点击选择文件(不支持文件夹)'
MANAGE_BUCKET_UPLOAD_AREA_BTN_LOADING: 读取文件中
MANAGE_BUCKET_UPLOAD_AREA_BTN: 上传
MANAGE_BUCKET_UPLOAD_AREA_CLEAR: 清空
MANAGE_BUCKET_UPLOAD_AREA_STATUS_UPLOADING: 上传中
MANAGE_BUCKET_UPLOAD_AREA_COPY_TASK: 复制上传任务信息
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_UPLOADED_TASK: 清空已完成任务
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_ALL_TASK: 清空所有任务
MANAGE_BUCKET_UPLOAD_AREA_SUCCESS: 成功
MANAGE_BUCKET_UPLOAD_AREA_FAILED: 失败
MANAGE_BUCKET_DOWNLOAD_PAGE_TITLE: 下载页面
MANAGE_BUCKET_DOWNLOADING: 下载中
MANAGE_BUCKET_DOWNLOAD_COPY_TASK: 复制下载任务信息
MANAGE_BUCKET_DOWNLOAD_CLEAR_DOWNLOADED_TASK: 清空已完成任务
MANAGE_BUCKET_DOWNLOAD_CLEAR_ALL_TASK: 清空所有任务
MANAGE_BUCKET_DOWNLOAD_OPEN_FOLDER: 打开下载目录
MANAGE_BUCKET_DOWNLOAD_SUCCESS: 成功
MANAGE_BUCKET_DOWNLOAD_FAILED: 失败
MANAGE_BUCKET_MARKDOWN_PREVIEW: 预览
MANAGE_BUCKET_PLAY: 播放
MANAGE_BUCKET_RENAME_FILE: 文件重命名
MANAGE_BUCKET_RENAME_FILE_INPUT_A: 进行替换时匹配的字符串或js正则表达式
MANAGE_BUCKET_RENAME_FILE_INPUT_A_TIPS: 正则表达式请直接输入,不需要加上/
MANAGE_BUCKET_RENAME_FILE_INPUT_A_PLACEHOLDER: '例如:^\d{4}-\d{2}-\d{2} '
MANAGE_BUCKET_RENAME_FILE_INPUT_B: 需要替换的字符串,可使用自定义重命名规则中的占位符
MANAGE_BUCKET_RENAME_FILE_TABLE_IID: 自增数字
MANAGE_BUCKET_RENAME_FILE_EXT: 是否匹配扩展名进行替换
MANAGE_BUCKET_RENAME_FILE_EXT_TIPS: 如果希望修改扩展名,请勾选此项
MANAGE_BUCKET_RENAME_FILE_EXT_YES:
MANAGE_BUCKET_RENAME_FILE_EXT_NO:
MANAGE_BUCKET_RENAME_FILE_CANCEL: 取消
MANAGE_BUCKET_RENAME_FILE_CONFIRM: 确定
MANAGE_BUCKET_COPY_SUCCESS: 复制成功
MANAGE_BUCKET_START_LOADING_MESSAGE: 开始获取文件
MANAGE_BUCKET_END_LOADING_MESSAGE_FAIL: 获取文件内容失败
MANAGE_BUCKET_CHANGE_CUSTOM_URL_TITLE: 提示
MANAGE_BUCKET_CHANGE_CUSTOM_URL_MSG: 正在加载文件列表,请稍后再试
MANAGE_BUCKET_LAST_PAGE_TITLE: 提示
MANAGE_BUCKET_LAST_PAGE_MSG: 已经是最后一页了
MANAGE_BUCKET_GET_LIST_FAIL_TITLE: 提示
MANAGE_BUCKET_GET_LIST_FAIL_MSG: 获取文件列表失败
MANAGE_BUCKET_GET_LIST_FAIL_MSG2: 正在后台获取文件列表,请不要切换页面
MANAGE_BUCKET_GET_LIST_FAIL_MSG3: 正在加载文件列表,请稍后再试
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TITLE: '确定要下载该文件夹吗?'
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TIP: 提示
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CONFIRM: 确定
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CANCEL: 取消
MANAGE_BUCKET_DOWNLOAD_FOLDER_SUCCESS: 获取下载列表成功
MANAGE_BUCKET_DOWNLOAD_FOLDER_FAIL: 获取失败
MANAGE_BUCKET_DOWNLOAD_FOLDER_CANCEL: 已取消
MANAGE_BUCKET_CREATE_FOLDER_BOX_TITLE: 请输入文件夹名称
MANAGE_BUCKET_CREATE_FOLDER_BOX_TIP: 新建文件夹
MANAGE_BUCKET_CREATE_FOLDER_BOX_CONFIRM: 确定
MANAGE_BUCKET_CREATE_FOLDER_BOX_CANCEL: 取消
MANAGE_BUCKET_CREATE_FOLDER_ERROR_MSG: 文件夹名称只能包含中文、英文、数字、下划线和斜杠
MANAGE_BUCKET_CREATE_FOLDER_SUCCESS: 创建成功, 请刷新
MANAGE_BUCKET_CREATE_FOLDER_FAIL: 创建失败
MANAGE_BUCKET_UPLOAD_URL_ERROR_MSQ: 请输入有效的URL
MANAGE_BUCKET_UPLOAD_URL_NOT_TITLE: 提示
MANAGE_BUCKET_UPLOAD_URL_NOT_MSG: 开始后台下载,成功后自动上传
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG: 请输入匹配字符串
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG2: 没有匹配到文件
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG3: 没有需要重命名的文件
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_A: 检测到有
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_B: 个文件重复,是否继续
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_C: 提示
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CONFIRM: 确定
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CANCEL: 取消
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_A: 重命名成功
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_B: 失败
MANAGE_BUCKET_BATCH_RENAME_CANCEL: 已取消
MANAGE_BUCKET_BATCH_COPY_INFO_ERROR_MSG: 请先选择文件
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_A: 已复制
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_B: 个文件信息
MANAGE_BUCKET_BATCH_COPY_URL_ERROR_MSG: 请先选择文件
MANAGE_BUCKET_BATCH_COPY_URL_MSG_A: 已复制
MANAGE_BUCKET_BATCH_COPY_URL_MSG_B: 个链接
MANAGE_BUCKET_CANCEL_LOADING_TITLE: 是否停止获取文件列表?
MANAGE_BUCKET_CANCEL_LOADING_MSG: 提示
MANAGE_BUCKET_CANCEL_LOADING_CONFIRM: 确定
MANAGE_BUCKET_CANCEL_LOADING_CANCEL: 取消
MANAGE_BUCKET_CANCEL_LOADING_SUCCESS: 文件列表获取已停止
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_TITLE: 是否停止下载文件获取?
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_MSG: 提示
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CONFIRM: 确定
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CANCEL: 取消
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_SUCCESS: 下载文件获取已停止
MANAGE_BUCKET_GET_FILE_BS_NOT_TITLE: 提示
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG: 获取文件列表成功
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG2: 部分文件获取失败
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_A: 将永久删除
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_B: 个文件,是否继续?
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_MSG: 提示
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CONFIRM: 确定
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CANCEL: 取消
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_TITLE: 提示
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG: 删除失败
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG2: 删除成功
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG3: 失败
MANAGE_BUCKET_BATCH_DELETE_CANCEL: 已取消删除
MANAGE_BUCKET_DELETE_CONFIRM_TITLE: 将永久删除
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER: 文件夹
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER_A: 和该目录下的所有文件
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FILE: 文件
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_C: 是否继续
MANAGE_BUCKET_DELETE_CONFIRM_MSG: 提示
MANAGE_BUCKET_DELETE_CONFIRM_CONFIRM: 确定
MANAGE_BUCKET_DELETE_CONFIRM_CANCEL: 取消
MANAGE_BUCKET_DELETE_ERROR_MSG_TITLE: 提示
MANAGE_BUCKET_DELETE_ERROR_MSG_MSG: 删除文件夹可能需要一段时间,请耐心等待
MANAGE_BUCKET_DELETE_SUCCESS: 删除成功
MANAGE_BUCKET_DELETE_FAIL: 删除失败
MANAGE_BUCKET_DELETE_CANCEL: 已取消删除
MANAGE_BUCKET_RENAME_INFO_MSG: 新文件名与原文件名相同,无需重命名
MANAGE_BUCKET_RENAME_ERROR_MSG: 重命名失败
MANAGE_BUCKET_DOWNLOAD_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_DOWNLOAD_COLUMN_FINISHTIME: 完成时间
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS: 状态
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_SUCCESS: 成功
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_FAIL: 失败
MANAGE_BUCKET_UPLOAD_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_UPLOAD_COLUMN_TARGETFILEPATH: 上传路径
MANAGE_BUCKET_UPLOAD_COLUMN_FINISHTIME: 完成时间
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS: 状态
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_SUCCESS: 成功
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_FAIL: 失败
MANAGE_BUCKET_DOWNLOADING_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_DOWNLOADING_COLUMN_PROGRESS: 进度
MANAGE_BUCKET_UPLOADING_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_UPLOADING_COLUMN_PROGRESS: 进度
MANAGE_BUCKET_UPLOADED_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_UPLOADED_COLUMN_FILESIZE: 大小
MANAGE_BUCKET_UPLOADED_COLUMN_FILENUM: 文件数
MANAGE_BUCKET_FILE_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_FILE_COLUMN_COPY_URL: 复制链接
MANAGE_BUCKET_FILE_COLUMN_INFO: 文件信息
MANAGE_BUCKET_FILE_COLUMN_FILESIZE: 大小
MANAGE_BUCKET_FILE_COLUMN_TIME: 修改时间
# ---renderer i18n end---

View File

@ -56,6 +56,47 @@ CHANGE_IMAGE_URL_SUCCEED: 修改圖片URL成功
COPY_LINK_SUCCEED: 複製連結成功
BATCH_COPY_LINK_SUCCEED: 批量複製連結成功
FILE_RENAME: 文件改名
GALLERY_SYNC_DELETE: 刪除雲端
GALLERY_SYNC_DELETE_NOTICE_TITLE: 通知
GALLERY_SYNC_DELETE_NOTICE_SUCCEED: 雲端刪除成功
GALLERY_SYNC_DELETE_NOTICE_FAILED: 雲端刪除失敗
UPLOAD_PAGE_IMAGE_PROCESS_NAME: 圖片處理
UPLOAD_PAGE_IMAGE_PROCESS_DIALOG_TITLE: 圖片處理設置
UPLOAD_PAGE_IMAGE_PROCESS_ISADDWM: 是否添加水印
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE: 水印類型
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_TEXT: 文字
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_IMAGE: 圖片
UPLOAD_PAGE_IMAGE_PROCESS_ISFULLSCREEN_WM: 是否全屏水印
UPLOAD_PAGE_IMAGE_PROCESS_WMDEGREE: 水印角度
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT: 水印文字
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT_FONT_PATH: 水印字體路徑(第一次需下載字體文件)
UPLOAD_PAGE_IMAGE_PROCESS_WMRATIO: 水印占原圖比例
UPLOAD_PAGE_IMAGE_PROCESS_WMCOLOR: 水印顏色,請從取色器中選擇
UPLOAD_PAGE_IMAGE_PROCESS_WMPATH: 水印圖片路徑(留空使用預設圖片)
UPLOAD_PAGE_IMAGE_PROCESS_WMPOSITION: 水印位置
UPLOAD_PAGE_IMAGE_PROCESS_ISREMOVEEXIF: 是否移除EXIF信息
UPLOAD_PAGE_IMAGE_PROCESS_QUALITY: 壓縮質量
UPLOAD_PAGE_IMAGE_PROCESS_ISCONVERT: 是否轉換格式
UPLOAD_PAGE_IMAGE_PROCESS_CONVERTFORMAT: 轉換目的格式
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZE: 是否按固定尺寸調整圖片
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEWIDTH: 調整尺寸寬度
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEHEIGHT: 調整尺寸高度
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZEBYPERCENT: 是否按比例調整尺寸,優先級更高
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEPERCENT: 調整尺寸比例輸入50表示50%
UPLOAD_PAGE_IMAGE_PROCESS_ISROTATE: 是否旋轉
UPLOAD_PAGE_IMAGE_PROCESS_ROTATEDEGREE: 旋轉角度
UPLOAD_PAGE_IMAGE_PROCESS_CONFIRM: 保存
UPLOAD_PAGE_IMAGE_PROCESS_CANCEL: 取消
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_LEFT:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_RIGHT:
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_LEFT: 左上
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_RIGHT: 右上
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_LEFT: 左下
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_RIGHT: 右下
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_CENTER:
# settings
@ -445,6 +486,207 @@ MANAGE_CONSTANT_WEBDAV_SSL_TOOLTIP: 根據WebDAV伺服器的配置如果您
MANAGE_CONSTANT_WEBDAV_EXPLAIN: 'WebDAV配置'
MANAGE_CONSTANT_WEBDAV_REFER_TEXT: '配置教程請參考: '
MANAGE_LOGIN_PAGE_PANE_NAME: 已保存配置
MANAGE_LOGIN_PAGE_PANE_DESC: 點擊圖標和別名可查看詳情,點擊進入可查看檔案頁面,點擊刪除可刪除配置
MANAGE_LOGIN_PAGE_PANE_LOADING: 導入配置...
MANAGE_LOGIN_PAGE_PANE_KEY_NAME: 配置項
MANAGE_LOGIN_PAGE_PANE_KEY_VALUE:
MANAGE_LOGIN_PAGE_PANE_ENTER: 進入
MANAGE_LOGIN_PAGE_PANE_DELETE: 刪除
MANAGE_LOGIN_PAGE_PANE_SELECT_PLACEHOLDER: 請選擇
MANAGE_LOGIN_PAGE_PANE_IMPORT: 導入
MANAGE_LOGIN_PAGE_PANE_SAVE: 保存
MANAGE_LOGIN_PAGE_PANE_RESET: 重置
MANAGE_LOGIN_PAGE_PANE_TABLE_TITLE: 已有配置,單擊可複製對應儲存格資料
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_MESSAGE_A: 請填寫
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ALIAS_MESSAGE: 別名只能包含中文、英文、數字、下劃線和中劃線
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ITEMS_PER_PAGE_MESSAGE: 每頁數量必須在20-1000之間
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_CUSTOM_URL_MESSAGE: 自定義網域請以http://或https://開頭
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME: 通知
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE: 已覆蓋別名
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_B: 已保存別名
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_C: 已刪除別名
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_D: 刪除別名為
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_E: 的配置失敗
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_COPY_SUCCESS: 已複製
MANAGE_BUCKET_PAGE_LOADING_TEXT: 載入檔案中...
MANAGE_BUCKET_PAGE_CUSTOM_URL_SELECT_PLACEHOLDER: 請選擇自訂域名
MANAGE_BUCKET_PAGE_CUSTOM_URL_INPUT_PLACEHOLDER: 請輸入自訂域名
MANAGE_BUCKET_PAGE_UPLOAD_FILES_TOOLTIP: 檔案上傳(支援多選)
MANAGE_BUCKET_PAGE_UPLOAD_FROM_URL_TOOLTIP: 從 URL 上傳
MANAGE_BUCKET_PAGE_CREATE_FOLDER_TOOLTIP: 建立資料夾
MANAGE_BUCKET_PAGE_DOWNLOAD_TOOLTIP: 下載頁面
MANAGE_BUCKET_PAGE_BATCH_RENAME_TOOLTIP: 批次重新命名
MANAGE_BUCKET_PAGE_BATCH_COPY_URL_TOOLTIP: 批次複製 URL
MANAGE_BUCKET_PAGE_COPY_FILE_INFO_TOOLTIP: 複製檔案資訊
MANAGE_BUCKET_PAGE_FORCE_REFRESH_TOOLTIP: 強制重新整理檔案列表
MANAGE_BUCKET_PAGE_SEARCH_PLACEHOLDER: 搜尋檔案
MANAGE_BUCKET_PAGE_ROOT_FOLDER: 根目錄
MANAGE_BUCKET_PAGE_FILE_NUMBER: '檔案數:'
MANAGE_BUCKET_PAGE_FILE_SIZE: '總大小:'
MANAGE_BUCKET_PAGE_SELECT_ALL: 全選
MANAGE_BUCKET_PAGE_SELECT_NONE: 取消選擇
MANAGE_BUCKET_PAGE_SELECT_INVERT: 反選
MANAGE_BUCKET_DOWNLOAD_BTN: 下載
MANAGE_BUCKET_DELETE_BTN: 刪除
MANAGE_BUCKET_SORT_TITLE: 排序
MANAGE_BUCKET_SORT_NAME: 檔案名稱
MANAGE_BUCKET_SORT_SIZE: 大小
MANAGE_BUCKET_SORT_TYPE: 類型
MANAGE_BUCKET_SORT_TIME: 時間
MANAGE_BUCKET_SORT_SELECTED: 選取狀態
MANAGE_BUCKET_URL_UPLOAD_DIALOG_TITLE: 請輸入 URL支援多個 URL以換行分隔
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CONFIRM: 確定
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CANCEL: 取消
MANAGE_BUCKET_URL_FORMAT_CUSTOM: 自訂
MANAGE_BUCKET_URL_FORMAT_PRESIGN: 預簽名連結
MANAGE_BUCKET_FILE_INFO_TITLE: 檔案資訊
MANAGE_BUCKET_FILE_INFO_COPY_TIPS: 複製 JSON 格式資訊
MANAGE_BUCKET_FILE_LIST_LOADING: 載入中,點擊取消
MANAGE_BUCKET_FILE_LIST_DOWNLOAD_PRE: 準備下載中,點擊取消
MANAGE_BUCKET_KEEP_FOLDER_STRUCTURE: 保持目錄結構
MANAGE_BUCKET_NOT_KEEP_FOLDER_STRUCTURE: 不保持目錄結構
MANAGE_BUCKET_UPLOAD_AREA_TITLE: 拖放上傳支援遞歸上傳資料夾
MANAGE_BUCKET_UPLOAD_AREA_TEXT: 或:點選選擇檔案(不支援資料夾)
MANAGE_BUCKET_UPLOAD_AREA_BTN_LOADING: 讀取檔案中
MANAGE_BUCKET_UPLOAD_AREA_BTN: 上傳
MANAGE_BUCKET_UPLOAD_AREA_CLEAR: 清空
MANAGE_BUCKET_UPLOAD_AREA_STATUS_UPLOADING: 上傳中
MANAGE_BUCKET_UPLOAD_AREA_COPY_TASK: 複製上傳任務資訊
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_UPLOADED_TASK: 清空已完成任務
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_ALL_TASK: 清空所有任務
MANAGE_BUCKET_UPLOAD_AREA_SUCCESS: 成功
MANAGE_BUCKET_UPLOAD_AREA_FAILED: 失敗
MANAGE_BUCKET_DOWNLOAD_PAGE_TITLE: 下載頁面
MANAGE_BUCKET_DOWNLOADING: 下載中
MANAGE_BUCKET_DOWNLOAD_COPY_TASK: 複製下載任務資訊
MANAGE_BUCKET_DOWNLOAD_CLEAR_DOWNLOADED_TASK: 清空已完成任務
MANAGE_BUCKET_DOWNLOAD_CLEAR_ALL_TASK: 清空所有任務
MANAGE_BUCKET_DOWNLOAD_OPEN_FOLDER: 開啟下載目錄
MANAGE_BUCKET_DOWNLOAD_SUCCESS: 成功
MANAGE_BUCKET_DOWNLOAD_FAILED: 失敗
MANAGE_BUCKET_MARKDOWN_PREVIEW: 預覽
MANAGE_BUCKET_PLAY: 播放
MANAGE_BUCKET_RENAME_FILE: 檔案重新命名
MANAGE_BUCKET_RENAME_FILE_INPUT_A: 進行替換時匹配的字串或 JS 正則表達式
MANAGE_BUCKET_RENAME_FILE_INPUT_A_TIPS: 正則表達式請直接輸入,不需要加上 /
MANAGE_BUCKET_RENAME_FILE_INPUT_A_PLACEHOLDER: 例如:^\d{4}-\d{2}-\d{2}
MANAGE_BUCKET_RENAME_FILE_INPUT_B: 需要替換的字串,可使用自訂重新命名規則中的佔位符
MANAGE_BUCKET_RENAME_FILE_TABLE_IID: 自增數字
MANAGE_BUCKET_RENAME_FILE_EXT: 是否匹配副檔名進行替換
MANAGE_BUCKET_RENAME_FILE_EXT_TIPS: 如果希望修改副檔名,請勾選此項
MANAGE_BUCKET_RENAME_FILE_EXT_YES:
MANAGE_BUCKET_RENAME_FILE_EXT_NO:
MANAGE_BUCKET_RENAME_FILE_CANCEL: 取消
MANAGE_BUCKET_RENAME_FILE_CONFIRM: 確定
MANAGE_BUCKET_COPY_SUCCESS: 複製成功
MANAGE_BUCKET_START_LOADING_MESSAGE: 開始取得檔案
MANAGE_BUCKET_END_LOADING_MESSAGE_FAIL: 取得檔案內容失敗
MANAGE_BUCKET_CHANGE_CUSTOM_URL_TITLE: 提示
MANAGE_BUCKET_CHANGE_CUSTOM_URL_MSG: 正在載入檔案列表,請稍後再試
MANAGE_BUCKET_LAST_PAGE_TITLE: 提示
MANAGE_BUCKET_LAST_PAGE_MSG: 已經是最後一頁了
MANAGE_BUCKET_GET_LIST_FAIL_TITLE: 提示
MANAGE_BUCKET_GET_LIST_FAIL_MSG: 獲取檔案列表失敗
MANAGE_BUCKET_GET_LIST_FAIL_MSG2: 正在後台獲取檔案列表,請勿切換頁面
MANAGE_BUCKET_GET_LIST_FAIL_MSG3: 正在載入檔案列表,請稍後再試
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TITLE: '確定要下載該資料夾嗎?'
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TIP: 提示
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CONFIRM: 確定
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CANCEL: 取消
MANAGE_BUCKET_DOWNLOAD_FOLDER_SUCCESS: 獲取下載列表成功
MANAGE_BUCKET_DOWNLOAD_FOLDER_FAIL: 獲取失敗
MANAGE_BUCKET_DOWNLOAD_FOLDER_CANCEL: 已取消
MANAGE_BUCKET_CREATE_FOLDER_BOX_TITLE: 請輸入資料夾名稱
MANAGE_BUCKET_CREATE_FOLDER_BOX_TIP: 新建資料夾
MANAGE_BUCKET_CREATE_FOLDER_BOX_CONFIRM: 確定
MANAGE_BUCKET_CREATE_FOLDER_BOX_CANCEL: 取消
MANAGE_BUCKET_CREATE_FOLDER_ERROR_MSG: 資料夾名稱只能包含中文、英文、數字、下劃線和斜線
MANAGE_BUCKET_CREATE_FOLDER_SUCCESS: 創建成功,請刷新
MANAGE_BUCKET_CREATE_FOLDER_FAIL: 創建失敗
MANAGE_BUCKET_UPLOAD_URL_ERROR_MSQ: 請輸入有效的URL
MANAGE_BUCKET_UPLOAD_URL_NOT_TITLE: 提示
MANAGE_BUCKET_UPLOAD_URL_NOT_MSG: 開始後台下載,成功後自動上傳
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG: 請輸入匹配字串
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG2: 沒有匹配到檔案
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG3: 沒有需要重命名的檔案
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_A: 檢測到有
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_B: 個檔案重複,是否繼續
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_C: 提示
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CONFIRM: 確定
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CANCEL: 取消
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_A: 重命名成功
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_B: 失敗
MANAGE_BUCKET_BATCH_RENAME_CANCEL: 已取消
MANAGE_BUCKET_BATCH_COPY_INFO_ERROR_MSG: 請先選擇檔案
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_A: 已複製
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_B: 個檔案資訊
MANAGE_BUCKET_BATCH_COPY_URL_ERROR_MSG: 請先選擇檔案
MANAGE_BUCKET_BATCH_COPY_URL_MSG_A: 已複製
MANAGE_BUCKET_BATCH_COPY_URL_MSG_B: 個連結
MANAGE_BUCKET_CANCEL_LOADING_TITLE: 是否停止獲取檔案列表?
MANAGE_BUCKET_CANCEL_LOADING_MSG: 提示
MANAGE_BUCKET_CANCEL_LOADING_CONFIRM: 确定
MANAGE_BUCKET_CANCEL_LOADING_CANCEL: 取消
MANAGE_BUCKET_CANCEL_LOADING_SUCCESS: 文件列表获取已停止
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_TITLE: 是否停止下载文件获取?
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_MSG: 提示
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CONFIRM: 确定
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CANCEL: 取消
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_SUCCESS: 下载文件获取已停止
MANAGE_BUCKET_GET_FILE_BS_NOT_TITLE: 提示
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG: 获取文件列表成功
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG2: 部分文件获取失败
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_A: 将永久删除
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_B: 个文件,是否继续?
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_MSG: 提示
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CONFIRM: 确定
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CANCEL: 取消
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_TITLE: 提示
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG: 删除失败
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG2: 删除成功
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG3: 失败
MANAGE_BUCKET_BATCH_DELETE_CANCEL: 已取消删除
MANAGE_BUCKET_DELETE_CONFIRM_TITLE: 将永久删除
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER: 文件夹
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER_A: 和该目录下的所有文件
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FILE: 文件
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_C: 是否继续
MANAGE_BUCKET_DELETE_CONFIRM_MSG: 提示
MANAGE_BUCKET_DELETE_CONFIRM_CONFIRM: 确定
MANAGE_BUCKET_DELETE_CONFIRM_CANCEL: 取消
MANAGE_BUCKET_DELETE_ERROR_MSG_TITLE: 提示
MANAGE_BUCKET_DELETE_ERROR_MSG_MSG: 删除文件夹可能需要一段时间,请耐心等待
MANAGE_BUCKET_DELETE_SUCCESS: 刪除成功
MANAGE_BUCKET_DELETE_FAIL: 刪除失敗
MANAGE_BUCKET_DELETE_CANCEL: 已取消删除
MANAGE_BUCKET_RENAME_INFO_MSG: 新文件名和原文件名相同,無需重命名
MANAGE_BUCKET_RENAME_ERROR_MSG: 重命名失敗
MANAGE_BUCKET_DOWNLOAD_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_DOWNLOAD_COLUMN_FINISHTIME: 完成時間
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS: 狀態
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_SUCCESS: 成功
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_FAIL: 失敗
MANAGE_BUCKET_UPLOAD_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_UPLOAD_COLUMN_TARGETFILEPATH: 上傳路徑
MANAGE_BUCKET_UPLOAD_COLUMN_FINISHTIME: 完成時間
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS: 狀態
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_SUCCESS: 成功
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_FAIL: 失敗
MANAGE_BUCKET_DOWNLOADING_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_DOWNLOADING_COLUMN_PROGRESS: 進度
MANAGE_BUCKET_UPLOADING_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_UPLOADING_COLUMN_PROGRESS: 進度
MANAGE_BUCKET_UPLOADED_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_UPLOADED_COLUMN_FILESIZE: 大小
MANAGE_BUCKET_UPLOADED_COLUMN_FILENUM: 文件數
MANAGE_BUCKET_FILE_COLUMN_FILENAME: 文件名
MANAGE_BUCKET_FILE_COLUMN_COPY_URL: 複製鏈接
MANAGE_BUCKET_FILE_COLUMN_INFO: 文件信息
MANAGE_BUCKET_FILE_COLUMN_FILESIZE: 大小
MANAGE_BUCKET_FILE_COLUMN_TIME: 修改時間
# ---renderer i18n end---
# plugins

File diff suppressed because it is too large Load Diff

View File

@ -10,16 +10,16 @@
>
<el-tab-pane
name="login"
label="已保存配置"
:label="$T('MANAGE_LOGIN_PAGE_PANE_NAME')"
style="width: 100%;overflow-y: scroll;height: calc(100vh - 50px);"
>
<el-alert
v-loading="isLoading"
title="已设置配置列表,点击图标和别名可查看配置详情,点击进入可查看文件页面,点击删除可删除配置"
:title="$T('MANAGE_LOGIN_PAGE_PANE_DESC')"
type="success"
show-icon
center
element-loading-text="导入配置..."
:element-loading-text="$T('MANAGE_LOGIN_PAGE_PANE_LOADING')"
:element-loading-spinner="svg"
element-loading-svg-view-box="0, 0, 150, 150"
/>
@ -52,12 +52,12 @@
>
<el-table-column
prop="key"
label="配置项"
:label="$T('MANAGE_LOGIN_PAGE_PANE_KEY_NAME')"
width="100"
/>
<el-table-column
prop="value"
label="配置值"
:label="$T('MANAGE_LOGIN_PAGE_PANE_KEY_VALUE')"
/>
</el-table>
<template #reference>
@ -83,7 +83,7 @@
plain
@click="handleConfigClick(item)"
>
进入
{{ $T('MANAGE_LOGIN_PAGE_PANE_ENTER') }}
</el-button>
<el-button
type="warning"
@ -91,7 +91,7 @@
plain
@click="handleConfigRemove(item.alias)"
>
删除
{{ $T('MANAGE_LOGIN_PAGE_PANE_DELETE') }}
</el-button>
</el-button-group>
</el-card>
@ -173,7 +173,7 @@
<el-select
v-else-if="supportedPicBedList[item.icon].configOptions[option].type === 'select'"
v-model="configResult[item.icon + '.' + option]"
placeholder="请选择"
:placeholder="$T('MANAGE_LOGIN_PAGE_PANE_SELECT_PLACEHOLDER')"
>
<el-option
v-for="i in Object.entries(supportedPicBedList[item.icon].configOptions[option].selectOptions)"
@ -192,7 +192,7 @@
placement="top"
:disabled="currentAliasList.length === 0"
>
导入
{{ $T('MANAGE_LOGIN_PAGE_PANE_IMPORT') }}
<template #dropdown>
<el-dropdown-item
v-for="i in currentAliasList"
@ -210,7 +210,7 @@
plain
@click="handleConfigChange(item.icon)"
>
保存
{{ $T('MANAGE_LOGIN_PAGE_PANE_SAVE') }}
</el-button>
<el-button
type="danger"
@ -219,12 +219,12 @@
plain
@click="handleConfigReset(item.icon)"
>
重置
{{ $T('MANAGE_LOGIN_PAGE_PANE_RESET') }}
</el-button>
</div>
<br>
<el-alert
title="已有配置,单击可复制对应单元格数据"
:title="$T('MANAGE_LOGIN_PAGE_PANE_TABLE_TITLE')"
type="success"
center
:closable="false"
@ -262,6 +262,7 @@ import { useManageStore } from '../store/manageStore'
import { formObjToTableData, svg } from '../utils/common'
import { getConfig as getPicBedsConfig } from '@/utils/dataSender'
import { formatEndpoint } from '~/main/manage/utils/common'
import { T as $T } from '@/i18n'
const activeName = ref('login')
const configResult:IStringKeyMap = reactive({})
@ -351,22 +352,22 @@ const handleConfigChange = async (name: string) => {
const resultKey = name + '.' + key
if (supportedPicBedList[name].configOptions[key].required) {
if (supportedPicBedList[name].configOptions[key].type !== 'boolean' && !configResult[resultKey]) {
ElMessage.error(`请填写 ${supportedPicBedList[name].configOptions[key].description}`)
ElMessage.error(`${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_MESSAGE_A')} ${supportedPicBedList[name].configOptions[key].description}`)
return
}
}
if (key === 'alias' && configResult[resultKey] !== undefined && !reg.test(configResult[resultKey])) {
ElMessage.error('别名只能包含中文、英文、数字、下划线和中划线')
ElMessage.error($T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ALIAS_MESSAGE'))
return
}
if (key === 'itemsPerPage' && configResult[resultKey] !== undefined && (configResult[resultKey] < 20 || configResult[resultKey] > 1000)) {
ElMessage.error('每页数量必须在20-1000之间')
ElMessage.error($T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ITEMS_PER_PAGE_MESSAGE'))
return
}
if ((key === 'customUrl') && configResult[resultKey] !== undefined && configResult[resultKey] !== '') {
if (name !== 'upyun') {
if (!/^https?:\/\//.test(configResult[resultKey])) {
ElMessage.error('自定义域名必须以http://或https://开头')
ElMessage.error($T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_CUSTOM_URL_MESSAGE'))
return
}
}
@ -418,8 +419,8 @@ const handleConfigChange = async (name: string) => {
if (aliasList.includes(resultMap.alias)) {
ElNotification(
{
title: '通知',
message: `已覆盖别名为${resultMap.alias}的配置`,
title: $T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME'),
message: `${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE')}${resultMap.alias}`,
type: 'warning',
duration: 500,
customClass: 'notification',
@ -429,8 +430,8 @@ const handleConfigChange = async (name: string) => {
} else {
ElNotification(
{
title: '通知',
message: `已保存别名为${resultMap.alias}的配置`,
title: $T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME'),
message: `${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_B')}${resultMap.alias}`,
type: 'success',
duration: 2000,
customClass: 'notification',
@ -453,8 +454,8 @@ const handleConfigRemove = (name: string) => {
removeConfig('picBed', name)
ElNotification(
{
title: '通知',
message: `已删除别名为${name}的配置`,
title: $T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME'),
message: `${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_C')}${name}`,
type: 'success',
duration: 2000,
customClass: 'notification',
@ -467,8 +468,8 @@ const handleConfigRemove = (name: string) => {
} catch (error) {
ElNotification(
{
title: '通知',
message: `删除别名为${name}的配置失败`,
title: $T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME'),
message: `${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_D')}${name}${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_E')}`,
type: 'error',
duration: 2000,
customClass: 'notification',
@ -500,7 +501,7 @@ const getAllConfigAliasArray = async () => {
const handleCellClick = (row:any, column:any) => {
navigator.clipboard.writeText(row[column.property])
ElMessage.success(`已复制${row[column.property]}`)
ElMessage.success(`${$T('MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_COPY_SUCCESS')}${row[column.property]}`)
}
const handleReferenceClick = (url: string) => shell.openExternal(url)

View File

@ -12,7 +12,8 @@
</el-icon>
<span
style="position: absolute; right: 0; top: 0; margin-right: 20px; font-size: 0.8em; color: #fff;"
>同步删除云端
>
{{ $T('GALLERY_SYNC_DELETE') }}
<el-switch
v-model="deleteCloud"
:active-text="$T('SETTINGS_OPEN')"
@ -432,14 +433,14 @@ function remove (item: ImgInfo) {
ALLApi.delete(item).then((value: boolean) => {
if (value) {
ElNotification({
title: '通知',
message: `${item.fileName} 云端删除成功`,
title: $T('GALLERY_SYNC_DELETE_NOTICE_TITLE'),
message: `${item.fileName} ${$T('GALLERY_SYNC_DELETE_NOTICE_SUCCEED')}`,
type: 'success'
})
} else {
ElNotification({
title: '通知',
message: `${item.fileName} 云端删除失败`,
title: $T('GALLERY_SYNC_DELETE_NOTICE_TITLE'),
message: `${item.fileName} ${$T('GALLERY_SYNC_DELETE_NOTICE_FAILED')}`,
type: 'error'
})
}
@ -533,15 +534,15 @@ function multiRemove () {
ALLApi.delete(file).then((value: boolean) => {
if (value) {
ElNotification({
title: '通知',
message: `${file.fileName} 云端删除成功`,
title: $T('GALLERY_SYNC_DELETE'),
message: `${file.fileName} ${$T('GALLERY_SYNC_DELETE_NOTICE_SUCCEED')}`,
type: 'success',
duration: multiRemoveNumber > 5 ? 1000 : 2000
})
} else {
ElNotification({
title: '通知',
message: `${file.fileName} 云端删除失败`,
title: $T('GALLERY_SYNC_DELETE'),
message: `${file.fileName} ${$T('GALLERY_SYNC_DELETE_NOTICE_FAILED')}`,
type: 'error',
duration: multiRemoveNumber > 5 ? 1000 : 2000
})

View File

@ -559,7 +559,7 @@
<el-dialog
v-model="imageProcessDialogVisible"
title="图片处理设置"
:title="$T('UPLOAD_PAGE_IMAGE_PROCESS_DIALOG_TITLE')"
width="50%"
draggable
center
@ -572,7 +572,9 @@
size="default"
:model="waterMarkForm"
>
<el-form-item label="是否添加水印">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISADDWM')"
>
<el-switch
v-model="waterMarkForm.isAddWatermark"
active-color="#13ce66"
@ -581,20 +583,20 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印类型"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE')"
>
<el-radio-group v-model="waterMarkForm.watermarkType">
<el-radio label="text">
文字
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_TEXT') }}}
</el-radio>
<el-radio label="image">
图片
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_IMAGE') }}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="是否全屏水印"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISFULLSCREEN_WM')"
>
<el-switch
v-model="waterMarkForm.isFullScreenWatermark"
@ -604,7 +606,7 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印角度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMDEGREE')"
>
<el-input-number
v-model="waterMarkForm.watermarkDegree"
@ -613,19 +615,19 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'text'"
label="水印文字"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT')"
>
<el-input v-model="waterMarkForm.watermarkText" />
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'text'"
label="水印字体路径(留空默认黑体,第一次需下载字体文件)"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT_FONT_PATH')"
>
<el-input v-model="waterMarkForm.watermarkFontPath" />
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印占原图比例"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMRATIO')"
>
<el-input-number
v-model="waterMarkForm.watermarkScaleRatio"
@ -636,7 +638,7 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'text'"
label="水印颜色,请从取色器中选择"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMCOLOR')"
>
<el-color-picker
v-model="waterMarkForm.watermarkColor"
@ -645,13 +647,13 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'image'"
label="水印图片路径(留空使用默认图片)"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMPATH')"
>
<el-input v-model="waterMarkForm.watermarkImagePath" />
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印位置"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMPOSITION')"
>
<el-radio-group
v-model="waterMarkForm.watermarkPosition"
@ -665,14 +667,18 @@
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="是否移除Eixf信息">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISREMOVEEXIF')"
>
<el-switch
v-model="compressForm.isRemoveExif"
active-color="#13ce66"
inactive-color="#ff4949"
/>
</el-form-item>
<el-form-item label="压缩质量">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_QUALITY')"
>
<el-input-number
v-model="compressForm.quality"
:min="0"
@ -680,7 +686,9 @@
:step="1"
/>
</el-form-item>
<el-form-item label="是否转换格式">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISCONVERT')"
>
<el-switch
v-model="compressForm.isConvert"
active-color="#13ce66"
@ -689,7 +697,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isConvert"
label="选择转换目的格式"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_CONVERTFORMAT')"
>
<el-select v-model="compressForm.convertFormat">
<el-option
@ -700,7 +708,9 @@
/>
</el-select>
</el-form-item>
<el-form-item label="是否按固定尺寸调整图片">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZE')"
>
<el-switch
v-model="compressForm.isReSize"
active-color="#13ce66"
@ -709,7 +719,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isReSize"
label="调整尺寸宽度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_RESIZEWIDTH')"
>
<el-input-number
v-model="compressForm.reSizeWidth"
@ -718,14 +728,16 @@
</el-form-item>
<el-form-item
v-show="compressForm.isReSize"
label="调整尺寸高度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_RESIZEHEIGHT')"
>
<el-input-number
v-model="compressForm.reSizeHeight"
:min="0"
/>
</el-form-item>
<el-form-item label="是否按比例调整尺寸,优先级高于固定尺寸">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZEBYPERCENT')"
>
<el-switch
v-model="compressForm.isReSizeByPercent"
active-color="#13ce66"
@ -734,7 +746,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isReSizeByPercent"
label="调整尺寸比例, 输入50表示50%"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_RESIZEPERCENT')"
>
<el-input-number
v-model="compressForm.reSizePercent"
@ -742,7 +754,7 @@
/>
</el-form-item>
<el-form-item
label="是否旋转"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISROTATE')"
>
<el-switch
v-model="compressForm.isRotate"
@ -752,7 +764,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isRotate"
label="旋转角度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ROTATEDEGREE')"
>
<el-input-number
v-model="compressForm.rotateDegree"
@ -764,10 +776,10 @@
type="primary"
@click="handelSaveConfig"
>
保存
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_CONFIRM') }}
</el-button>
<el-button @click="closeDialog">
取消
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_CANCEL') }}
</el-button>
</el-form-item>
</el-form>
@ -797,15 +809,15 @@ import { invokeToMain } from '@/manage/utils/dataSender'
const imageProcessDialogVisible = ref(false)
const waterMarkPositionMap = new Map([
['north', '上'],
['northeast', '右上'],
['southeast', '右下'],
['south', '下'],
['southwest', '左下'],
['northwest', '左上'],
['west', '左'],
['east', '右'],
['centre', '中']
['north', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP')],
['northeast', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_RIGHT')],
['southeast', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_RIGHT')],
['south', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM')],
['southwest', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_LEFT')],
['northwest', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_LEFT')],
['west', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_LEFT')],
['east', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_RIGHT')],
['centre', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_CENTER')]
])
const availableFormat = ['avif', 'dz', 'fits', 'gif', 'heif', 'input', 'jpeg', 'jpg', 'jp2', 'jxl', 'magick', 'openslide', 'pdf', 'png', 'ppm', 'raw', 'svg', 'tiff', 'tif', 'v', 'webp']

View File

@ -37,6 +37,7 @@
<script lang="ts" setup>
import { RENAME_FILE_NAME } from '#/events/constants'
import { sendToMain } from '@/utils/dataSender'
import { T as $T } from '@/i18n/index'
import {
ipcRenderer,
IpcRendererEvent

View File

@ -119,6 +119,7 @@ import { ipcRenderer, IpcRendererEvent } from 'electron'
import { TOGGLE_SHORTKEY_MODIFIED_MODE } from '#/events/constants'
import { onBeforeUnmount, onBeforeMount, ref, watch } from 'vue'
import { getConfig, sendToMain } from '@/utils/dataSender'
import { T as $T } from '@/i18n'
const list = ref<IShortKeyConfig[]>([])
const keyBindingVisible = ref(false)

View File

@ -34,7 +34,7 @@
style="margin-left: 6px"
@click="handleImageProcess"
>
图片处理
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_NAME') }}
</el-button>
</div>
<div
@ -133,7 +133,7 @@
</el-row>
<el-dialog
v-model="imageProcessDialogVisible"
title="图片处理设置"
:title="$T('UPLOAD_PAGE_IMAGE_PROCESS_DIALOG_TITLE')"
width="50%"
draggable
center
@ -146,7 +146,9 @@
size="default"
:model="waterMarkForm"
>
<el-form-item label="是否添加水印">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISADDWM')"
>
<el-switch
v-model="waterMarkForm.isAddWatermark"
active-color="#13ce66"
@ -155,20 +157,20 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印类型"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE')"
>
<el-radio-group v-model="waterMarkForm.watermarkType">
<el-radio label="text">
文字
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_TEXT') }}
</el-radio>
<el-radio label="image">
图片
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_IMAGE') }}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="是否全屏水印"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISFULLSCREEN_WM')"
>
<el-switch
v-model="waterMarkForm.isFullScreenWatermark"
@ -178,7 +180,7 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印角度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMDEGREE')"
>
<el-input-number
v-model="waterMarkForm.watermarkDegree"
@ -187,19 +189,19 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'text'"
label="水印文字"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT')"
>
<el-input v-model="waterMarkForm.watermarkText" />
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'text'"
label="水印字体路径(留空默认黑体,第一次需下载字体文件)"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT_FONT_PATH')"
>
<el-input v-model="waterMarkForm.watermarkFontPath" />
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印占原图比例"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMRATIO')"
>
<el-input-number
v-model="waterMarkForm.watermarkScaleRatio"
@ -210,7 +212,7 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'text'"
label="水印颜色,请从取色器中选择"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMCOLOR')"
>
<el-color-picker
v-model="waterMarkForm.watermarkColor"
@ -219,13 +221,13 @@
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark && waterMarkForm.watermarkType === 'image'"
label="水印图片路径(留空使用默认图片)"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMPATH')"
>
<el-input v-model="waterMarkForm.watermarkImagePath" />
</el-form-item>
<el-form-item
v-show="waterMarkForm.isAddWatermark"
label="水印位置"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_WMPOSITION')"
>
<el-radio-group
v-model="waterMarkForm.watermarkPosition"
@ -239,14 +241,18 @@
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="是否移除Eixf信息">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISREMOVEEXIF')"
>
<el-switch
v-model="compressForm.isRemoveExif"
active-color="#13ce66"
inactive-color="#ff4949"
/>
</el-form-item>
<el-form-item label="压缩质量">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_QUALITY')"
>
<el-input-number
v-model="compressForm.quality"
:min="0"
@ -254,7 +260,9 @@
:step="1"
/>
</el-form-item>
<el-form-item label="是否转换格式">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISCONVERT')"
>
<el-switch
v-model="compressForm.isConvert"
active-color="#13ce66"
@ -263,7 +271,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isConvert"
label="选择转换目的格式"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_CONVERTFORMAT')"
>
<el-select v-model="compressForm.convertFormat">
<el-option
@ -274,7 +282,9 @@
/>
</el-select>
</el-form-item>
<el-form-item label="是否按固定尺寸调整图片">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZE')"
>
<el-switch
v-model="compressForm.isReSize"
active-color="#13ce66"
@ -283,7 +293,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isReSize"
label="调整尺寸宽度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_RESIZEWIDTH')"
>
<el-input-number
v-model="compressForm.reSizeWidth"
@ -292,14 +302,16 @@
</el-form-item>
<el-form-item
v-show="compressForm.isReSize"
label="调整尺寸高度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_RESIZEHEIGHT')"
>
<el-input-number
v-model="compressForm.reSizeHeight"
:min="0"
/>
</el-form-item>
<el-form-item label="是否按比例调整尺寸,优先级高于固定尺寸">
<el-form-item
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZEBYPERCENT')"
>
<el-switch
v-model="compressForm.isReSizeByPercent"
active-color="#13ce66"
@ -308,7 +320,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isReSizeByPercent"
label="调整尺寸比例, 输入50表示50%"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_RESIZEPERCENT')"
>
<el-input-number
v-model="compressForm.reSizePercent"
@ -316,7 +328,7 @@
/>
</el-form-item>
<el-form-item
label="是否旋转"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ISROTATE')"
>
<el-switch
v-model="compressForm.isRotate"
@ -326,7 +338,7 @@
</el-form-item>
<el-form-item
v-show="compressForm.isRotate"
label="旋转角度"
:label="$T('UPLOAD_PAGE_IMAGE_PROCESS_ROTATEDEGREE')"
>
<el-input-number
v-model="compressForm.rotateDegree"
@ -338,10 +350,10 @@
type="primary"
@click="handelSaveConfig"
>
保存
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_CONFIRM') }}
</el-button>
<el-button @click="closeDialog">
取消
{{ $T('UPLOAD_PAGE_IMAGE_PROCESS_CANCEL') }}
</el-button>
</el-form-item>
</el-form>
@ -376,15 +388,15 @@ const $router = useRouter()
const imageProcessDialogVisible = ref(false)
const waterMarkPositionMap = new Map([
['north', '上'],
['northeast', '右上'],
['southeast', '右下'],
['south', '下'],
['southwest', '左下'],
['northwest', '左上'],
['west', '左'],
['east', '右'],
['centre', '中']
['north', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP')],
['northeast', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_RIGHT')],
['southeast', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_RIGHT')],
['south', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM')],
['southwest', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_LEFT')],
['northwest', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_LEFT')],
['west', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_LEFT')],
['east', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_RIGHT')],
['centre', $T('UPLOAD_PAGE_IMAGE_PROCESS_POSITION_CENTER')]
])
const availableFormat = ['avif', 'dz', 'fits', 'gif', 'heif', 'input', 'jpeg', 'jpg', 'jp2', 'jxl', 'magick', 'openslide', 'pdf', 'png', 'ppm', 'raw', 'svg', 'tiff', 'tif', 'v', 'webp']

View File

@ -54,6 +54,46 @@ interface ILocales {
COPY_LINK_SUCCEED: string
BATCH_COPY_LINK_SUCCEED: string
FILE_RENAME: string
GALLERY_SYNC_DELETE: string
GALLERY_SYNC_DELETE_NOTICE_TITLE: string
GALLERY_SYNC_DELETE_NOTICE_SUCCEED: string
GALLERY_SYNC_DELETE_NOTICE_FAILED: string
UPLOAD_PAGE_IMAGE_PROCESS_NAME: string
UPLOAD_PAGE_IMAGE_PROCESS_DIALOG_TITLE: string
UPLOAD_PAGE_IMAGE_PROCESS_ISADDWM: string
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE: string
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_TEXT: string
UPLOAD_PAGE_IMAGE_PROCESS_WMTYPE_IMAGE: string
UPLOAD_PAGE_IMAGE_PROCESS_ISFULLSCREEN_WM: string
UPLOAD_PAGE_IMAGE_PROCESS_WMDEGREE: string
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT: string
UPLOAD_PAGE_IMAGE_PROCESS_WMTEXT_FONT_PATH: string
UPLOAD_PAGE_IMAGE_PROCESS_WMRATIO: string
UPLOAD_PAGE_IMAGE_PROCESS_WMCOLOR: string
UPLOAD_PAGE_IMAGE_PROCESS_WMPATH: string
UPLOAD_PAGE_IMAGE_PROCESS_WMPOSITION: string
UPLOAD_PAGE_IMAGE_PROCESS_ISREMOVEEXIF: string
UPLOAD_PAGE_IMAGE_PROCESS_QUALITY: string
UPLOAD_PAGE_IMAGE_PROCESS_ISCONVERT: string
UPLOAD_PAGE_IMAGE_PROCESS_CONVERTFORMAT: string
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZE: string
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEWIDTH: string
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEHEIGHT: string
UPLOAD_PAGE_IMAGE_PROCESS_ISRESIZEBYPERCENT: string
UPLOAD_PAGE_IMAGE_PROCESS_RESIZEPERCENT: string
UPLOAD_PAGE_IMAGE_PROCESS_ISROTATE: string
UPLOAD_PAGE_IMAGE_PROCESS_ROTATEDEGREE: string
UPLOAD_PAGE_IMAGE_PROCESS_CONFIRM: string
UPLOAD_PAGE_IMAGE_PROCESS_CANCEL: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_LEFT: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_RIGHT: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_LEFT: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_TOP_RIGHT: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_LEFT: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_BOTTOM_RIGHT: string
UPLOAD_PAGE_IMAGE_PROCESS_POSITION_CENTER: string
SETTINGS: string
SETTINGS_OPEN_CONFIG_FILE: string
SETTINGS_CLICK_TO_OPEN: string
@ -404,6 +444,205 @@ interface ILocales {
MANAGE_CONSTANT_WEBDAV_SSL_TOOLTIP: string
MANAGE_CONSTANT_WEBDAV_EXPLAIN: string
MANAGE_CONSTANT_WEBDAV_REFER_TEXT: string
MANAGE_LOGIN_PAGE_PANE_NAME: string
MANAGE_LOGIN_PAGE_PANE_DESC: string
MANAGE_LOGIN_PAGE_PANE_LOADING: string
MANAGE_LOGIN_PAGE_PANE_KEY_NAME: string
MANAGE_LOGIN_PAGE_PANE_KEY_VALUE: string
MANAGE_LOGIN_PAGE_PANE_ENTER: string
MANAGE_LOGIN_PAGE_PANE_DELETE: string
MANAGE_LOGIN_PAGE_PANE_SELECT_PLACEHOLDER: string
MANAGE_LOGIN_PAGE_PANE_IMPORT: string
MANAGE_LOGIN_PAGE_PANE_SAVE: string
MANAGE_LOGIN_PAGE_PANE_RESET: string
MANAGE_LOGIN_PAGE_PANE_TABLE_TITLE: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_MESSAGE_A: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ALIAS_MESSAGE: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_ITEMS_PER_PAGE_MESSAGE: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_CUSTOM_URL_MESSAGE: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_NAME: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_B: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_C: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_D: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_NOTICE_MESSAGE_E: string
MANAGE_LOGIN_PAGE_PANE_CONFIG_CHANGE_COPY_SUCCESS: string
MANAGE_BUCKET_PAGE_LOADING_TEXT: string
MANAGE_BUCKET_PAGE_CUSTOM_URL_SELECT_PLACEHOLDER: string
MANAGE_BUCKET_PAGE_CUSTOM_URL_INPUT_PLACEHOLDER: string
MANAGE_BUCKET_PAGE_UPLOAD_FILES_TOOLTIP: string
MANAGE_BUCKET_PAGE_UPLOAD_FROM_URL_TOOLTIP: string
MANAGE_BUCKET_PAGE_CREATE_FOLDER_TOOLTIP: string
MANAGE_BUCKET_PAGE_DOWNLOAD_TOOLTIP: string
MANAGE_BUCKET_PAGE_BATCH_RENAME_TOOLTIP: string
MANAGE_BUCKET_PAGE_BATCH_COPY_URL_TOOLTIP: string
MANAGE_BUCKET_PAGE_COPY_FILE_INFO_TOOLTIP: string
MANAGE_BUCKET_PAGE_FORCE_REFRESH_TOOLTIP: string
MANAGE_BUCKET_PAGE_SEARCH_PLACEHOLDER: string
MANAGE_BUCKET_PAGE_ROOT_FOLDER: string
MANAGE_BUCKET_PAGE_FILE_NUMBER: string
MANAGE_BUCKET_PAGE_FILE_SIZE: string
MANAGE_BUCKET_PAGE_SELECT_ALL: string
MANAGE_BUCKET_PAGE_SELECT_NONE: string
MANAGE_BUCKET_PAGE_SELECT_INVERT: string
MANAGE_BUCKET_DOWNLOAD_BTN: string
MANAGE_BUCKET_DELETE_BTN: string
MANAGE_BUCKET_SORT_TITLE: string
MANAGE_BUCKET_SORT_NAME: string
MANAGE_BUCKET_SORT_SIZE: string
MANAGE_BUCKET_SORT_TYPE: string
MANAGE_BUCKET_SORT_TIME: string
MANAGE_BUCKET_SORT_SELECTED: string
MANAGE_BUCKET_URL_UPLOAD_DIALOG_TITLE: string
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CONFIRM: string
MANAGE_BUCKET_URL_UPLOAD_DIALOG_CANCEL: string
MANAGE_BUCKET_URL_FORMAT_CUSTOM: string
MANAGE_BUCKET_URL_FORMAT_PRESIGN: string
MANAGE_BUCKET_FILE_INFO_TITLE: string
MANAGE_BUCKET_FILE_INFO_COPY_TIPS: string
MANAGE_BUCKET_FILE_LIST_LOADING: string
MANAGE_BUCKET_FILE_LIST_DOWNLOAD_PRE: string
MANAGE_BUCKET_KEEP_FOLDER_STRUCTURE: string
MANAGE_BUCKET_NOT_KEEP_FOLDER_STRUCTURE: string
MANAGE_BUCKET_UPLOAD_AREA_TITLE: string
MANAGE_BUCKET_UPLOAD_AREA_TEXT: string
MANAGE_BUCKET_UPLOAD_AREA_BTN_LOADING: string
MANAGE_BUCKET_UPLOAD_AREA_BTN: string
MANAGE_BUCKET_UPLOAD_AREA_CLEAR: string
MANAGE_BUCKET_UPLOAD_AREA_STATUS_UPLOADING: string
MANAGE_BUCKET_UPLOAD_AREA_COPY_TASK: string
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_UPLOADED_TASK: string
MANAGE_BUCKET_UPLOAD_AREA_CLEAR_ALL_TASK: string
MANAGE_BUCKET_UPLOAD_AREA_SUCCESS: string
MANAGE_BUCKET_UPLOAD_AREA_FAILED: string
MANAGE_BUCKET_DOWNLOAD_PAGE_TITLE: string
MANAGE_BUCKET_DOWNLOADING: string
MANAGE_BUCKET_DOWNLOAD_COPY_TASK: string
MANAGE_BUCKET_DOWNLOAD_CLEAR_DOWNLOADED_TASK: string
MANAGE_BUCKET_DOWNLOAD_CLEAR_ALL_TASK: string
MANAGE_BUCKET_DOWNLOAD_OPEN_FOLDER: string
MANAGE_BUCKET_DOWNLOAD_SUCCESS: string
MANAGE_BUCKET_DOWNLOAD_FAILED: string
MANAGE_BUCKET_MARKDOWN_PREVIEW: string
MANAGE_BUCKET_PLAY: string
MANAGE_BUCKET_RENAME_FILE: string
MANAGE_BUCKET_RENAME_FILE_INPUT_A: string
MANAGE_BUCKET_RENAME_FILE_INPUT_A_TIPS: string
MANAGE_BUCKET_RENAME_FILE_INPUT_A_PLACEHOLDER: string
MANAGE_BUCKET_RENAME_FILE_INPUT_B: string
MANAGE_BUCKET_RENAME_FILE_TABLE_IID: string
MANAGE_BUCKET_RENAME_FILE_EXT: string
MANAGE_BUCKET_RENAME_FILE_EXT_TIPS: string
MANAGE_BUCKET_RENAME_FILE_EXT_YES: string
MANAGE_BUCKET_RENAME_FILE_EXT_NO: string
MANAGE_BUCKET_RENAME_FILE_CANCEL: string
MANAGE_BUCKET_RENAME_FILE_CONFIRM: string
MANAGE_BUCKET_COPY_SUCCESS: string
MANAGE_BUCKET_START_LOADING_MESSAGE: string
MANAGE_BUCKET_END_LOADING_MESSAGE_FAIL: string
MANAGE_BUCKET_CHANGE_CUSTOM_URL_TITLE: string
MANAGE_BUCKET_CHANGE_CUSTOM_URL_MSG: string
MANAGE_BUCKET_LAST_PAGE_TITLE: string
MANAGE_BUCKET_LAST_PAGE_MSG: string
MANAGE_BUCKET_GET_LIST_FAIL_TITLE: string
MANAGE_BUCKET_GET_LIST_FAIL_MSG: string
MANAGE_BUCKET_GET_LIST_FAIL_MSG2: string
MANAGE_BUCKET_GET_LIST_FAIL_MSG3: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TITLE: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_TIP: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CONFIRM: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_BOX_CANCEL: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_SUCCESS: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_FAIL: string
MANAGE_BUCKET_DOWNLOAD_FOLDER_CANCEL: string
MANAGE_BUCKET_CREATE_FOLDER_BOX_TITLE: string
MANAGE_BUCKET_CREATE_FOLDER_BOX_TIP: string
MANAGE_BUCKET_CREATE_FOLDER_BOX_CONFIRM: string
MANAGE_BUCKET_CREATE_FOLDER_BOX_CANCEL: string
MANAGE_BUCKET_CREATE_FOLDER_ERROR_MSG: string
MANAGE_BUCKET_CREATE_FOLDER_SUCCESS: string
MANAGE_BUCKET_CREATE_FOLDER_FAIL: string
MANAGE_BUCKET_UPLOAD_URL_ERROR_MSQ: string
MANAGE_BUCKET_UPLOAD_URL_NOT_TITLE: string
MANAGE_BUCKET_UPLOAD_URL_NOT_MSG: string
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG: string
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG2: string
MANAGE_BUCKET_BATCH_RENAME_ERROR_MSG3: string
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_A: string
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_B: string
MANAGE_BUCKET_BATCH_RENAME_REPEATED_MSG_C: string
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CONFIRM: string
MANAGE_BUCKET_BATCH_RENAME_REPEATED_CANCEL: string
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_A: string
MANAGE_BUCKET_BATCH_RENAME_RESULT_MSG_B: string
MANAGE_BUCKET_BATCH_RENAME_CANCEL: string
MANAGE_BUCKET_BATCH_COPY_INFO_ERROR_MSG: string
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_A: string
MANAGE_BUCKET_BATCH_COPY_INFO_MSG_B: string
MANAGE_BUCKET_BATCH_COPY_URL_ERROR_MSG: string
MANAGE_BUCKET_BATCH_COPY_URL_MSG_A: string
MANAGE_BUCKET_BATCH_COPY_URL_MSG_B: string
MANAGE_BUCKET_CANCEL_LOADING_TITLE: string
MANAGE_BUCKET_CANCEL_LOADING_MSG: string
MANAGE_BUCKET_CANCEL_LOADING_CONFIRM: string
MANAGE_BUCKET_CANCEL_LOADING_CANCEL: string
MANAGE_BUCKET_CANCEL_LOADING_SUCCESS: string
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_TITLE: string
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_MSG: string
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CONFIRM: string
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_CANCEL: string
MANAGE_BUCKET_CANCEL_DOWNLOAD_LOADING_SUCCESS: string
MANAGE_BUCKET_GET_FILE_BS_NOT_TITLE: string
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG: string
MANAGE_BUCKET_GET_FILE_BS_NOT_MSG2: string
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_A: string
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_TITLE_B: string
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_MSG: string
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CONFIRM: string
MANAGE_BUCKET_BATCH_DELETE_CONFIRM_CANCEL: string
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_TITLE: string
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG: string
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG2: string
MANAGE_BUCKET_BATCH_DELETE_ERROR_MSG_MSG3: string
MANAGE_BUCKET_BATCH_DELETE_CANCEL: string
MANAGE_BUCKET_DELETE_CONFIRM_TITLE: string
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER: string
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FOLDER_A: string
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_FILE: string
MANAGE_BUCKET_DELETE_CONFIRM_TITLE_C: string
MANAGE_BUCKET_DELETE_CONFIRM_MSG: string
MANAGE_BUCKET_DELETE_CONFIRM_CONFIRM: string
MANAGE_BUCKET_DELETE_CONFIRM_CANCEL: string
MANAGE_BUCKET_DELETE_ERROR_MSG_TITLE: string
MANAGE_BUCKET_DELETE_ERROR_MSG_MSG: string
MANAGE_BUCKET_DELETE_SUCCESS: string
MANAGE_BUCKET_DELETE_FAIL: string
MANAGE_BUCKET_DELETE_CANCEL: string
MANAGE_BUCKET_RENAME_INFO_MSG: string
MANAGE_BUCKET_RENAME_ERROR_MSG: string
MANAGE_BUCKET_DOWNLOAD_COLUMN_FILENAME: string
MANAGE_BUCKET_DOWNLOAD_COLUMN_FINISHTIME: string
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS: string
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_SUCCESS: string
MANAGE_BUCKET_DOWNLOAD_COLUMN_STATUS_FAIL: string
MANAGE_BUCKET_UPLOAD_COLUMN_FILENAME: string
MANAGE_BUCKET_UPLOAD_COLUMN_TARGETFILEPATH: string
MANAGE_BUCKET_UPLOAD_COLUMN_FINISHTIME: string
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS: string
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_SUCCESS: string
MANAGE_BUCKET_UPLOAD_COLUMN_STATUS_FAIL: string
MANAGE_BUCKET_DOWNLOADING_COLUMN_FILENAME: string
MANAGE_BUCKET_DOWNLOADING_COLUMN_PROGRESS: string
MANAGE_BUCKET_UPLOADING_COLUMN_FILENAME: string
MANAGE_BUCKET_UPLOADING_COLUMN_PROGRESS: string
MANAGE_BUCKET_UPLOADED_COLUMN_FILENAME: string
MANAGE_BUCKET_UPLOADED_COLUMN_FILESIZE: string
MANAGE_BUCKET_UPLOADED_COLUMN_FILENUM: string
MANAGE_BUCKET_FILE_COLUMN_FILENAME: string
MANAGE_BUCKET_FILE_COLUMN_COPY_URL: string
MANAGE_BUCKET_FILE_COLUMN_INFO: string
MANAGE_BUCKET_FILE_COLUMN_FILESIZE: string
MANAGE_BUCKET_FILE_COLUMN_TIME: string
PLUGIN_INSTALL_SUCCEED: string
PLUGIN_INSTALL_FAILED: string
PLUGIN_UNINSTALL_SUCCEED: string