mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 01:26:37 +08:00
feat(core): add tooltip for import dialog snapshot item (#10013)
[PD-2132](https://linear.app/affine-design/issue/PD-2132/import-导入优化:snapshot-需要一个问号,解释文档)
This commit is contained in:
@@ -119,6 +119,10 @@ const importOptions = [
|
||||
prefixIcon: (
|
||||
<PageIcon color={cssVarV2('icon/primary')} width={20} height={20} />
|
||||
),
|
||||
suffixIcon: (
|
||||
<HelpIcon color={cssVarV2('icon/primary')} width={20} height={20} />
|
||||
),
|
||||
suffixTooltip: 'com.affine.import.snapshot.tooltip',
|
||||
testId: 'editor-option-menu-import-snapshot',
|
||||
type: 'snapshot' as ImportType,
|
||||
},
|
||||
|
||||
@@ -561,6 +561,7 @@
|
||||
"com.affine.import.notion": "Notion",
|
||||
"com.affine.import.notion.tooltip": "Import your Notion data. Supported import formats: HTML with subpages.",
|
||||
"com.affine.import.snapshot": "Snapshot",
|
||||
"com.affine.import.snapshot.tooltip": "Import your AFFiNE workspace and page snapshot file.",
|
||||
"com.affine.import.status.failed.message": "Import failed, please try again.",
|
||||
"com.affine.import.status.failed.message.no-file-selected": "No file selected",
|
||||
"com.affine.import.status.failed.title": "Import failure",
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"com.affine.import.notion": "Notion",
|
||||
"com.affine.import.notion.tooltip": "导入您的 Notion 数据。支持导入格式:HTML 带子页面。",
|
||||
"com.affine.import.snapshot": "快照",
|
||||
"com.affine.import.snapshot.tooltip": "导入您的 AFFiNE 工作区和页面快照文件。",
|
||||
"com.affine.import.status.failed.message": "导入失败,请重试。",
|
||||
"com.affine.import.status.failed.message.no-file-selected": "未选择文件",
|
||||
"com.affine.import.status.failed.title": "导入失败",
|
||||
|
||||
@@ -550,6 +550,7 @@
|
||||
"com.affine.import.notion": "Notion",
|
||||
"com.affine.import.notion.tooltip": "導入您的 Notion 數據。支持導入格式:HTML 帶子頁面。",
|
||||
"com.affine.import.snapshot": "快照",
|
||||
"com.affine.import.snapshot.tooltip": "導入您的 AFFiNE 工作區和頁面快照文件。",
|
||||
"com.affine.import.status.failed.message": "導入失敗,請重試。",
|
||||
"com.affine.import.status.failed.message.no-file-selected": "未選擇文件",
|
||||
"com.affine.import.status.failed.title": "導入失敗",
|
||||
|
||||
Reference in New Issue
Block a user