🎨 Improve create workspace interaction https://github.com/siyuan-note/siyuan/issues/8700
This commit is contained in:
parent
a7eed1d63b
commit
b795f403b6
6 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"createWorkspace": "Create Workspace",
|
||||
"createWorkspaceTip": "Are you sure to use this path to create a workspace?",
|
||||
"calcOperatorNone": "None",
|
||||
"calcOperatorCountAll": "Count all",
|
||||
"calcOperatorCountValues": "Count Values",
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"createWorkspace": "Crear espacio de trabajo",
|
||||
"createWorkspaceTip": "¿Estás seguro de usar esta ruta para crear un espacio de trabajo?",
|
||||
"calcOperatorNone": "Ninguno",
|
||||
"calcOperatorCountAll": "Contar todo",
|
||||
"calcOperatorCountValues": "Valores de conteo",
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"createWorkspace": "Créer un espace de travail",
|
||||
"createWorkspaceTip": "Êtes-vous sûr d'utiliser ce chemin pour créer un espace de travail ?",
|
||||
"calcOperatorNone": "Aucun",
|
||||
"calcOperatorCountAll": "Compter tout",
|
||||
"calcOperatorCountValues": "Compter les valeurs",
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"createWorkspace": "創建工作空間",
|
||||
"createWorkspaceTip": "確定使用該路徑創建工作空間嗎?",
|
||||
"calcOperatorNone": "無",
|
||||
"calcOperatorCountAll": "行計數",
|
||||
"calcOperatorCountValues": "值計數",
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"createWorkspace": "创建工作空间",
|
||||
"createWorkspaceTip": "确定使用该路径创建工作空间吗?",
|
||||
"calcOperatorNone": "无",
|
||||
"calcOperatorCountAll": "行计数",
|
||||
"calcOperatorCountValues": "值计数",
|
||||
|
|
|
@ -94,7 +94,7 @@ export const workspaceMenu = (app: App, rect: DOMRect) => {
|
|||
if (response.data.isWorkspace) {
|
||||
openWorkspace(localPath.filePaths[0]);
|
||||
} else {
|
||||
confirmDialog(window.siyuan.languages.new, `TODO: ${localPath.filePaths[0]}`, () => {
|
||||
confirmDialog(window.siyuan.languages.createWorkspace, window.siyuan.languages.createWorkspaceTip + `<br><br><code class="fn__code">${localPath.filePaths[0]}</code>`, () => {
|
||||
openWorkspace(localPath.filePaths[0]);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue