mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
This commit is contained in:
parent
4dc2f984cf
commit
1f1db0c37e
6 changed files with 18 additions and 9 deletions
|
|
@ -204,6 +204,7 @@
|
||||||
"pinTableHead": "Pin Table Head",
|
"pinTableHead": "Pin Table Head",
|
||||||
"unpinTableHead": "Unpin Table Head",
|
"unpinTableHead": "Unpin Table Head",
|
||||||
"enablePluginTip": "Do you need to enable this plugin now? You can enable, disable or uninstall it later in [Downloaded - Plugin]",
|
"enablePluginTip": "Do you need to enable this plugin now? You can enable, disable or uninstall it later in [Downloaded - Plugin]",
|
||||||
|
"enablePluginTip2": "All plugin are disabled. You can enable it later in [Downloaded - Plugin]",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"confirmPassword": "I have already remembered the password",
|
"confirmPassword": "I have already remembered the password",
|
||||||
"passwordNoMatch": "The passwords entered twice do not match",
|
"passwordNoMatch": "The passwords entered twice do not match",
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,7 @@
|
||||||
"pinTableHead": "Cabeza de la tabla de clavijas",
|
"pinTableHead": "Cabeza de la tabla de clavijas",
|
||||||
"unpinTableHead": "Desanclar el encabezado de la tabla",
|
"unpinTableHead": "Desanclar el encabezado de la tabla",
|
||||||
"enablePluginTip": "¿Necesita habilitar este complemento ahora? Puede habilitarlo, deshabilitarlo o desinstalarlo más tarde en [Descargado - Complemento]",
|
"enablePluginTip": "¿Necesita habilitar este complemento ahora? Puede habilitarlo, deshabilitarlo o desinstalarlo más tarde en [Descargado - Complemento]",
|
||||||
|
"enablePluginTip2": "Todos los complementos están deshabilitados. Puedes habilitarlos más tarde en [Descargado - Complemento]",
|
||||||
"color": "Color",
|
"color": "Color",
|
||||||
"confirmPassword": "Ya he recordado la contraseña",
|
"confirmPassword": "Ya he recordado la contraseña",
|
||||||
"passwordNoMatch": "Las contraseñas ingresadas dos veces no coinciden",
|
"passwordNoMatch": "Las contraseñas ingresadas dos veces no coinciden",
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,7 @@
|
||||||
"pinTableHead": "Épingler la tête du tableau",
|
"pinTableHead": "Épingler la tête du tableau",
|
||||||
"unpinTableHead": "Désépingler l'en-tête du tableau",
|
"unpinTableHead": "Désépingler l'en-tête du tableau",
|
||||||
"enablePluginTip": "Avez-vous besoin d'activer ce plugin maintenant ? Vous pouvez l'activer, le désactiver ou le désinstaller plus tard dans [Téléchargé - Plugin]",
|
"enablePluginTip": "Avez-vous besoin d'activer ce plugin maintenant ? Vous pouvez l'activer, le désactiver ou le désinstaller plus tard dans [Téléchargé - Plugin]",
|
||||||
|
"enablePluginTip2": "Tous les plugins sont désactivés. Vous pourrez l'activer plus tard dans [Téléchargé - Plugin]",
|
||||||
"color": "Couleur",
|
"color": "Couleur",
|
||||||
"confirmPassword": "J'ai déjà retenu le mot de passe",
|
"confirmPassword": "J'ai déjà retenu le mot de passe",
|
||||||
"passwordNoMatch": "Les mots de passe saisis deux fois ne correspondent pas",
|
"passwordNoMatch": "Les mots de passe saisis deux fois ne correspondent pas",
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,7 @@
|
||||||
"pinTableHead": "固定表頭",
|
"pinTableHead": "固定表頭",
|
||||||
"unpinTableHead": "取消固定表頭",
|
"unpinTableHead": "取消固定表頭",
|
||||||
"enablePluginTip": "現在需要啟用該插件嗎?後續可以在 [已下載 - 插件] 中進行啟用、禁用或者卸載",
|
"enablePluginTip": "現在需要啟用該插件嗎?後續可以在 [已下載 - 插件] 中進行啟用、禁用或者卸載",
|
||||||
|
"enablePluginTip2": "目前已經停用所有插件,請在 [已下載 - 插件] 中啟用",
|
||||||
"color": "顏色",
|
"color": "顏色",
|
||||||
"confirmPassword": "我已經牢記密碼了",
|
"confirmPassword": "我已經牢記密碼了",
|
||||||
"passwordNoMatch": "兩次輸入的密碼不一致",
|
"passwordNoMatch": "兩次輸入的密碼不一致",
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,7 @@
|
||||||
"pinTableHead": "固定表头",
|
"pinTableHead": "固定表头",
|
||||||
"unpinTableHead": "取消固定表头",
|
"unpinTableHead": "取消固定表头",
|
||||||
"enablePluginTip": "现在需要启用该插件吗?后续可以在 [已下载 - 插件] 中进行启用、禁用或者卸载",
|
"enablePluginTip": "现在需要启用该插件吗?后续可以在 [已下载 - 插件] 中进行启用、禁用或者卸载",
|
||||||
|
"enablePluginTip2": "目前已经禁用所有插件,请在 [已下载 - 插件] 中启用",
|
||||||
"color": "颜色",
|
"color": "颜色",
|
||||||
"confirmPassword": "我已经牢记密码了",
|
"confirmPassword": "我已经牢记密码了",
|
||||||
"passwordNoMatch": "两次输入的密码不一致",
|
"passwordNoMatch": "两次输入的密码不一致",
|
||||||
|
|
|
||||||
|
|
@ -649,16 +649,20 @@ export const bazaar = {
|
||||||
bazaar._onBazaar(response, bazaarType, ["themes", "icons"].includes(bazaarType));
|
bazaar._onBazaar(response, bazaarType, ["themes", "icons"].includes(bazaarType));
|
||||||
bazaar._genMyHTML(bazaarType, app);
|
bazaar._genMyHTML(bazaarType, app);
|
||||||
if (bazaarType === "plugins") {
|
if (bazaarType === "plugins") {
|
||||||
confirmDialog(window.siyuan.languages.confirm, window.siyuan.languages.enablePluginTip, () => {
|
if (window.siyuan.config.bazaar.petalDisabled) {
|
||||||
fetchPost("/api/petal/setPetalEnabled", {
|
confirmDialog(window.siyuan.languages.confirm, window.siyuan.languages.enablePluginTip2);
|
||||||
packageName: dataObj.name,
|
} else {
|
||||||
enabled: true,
|
confirmDialog(window.siyuan.languages.confirm, window.siyuan.languages.enablePluginTip, () => {
|
||||||
frontend: getFrontend()
|
fetchPost("/api/petal/setPetalEnabled", {
|
||||||
}, (response) => {
|
packageName: dataObj.name,
|
||||||
loadPlugin(app, response.data);
|
enabled: true,
|
||||||
bazaar._genMyHTML(bazaarType, app);
|
frontend: getFrontend()
|
||||||
|
}, (response) => {
|
||||||
|
loadPlugin(app, response.data);
|
||||||
|
bazaar._genMyHTML(bazaarType, app);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue