Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Add asset type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8895

Danielc2066c3c5a07
diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json
index 02ffc634a3..746490fa97 100644
--- a/app/appearance/langs/en_US.json
+++ b/app/appearance/langs/en_US.json
@@ -1,5 +1,4 @@
{
- "filesMedia":"Files & media",
"removeBookmark": "Remove bookmark from ${x}?",
"defaultMargin": "Default",
"noneMargin": "None",
diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json
index c2c0546831..4aad6e5624 100644
--- a/app/appearance/langs/es_ES.json
+++ b/app/appearance/langs/es_ES.json
@@ -1,5 +1,4 @@
{
- "filesMedia":"Archivos y medios",
"removeBookmark": "¿Eliminar marcador de ${x}?",
"lockEdit": "Hacer que el documento sea de sólo lectura",
"unlockEdit": "Hacer que el documento sea escribible",
diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json
index 3531be1c1d..3b8b54c2cc 100644
--- a/app/appearance/langs/fr_FR.json
+++ b/app/appearance/langs/fr_FR.json
@@ -1,5 +1,4 @@
{
- "filesMedia": "Fichiers et médias",
"removeBookmark": "Supprimer le signet de ${x} ?",
"lockEdit": "Rendre le document en lecture seule",
"unlockEdit": "Rendre le document accessible en écriture",
diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json
index 66e1501696..a8e57dfbd8 100644
--- a/app/appearance/langs/zh_CHT.json
+++ b/app/appearance/langs/zh_CHT.json
@@ -1,5 +1,4 @@
{
- "filesMedia":"檔案與多媒體",
"removeBookmark": "移除 ${x} 中的書籤?",
"lockEdit": "鎖定編輯",
"unlockEdit": "解除鎖定",
diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json
index b8490adffb..1ae7f285cf 100644
--- a/app/appearance/langs/zh_CN.json
+++ b/app/appearance/langs/zh_CN.json
@@ -1,5 +1,4 @@
{
- "filesMedia":"文件和多媒体",
"removeBookmark": "移除 ${x} 中的书签?",
"lockEdit": "锁定编辑",
"unlockEdit": "解除锁定",
diff --git a/app/src/protyle/render/av/addCol.ts b/app/src/protyle/render/av/addCol.ts
index c7feb0f8a3..84d6bbd0bc 100644
--- a/app/src/protyle/render/av/addCol.ts
+++ b/app/src/protyle/render/av/addCol.ts
@@ -132,12 +132,12 @@ export const addCol = (protyle: IProtyle, blockElement: Element) => {
});
menu.addItem({
icon: "iconImage",
- label: window.siyuan.languages.filesMedia,
+ label: window.siyuan.languages.assets,
click() {
const id = Lute.NewNodeID();
transaction(protyle, [{
action: "addAttrViewCol",
- name: window.siyuan.languages.filesMedia,
+ name: window.siyuan.languages.assets,
avID,
type: "mAsset",
id
@@ -150,7 +150,7 @@ export const addCol = (protyle: IProtyle, blockElement: Element) => {
blockElement: blockElement,
protyle: protyle,
type: "mAsset",
- name: window.siyuan.languages.filesMedia,
+ name: window.siyuan.languages.assets,
id
});
}