Vanessa 2023-09-08 20:22:54 +08:00
parent bfd84dc9c7
commit da0e656ba6
7 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
{
"removeWorkspacePhysically": "Do you want to physically delete the workspace data? (Physical deletion cannot be recovered)",
"removeWorkspacePhysically": "Do you want to physically delete the data in workspace ${x}? (Physical deletion cannot be recovered)",
"mainMenu": "Main Menu",
"searchRemoveName": "Do you want to delete ${x} and assign its query condition to ${y}?",
"searchUpdateName": "Update name ${x} to ${y}?",

View file

@ -1,5 +1,5 @@
{
"removeWorkspacePhysically": "¿Desea eliminar físicamente los datos del espacio de trabajo? (La eliminación física no se puede recuperar)",
"removeWorkspacePhysically": "¿Quieres eliminar físicamente los datos en el espacio de trabajo ${x}? (La eliminación física no se puede recuperar)",
"mainMenu": "Menú principal",
"searchRemoveName": "¿Desea eliminar ${x} y asignar su condición de consulta a ${y}?",
"searchUpdateName": "¿Actualizar nombre ${x} a ${y}?",

View file

@ -1,5 +1,5 @@
{
"removeWorkspacePhysically": "Voulez-vous supprimer physiquement les données de l'espace de travail ? (La suppression physique ne peut pas être récupérée)",
"removeWorkspacePhysically": "Voulez-vous supprimer physiquement les données de l'espace de travail ${x} ? (La suppression physique ne peut pas être récupérée)",
"mainMenu": "Menu principal",
"searchRemoveName": "Voulez-vous supprimer ${x} et affecter sa condition de requête à ${y} ?",
"searchUpdateName": "Mettre à jour le nom ${x} en ${y} ?",

View file

@ -1,5 +1,5 @@
{
"removeWorkspacePhysically": "是否物理刪除工作空間數據?(物理刪除無法恢復)",
"removeWorkspacePhysically": "是否物理刪除工作空間 ${x} 的數據?(物理刪除無法恢復)",
"mainMenu": "主菜單",
"searchRemoveName": "是否刪 ${x} 並將其查詢條件賦值給 ${y}",
"searchUpdateName": "是否將查詢名稱 ${x} 更新為 ${y}",

View file

@ -1,5 +1,5 @@
{
"removeWorkspacePhysically": "是否物理删除工作空间数据?(物理删除无法恢复)",
"removeWorkspacePhysically": "是否物理删除工作空间 ${x} 的数据?(物理删除无法恢复)",
"mainMenu": "主菜单",
"searchRemoveName": "是否删 ${x} 并将其查询条件赋值给 ${y}",
"searchUpdateName": "是否将查询名称 ${x} 更新为 ${y}",

View file

@ -191,7 +191,7 @@ export const workspaceMenu = (app: App, rect: DOMRect) => {
event.preventDefault();
event.stopPropagation();
fetchPost("/api/system/removeWorkspaceDir", {path: item.path}, () => {
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.removeWorkspacePhysically, () => {
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.removeWorkspacePhysically.replace("${x}", item.path), () => {
fetchPost("/api/system/removeWorkspaceDirPhysically", {path: item.path});
});
});

View file

@ -321,7 +321,7 @@ export const initAbout = () => {
const removePath = target.parentElement.getAttribute("data-path");
fetchPost("/api/system/removeWorkspaceDir", {path: removePath}, () => {
genWorkspace(workspaceDirElement);
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.removeWorkspacePhysically, () => {
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.removeWorkspacePhysically.replace("${x}", removePath), () => {
fetchPost("/api/system/removeWorkspaceDirPhysically", {path: removePath});
});
});