mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683
This commit is contained in:
parent
71f3fbf2cb
commit
e984082d42
7 changed files with 8 additions and 8 deletions
|
|
@ -1120,6 +1120,6 @@
|
||||||
"193": "Please refer to the [Artificial Intelligence] chapter of the User Guide for configuration",
|
"193": "Please refer to the [Artificial Intelligence] chapter of the User Guide for configuration",
|
||||||
"194": "There are restrictions on the Nutstore interface, please use other WebDAV services",
|
"194": "There are restrictions on the Nutstore interface, please use other WebDAV services",
|
||||||
"195": "The system time is incorrect, please calibrate the system time and try again",
|
"195": "The system time is incorrect, please calibrate the system time and try again",
|
||||||
"196": "Do not set the workspace under the path of a third-party sync disk, otherwise the data will be damaged (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)"
|
"196": "Do not set the workspace under the path of a third-party sync disk, otherwise the data will be damaged (iCloud/OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1120,6 +1120,6 @@
|
||||||
"193": "Consulte el capítulo [Inteligencia artificial] de la guía del usuario para la configuración",
|
"193": "Consulte el capítulo [Inteligencia artificial] de la guía del usuario para la configuración",
|
||||||
"194": "Existen restricciones en la interfaz de Nutstore, utilice otros servicios WebDAV",
|
"194": "Existen restricciones en la interfaz de Nutstore, utilice otros servicios WebDAV",
|
||||||
"195": "La hora del sistema es incorrecta, calibre la hora del sistema y vuelva a intentarlo",
|
"195": "La hora del sistema es incorrecta, calibre la hora del sistema y vuelva a intentarlo",
|
||||||
"196": "No configure el espacio de trabajo bajo la ruta de un disco de sincronización de terceros, de lo contrario, los datos se dañarán (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)"
|
"196": "No configure el espacio de trabajo bajo la ruta de un disco de sincronización de terceros, de lo contrario, los datos se dañarán (iCloud/OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1120,6 +1120,6 @@
|
||||||
"193": "Veuillez vous référer au chapitre [Intelligence Artificielle] du guide de l'utilisateur pour la configuration",
|
"193": "Veuillez vous référer au chapitre [Intelligence Artificielle] du guide de l'utilisateur pour la configuration",
|
||||||
"194": "Il existe des restrictions sur l'interface Nutstore, veuillez utiliser d'autres services WebDAV",
|
"194": "Il existe des restrictions sur l'interface Nutstore, veuillez utiliser d'autres services WebDAV",
|
||||||
"195": "L'heure du système est incorrecte, veuillez calibrer l'heure du système et réessayer",
|
"195": "L'heure du système est incorrecte, veuillez calibrer l'heure du système et réessayer",
|
||||||
"196": "Ne définissez pas l'espace de travail sous le chemin d'un disque de synchronisation tiers, sinon les données seront endommagées (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)"
|
"196": "Ne définissez pas l'espace de travail sous le chemin d'un disque de synchronisation tiers, sinon les données seront endommagées (iCloud/OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1120,6 +1120,6 @@
|
||||||
"193": "請先參考用戶指南 [人工智能] 章節進行配置",
|
"193": "請先參考用戶指南 [人工智能] 章節進行配置",
|
||||||
"194": "堅果雲接口存在限制,請使用其他 WebDAV 服務",
|
"194": "堅果雲接口存在限制,請使用其他 WebDAV 服務",
|
||||||
"195": "系統時間不正確,請校準系統時間後再試",
|
"195": "系統時間不正確,請校準系統時間後再試",
|
||||||
"196": "請勿將工作空間設置在第三方同步盤路徑下,否則數據會被損壞(OneDrive/Dropbox/Google Drive/堅果雲/百度網盤/騰訊微雲等)"
|
"196": "請勿將工作空間設置在第三方同步盤路徑下,否則數據會被損壞(iCloud/OneDrive/Dropbox/Google Drive/堅果雲/百度網盤/騰訊微雲等)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1120,6 +1120,6 @@
|
||||||
"193": "请先参考用户指南 [人工智能] 章节进行配置",
|
"193": "请先参考用户指南 [人工智能] 章节进行配置",
|
||||||
"194": "坚果云接口存在限制,请使用其他 WebDAV 服务",
|
"194": "坚果云接口存在限制,请使用其他 WebDAV 服务",
|
||||||
"195": "系统时间不正确,请校准系统时间后再试",
|
"195": "系统时间不正确,请校准系统时间后再试",
|
||||||
"196": "请勿将工作空间设置在第三方同步盘路径下,否则数据会被损坏(OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等)"
|
"196": "请勿将工作空间设置在第三方同步盘路径下,否则数据会被损坏(iCloud/OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -367,9 +367,9 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let msg = '⚠️ Do not set the workspace under the path of a third-party sync disk, otherwise the data will be damaged (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.), continue?'
|
let msg = '⚠️ Do not set the workspace under the path of a third-party sync disk, otherwise the data will be damaged (iCloud/OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.), continue?'
|
||||||
if ('zh_CN' === currentLang) {
|
if ('zh_CN' === currentLang) {
|
||||||
msg = '⚠️ 请勿将工作空间设置在第三方同步盘路径下,否则数据会被损坏(OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等),是否继续?'
|
msg = '⚠️ 请勿将工作空间设置在第三方同步盘路径下,否则数据会被损坏(iCloud/OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等),是否继续?'
|
||||||
}
|
}
|
||||||
if (!confirm(msg)) {
|
if (!confirm(msg)) {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -485,7 +485,7 @@ const initKernel = (workspace, port, lang) => {
|
||||||
case 26:
|
case 26:
|
||||||
showErrorWindow(
|
showErrorWindow(
|
||||||
"⚠️ 文件系统不一致 File system inconsistent",
|
"⚠️ 文件系统不一致 File system inconsistent",
|
||||||
"<div>请勿使用第三方同步盘进行数据同步,否则数据会被损坏(OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等)</div><div>Do not use a third-party sync disk for data sync, otherwise the data will be damaged (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)</div>");
|
"<div>请勿使用第三方同步盘进行数据同步,否则数据会被损坏(iCloud/OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等)</div><div>Do not use a third-party sync disk for data sync, otherwise the data will be damaged (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.)</div>");
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
case 1: // Fatal error
|
case 1: // Fatal error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue