From 418fc1df8962dd63851cdeff801e32cf99c644d3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 23 Dec 2023 20:25:58 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9888 --- app/appearance/langs/zh_CN.json | 1 + app/src/protyle/render/av/col.ts | 2 +- app/src/protyle/render/av/openMenuPanel.ts | 7 ++ app/src/protyle/render/av/relation.ts | 89 ++++++++++++++++++++++ app/src/types/index.d.ts | 6 +- 5 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 app/src/protyle/render/av/relation.ts diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index e54129749..09460ca15 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,4 +1,5 @@ { + "relatedTo": "关联至", "relation": "关联", "rollup": "查询引用", "replaceTypes": { diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 4bda7cb62..b5ba506cd 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -149,7 +149,7 @@ export const getEditHTML = (options: { `; } else if (colData.type === "relation") { const databaseName = "TODO" - html += `