fix(app): paste clipboard images on mobile (#2793)
Native composers had no path from the device clipboard into image attachments. Route clipboard data URLs through the existing attachment persistence flow and expose the action only in the native attachment sheet.
This commit is contained in:
@@ -112,6 +112,7 @@ export const zhCN: TranslationResources = {
|
||||
},
|
||||
attachments: {
|
||||
addImage: "添加图片",
|
||||
pasteImage: "粘贴图片",
|
||||
addFile: "Upload file",
|
||||
addIssueOrPr: "添加 issue 或 PR",
|
||||
addIssueOrPr_mr: "添加 issue 或 MR",
|
||||
@@ -137,6 +138,8 @@ export const zhCN: TranslationResources = {
|
||||
initialPromptRequired: "初始 prompt 必填",
|
||||
alreadyLoading: "正在加载",
|
||||
uploadFailed: "Failed to upload file",
|
||||
noClipboardImage: "剪贴板中没有图片",
|
||||
pasteImageFailed: "无法粘贴图片",
|
||||
fileTooLarge: "{{fileName}} is too large (max {{size}})",
|
||||
},
|
||||
clientCommands: {
|
||||
|
||||
Reference in New Issue
Block a user