mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🎨 桌面端支持同时打开多个工作空间 https://github.com/siyuan-note/siyuan/issues/4567
This commit is contained in:
parent
29c8b67a7d
commit
8487627a15
6 changed files with 8 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"removeWorkspaceTip": "The workspace cannot be recovered after being deleted, are you sure to delete it?",
|
||||||
"new": "New",
|
"new": "New",
|
||||||
"share2LiandiConfirmTip": "Are you sure to share this document to Liandi?",
|
"share2LiandiConfirmTip": "Are you sure to share this document to Liandi?",
|
||||||
"share2Liandi": "Share to Liandi",
|
"share2Liandi": "Share to Liandi",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"removeWorkspaceTip": "El espacio de trabajo no se puede recuperar después de eliminarlo, ¿está seguro de eliminarlo?",
|
||||||
"new": "Nuevo",
|
"new": "Nuevo",
|
||||||
"share2LiandiConfirmTip": "¿Estás seguro de compartir este documento con Liandi?",
|
"share2LiandiConfirmTip": "¿Estás seguro de compartir este documento con Liandi?",
|
||||||
"share2Liandi": "Compartir con Liandi",
|
"share2Liandi": "Compartir con Liandi",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"removeWorkspaceTip": "L'espace de travail ne peut pas être récupéré après avoir été supprimé, êtes-vous sûr de le supprimer ?",
|
||||||
"new": "Nouveau",
|
"new": "Nouveau",
|
||||||
"share2LiandiConfirmTip": "Êtes-vous sûr de partager ce document avec Liandi ?",
|
"share2LiandiConfirmTip": "Êtes-vous sûr de partager ce document avec Liandi ?",
|
||||||
"share2Liandi": "Partager avec Liandi",
|
"share2Liandi": "Partager avec Liandi",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"removeWorkspaceTip": "刪除工作空間後無法恢復,確定刪除嗎?",
|
||||||
"new": "新建",
|
"new": "新建",
|
||||||
"share2LiandiConfirmTip": "確定將該文檔分享到鏈滴嗎?",
|
"share2LiandiConfirmTip": "確定將該文檔分享到鏈滴嗎?",
|
||||||
"share2Liandi": "分享到鏈滴",
|
"share2Liandi": "分享到鏈滴",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"removeWorkspaceTip": "删除工作空间后无法恢复,确定删除吗?",
|
||||||
"new": "新建",
|
"new": "新建",
|
||||||
"share2LiandiConfirmTip": "确定将该文档分享到链滴吗?",
|
"share2LiandiConfirmTip": "确定将该文档分享到链滴吗?",
|
||||||
"share2Liandi": "分享到链滴",
|
"share2Liandi": "分享到链滴",
|
||||||
|
|
|
||||||
|
|
@ -477,8 +477,9 @@ ${accountHTML}
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
} else if (target.getAttribute("data-type") === "remove") {
|
} else if (target.getAttribute("data-type") === "remove") {
|
||||||
confirmDialog("⚠️ " + window.siyuan.languages.remove, window.siyuan.languages.about8, () => {
|
const p = target.parentElement.getAttribute("data-path");
|
||||||
fetchPost("/api/system/removeWorkspaceDir", {path: target.parentElement.getAttribute("data-path")});
|
confirmDialog("⚠️ " + window.siyuan.languages.remove + " " + pathPosix().basename(p), window.siyuan.languages.removeWorkspaceTip, () => {
|
||||||
|
fetchPost("/api/system/removeWorkspaceDir", {path: p});
|
||||||
});
|
});
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue