mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
This commit is contained in:
parent
a13d8362d5
commit
612dff8b8c
8 changed files with 45 additions and 43 deletions
|
|
@ -670,9 +670,9 @@
|
||||||
"account3": "Trial Subscription",
|
"account3": "Trial Subscription",
|
||||||
"account5": "Cloud assets hosting",
|
"account5": "Cloud assets hosting",
|
||||||
"account6": "Remaining before subscription expires",
|
"account6": "Remaining before subscription expires",
|
||||||
"account7": "More advanced features",
|
"account7": "<a href=\"https://b3log.org/siyuan/en/pricing.html\" target=\"_blank\">More advanced features</a>",
|
||||||
"account8": "",
|
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>Education discount 6.4% off</a></div>",
|
||||||
"account9": "",
|
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/subscribe/siyuan/batch'>6.4% discount for the first year of a two-person group</a></ div>",
|
||||||
"account10": "Annual subscription",
|
"account10": "Annual subscription",
|
||||||
"account11": "Until the end of the early bird discount",
|
"account11": "Until the end of the early bird discount",
|
||||||
"account12": "Life companion",
|
"account12": "Life companion",
|
||||||
|
|
@ -687,7 +687,7 @@
|
||||||
"captcha": "Captcha",
|
"captcha": "Captcha",
|
||||||
"register": "Create New Account",
|
"register": "Create New Account",
|
||||||
"login": "Login",
|
"login": "Login",
|
||||||
"accountTip": "I have read and agree <a target='_blank' href='https://b3log.org/siyuan/privacy.html'>SiYuan Privacy Policy</a>",
|
"accountTip": "I have read and agree <a target='_blank' href='https://b3log.org/siyuan/en/privacy.html'>SiYuan Privacy Policy</a>",
|
||||||
"forgetPassword": "Forget Password",
|
"forgetPassword": "Forget Password",
|
||||||
"accountName": "Username/Email",
|
"accountName": "Username/Email",
|
||||||
"account": "Account",
|
"account": "Account",
|
||||||
|
|
@ -830,7 +830,7 @@
|
||||||
"theme": "Theme",
|
"theme": "Theme",
|
||||||
"language": "Language",
|
"language": "Language",
|
||||||
"about": "About",
|
"about": "About",
|
||||||
"about1": "Copyright (c) 2020-present • Yunnan Liandi Technology Co., Ltd. • <a target='_blank' href='https://b3log.org/siyuan/privacy.html'>Privacy Policy</a> • <a target='_blank' href='https://b3log.org/siyuan/eula.html'>User Agreement</a><div class='fn__hr'></div><div class='fn__hr'></div><div class='ft__on-surface'>The core developers of SiYuan are <a href=\"https://github.com/88250\" target=\"_blank\">D</a> and <a href=\"https://github.com/Vanessa219\" target=\"_blank\">V</a>, and the community development contributors can be seen <a href=\"https://github.com/siyuan-note/bazaar/graphs/contributors\" target=\"_blank\">here</a></div>",
|
"about1": "Copyright (c) 2020-present • Yunnan Liandi Technology Co., Ltd. • <a target='_blank' href='https://b3log.org/siyuan/en/privacy.html'>Privacy Policy</a> • <a target='_blank' href='https://b3log.org/siyuan/en/eula.html'>User Agreement</a><div class='fn__hr'></div><div class='fn__hr'></div><div class='ft__on-surface'>The core developers of SiYuan are <a href=\"https://github.com/88250\" target=\"_blank\">D</a> and <a href=\"https://github.com/Vanessa219\" target=\"_blank\">V</a>, and the community development contributors can be seen <a href=\"https://github.com/siyuan-note/bazaar/graphs/contributors\" target=\"_blank\">here</a></div>",
|
||||||
"about2": "Use on browser",
|
"about2": "Use on browser",
|
||||||
"about3": "Please use the Chrome browser and keep it in the same network as the computer, port <code class='fn__code'>${port}</code>(In addition to the random port, the first started workspace will also automatically listen to <code class='fn__code'>6806</code> as a fixed port, so that it is convenient for the browser to clip extensions or other external programs to call the kernel interface), the addresses that may be connected are as follows: ",
|
"about3": "Please use the Chrome browser and keep it in the same network as the computer, port <code class='fn__code'>${port}</code>(In addition to the random port, the first started workspace will also automatically listen to <code class='fn__code'>6806</code> as a fixed port, so that it is convenient for the browser to clip extensions or other external programs to call the kernel interface), the addresses that may be connected are as follows: ",
|
||||||
"about4": "Open browser",
|
"about4": "Open browser",
|
||||||
|
|
@ -1151,7 +1151,7 @@
|
||||||
"181": "The document has been shared to Liandi, <a href=\"%s\" target=\"_blank\">click to view</a>",
|
"181": "The document has been shared to Liandi, <a href=\"%s\" target=\"_blank\">click to view</a>",
|
||||||
"182": "Sharing document, please wait...",
|
"182": "Sharing document, please wait...",
|
||||||
"183": "Validating index document tree [%d/%d %s]",
|
"183": "Validating index document tree [%d/%d %s]",
|
||||||
"184": "Powered by <a href=\"https://b3log.org/siyuan\" target=\"_blank\">SiYuan</a>",
|
"184": "Powered by <a href=\"https://b3log.org/siyuan/en/?lang=en\" target=\"_blank\">SiYuan</a>",
|
||||||
"185": "Index verification complete",
|
"185": "Index verification complete",
|
||||||
"186": "Locking cloud sync directory",
|
"186": "Locking cloud sync directory",
|
||||||
"187": "Unlocking cloud sync directory",
|
"187": "Unlocking cloud sync directory",
|
||||||
|
|
|
||||||
|
|
@ -670,9 +670,9 @@
|
||||||
"account3": "Suscripción de prueba",
|
"account3": "Suscripción de prueba",
|
||||||
"account5": "Alojamiento de activos en la nube",
|
"account5": "Alojamiento de activos en la nube",
|
||||||
"account6": "Restante antes de que caduque la suscripción",
|
"account6": "Restante antes de que caduque la suscripción",
|
||||||
"account7": "Más funciones avanzadas",
|
"account7": "<a href=\"https://b3log.org/siyuan/en/pricing.html\" target=\"_blank\">Más funciones avanzadas</a>",
|
||||||
"account8": "",
|
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>Descuento educativo 6,4 %</a></div>",
|
||||||
"account9": "",
|
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/subscribe/siyuan/batch'>6,4 % de descuento durante el primer año de un grupo de dos personas </a></div>",
|
||||||
"account10": "Suscripción anual",
|
"account10": "Suscripción anual",
|
||||||
"account11": "Hasta que finalice el descuento por pronto pago",
|
"account11": "Hasta que finalice el descuento por pronto pago",
|
||||||
"account12": "Compañero de vida",
|
"account12": "Compañero de vida",
|
||||||
|
|
@ -687,7 +687,7 @@
|
||||||
"captcha": "Captcha",
|
"captcha": "Captcha",
|
||||||
"register": "Crear una nueva cuenta",
|
"register": "Crear una nueva cuenta",
|
||||||
"login": "Iniciar sesión",
|
"login": "Iniciar sesión",
|
||||||
"accountTip": "He leído y estoy de acuerdo con la <a target='_blank' href='https://b3log.org/siyuan/privacy.html'>Política de privacidad de SiYuan</a>",
|
"accountTip": "He leído y estoy de acuerdo con la <a target='_blank' href='https://b3log.org/siyuan/en/privacy.html'>Política de privacidad de SiYuan</a>",
|
||||||
"forgetPassword": "Olvidar la contraseña",
|
"forgetPassword": "Olvidar la contraseña",
|
||||||
"accountName": "Nombre de usuario/correo electrónico",
|
"accountName": "Nombre de usuario/correo electrónico",
|
||||||
"account": "Cuenta",
|
"account": "Cuenta",
|
||||||
|
|
@ -830,7 +830,7 @@
|
||||||
"theme": "Tema",
|
"theme": "Tema",
|
||||||
"language": "Idioma",
|
"language": "Idioma",
|
||||||
"about": "Acerca de",
|
"about": "Acerca de",
|
||||||
"about1": "Copyright (c) 2020-presente • Yunnan Liandi Technology Co., Ltd. • <a target='_blank' href='https://b3log.org/siyuan/privacy.html'>Política de privacidad</a> • <a target='_blank' href='https://b3log.org/siyuan/eula.html'>Acuerdo de usuario</a><div class='fn__hr'></div><div class='fn__hr'></div><div class='ft__on-surface'>Los principales desarrolladores de SiYuan son <a href=\"https://github.com/88250\" target=\"_blank\">D</a> y <a href=\"https://github.com/Vanessa219\" target=\"_blank\">V</a>, y los contribuyentes al desarrollo de la comunidad pueden verse <a href=\"https://github.com/siyuan-note/bazaar/graphs/contributors\" target=\"_blank\">aquí</a></div>",
|
"about1": "Copyright (c) 2020-presente • Yunnan Liandi Technology Co., Ltd. • <a target='_blank' href='https://b3log.org/siyuan/en/privacy.html'>Política de privacidad</a> • <a target='_blank' href='https://b3log.org/siyuan/en/eula.html'>Acuerdo de usuario</a><div class='fn__hr'></div><div class='fn__hr'></div><div class='ft__on-surface'>Los principales desarrolladores de SiYuan son <a href=\"https://github.com/88250\" target=\"_blank\">D</a> y <a href=\"https://github.com/Vanessa219\" target=\"_blank\">V</a>, y los contribuyentes al desarrollo de la comunidad pueden verse <a href=\"https://github.com/siyuan-note/bazaar/graphs/contributors\" target=\"_blank\">aquí</a></div>",
|
||||||
"about2": "Uso en el navegador",
|
"about2": "Uso en el navegador",
|
||||||
"about3": "Por favor, utilice el navegador Chrome y manténgalo en la misma red que el ordenador, puerto <code class='fn__code'>${port}</code>(Además del puerto aleatorio, el primer espacio de trabajo iniciado también escuchará automáticamente <code class='fn__code'>6806</code> como un puerto fijo, por lo que es conveniente que el navegador recorte extensiones u otros programas externos para llamar a la interfaz del kernel), las direcciones que se pueden conectar son las siguientes: ",
|
"about3": "Por favor, utilice el navegador Chrome y manténgalo en la misma red que el ordenador, puerto <code class='fn__code'>${port}</code>(Además del puerto aleatorio, el primer espacio de trabajo iniciado también escuchará automáticamente <code class='fn__code'>6806</code> como un puerto fijo, por lo que es conveniente que el navegador recorte extensiones u otros programas externos para llamar a la interfaz del kernel), las direcciones que se pueden conectar son las siguientes: ",
|
||||||
"about4": "Abrir el navegador",
|
"about4": "Abrir el navegador",
|
||||||
|
|
@ -1151,7 +1151,7 @@
|
||||||
"181": "El documento ha sido compartido con Liandi, <a href=\"%s\" target=\"_blank\">haga clic para ver</a>",
|
"181": "El documento ha sido compartido con Liandi, <a href=\"%s\" target=\"_blank\">haga clic para ver</a>",
|
||||||
"182": "Compartiendo documento, por favor espere...",
|
"182": "Compartiendo documento, por favor espere...",
|
||||||
"183": "Validando el árbol del documento de índice [%d/%d %s]",
|
"183": "Validando el árbol del documento de índice [%d/%d %s]",
|
||||||
"184": "Con la tecnología de <a href=\"https://b3log.org/siyuan\" target=\"_blank\">SiYuan</a>",
|
"184": "Con la tecnología de <a href=\"https://b3log.org/siyuan/en/?lang=en\" target=\"_blank\">SiYuan</a>",
|
||||||
"185": "Verificación de índice completada",
|
"185": "Verificación de índice completada",
|
||||||
"186": "Bloqueando el directorio de sincronización de la nube",
|
"186": "Bloqueando el directorio de sincronización de la nube",
|
||||||
"187": "Desbloqueando el directorio de sincronización en la nube",
|
"187": "Desbloqueando el directorio de sincronización en la nube",
|
||||||
|
|
|
||||||
|
|
@ -670,9 +670,9 @@
|
||||||
"account3": "Abonnement d'essai",
|
"account3": "Abonnement d'essai",
|
||||||
"account5": "Hébergement d'actifs cloud",
|
"account5": "Hébergement d'actifs cloud",
|
||||||
"account6": "Restant avant l'expiration de l'abonnement",
|
"account6": "Restant avant l'expiration de l'abonnement",
|
||||||
"account7": "Fonctions plus avancées",
|
"account7": "<a href=\"https://b3log.org/siyuan/en/pricing.html\" target=\"_blank\">Fonctions plus avancées</a>",
|
||||||
"account8": "",
|
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>Réduction éducation de 6,4 %</a></div>",
|
||||||
"account9": "",
|
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/subscribe/siyuan/batch'>6,4 % de réduction pour la première année d'un groupe de deux personnes </a></ div>",
|
||||||
"account10": "Abonnement annuel",
|
"account10": "Abonnement annuel",
|
||||||
"account11": "Jusqu'à la fin de la réduction pour les early bird",
|
"account11": "Jusqu'à la fin de la réduction pour les early bird",
|
||||||
"account12": "Compagnon de vie",
|
"account12": "Compagnon de vie",
|
||||||
|
|
@ -687,7 +687,7 @@
|
||||||
"captcha": "Code de vérification",
|
"captcha": "Code de vérification",
|
||||||
"register": "Créer un nouveau compte",
|
"register": "Créer un nouveau compte",
|
||||||
"login": "Login",
|
"login": "Login",
|
||||||
"accountTip": "J'ai lu et accepté <a target='_blank' href='https://b3log.org/siyuan/privacy.html'>Politique de confidentialité de SiYuan</a>",
|
"accountTip": "J'ai lu et accepté <a target='_blank' href='https://b3log.org/siyuan/en/privacy.html'>Politique de confidentialité de SiYuan</a>",
|
||||||
"forgetPassword": "Mot de passe oublié",
|
"forgetPassword": "Mot de passe oublié",
|
||||||
"accountName": "Nom d'utilisateur/Email",
|
"accountName": "Nom d'utilisateur/Email",
|
||||||
"account": "Compte",
|
"account": "Compte",
|
||||||
|
|
@ -830,7 +830,7 @@
|
||||||
"theme": "Thème",
|
"theme": "Thème",
|
||||||
"language": "Langue",
|
"language": "Langue",
|
||||||
"about": "À propos de",
|
"about": "À propos de",
|
||||||
"about1": "Copyright (c) 2020-présent • Yunnan Liandi Technology Co., Ltd. • <a target='_blank' href='https://b3log.org/siyuan/privacy.html'>Politique de confidentialité</a> • <a target='_blank' href='https://b3log.org/siyuan/eula.html'>Accord de l'utilisateur</a><div class='fn__hr'></div><div class='fn__hr'></div><div class='ft__on-surface'>Les principaux développeurs de SiYuan sont <a href=\"https://github.com/88250\" target=\"_blank\">D</a> et <a href=\"https://github.com/Vanessa219\" target=\"_blank\">V</a>, et les contributeurs au développement de la communauté peuvent être vus <a href=\"https://github.com/siyuan-note/bazaar/graphs/contributors\" target=\"_blank\">ici</a></div>",
|
"about1": "Copyright (c) 2020-présent • Yunnan Liandi Technology Co., Ltd. • <a target='_blank' href='https://b3log.org/siyuan/en/privacy.html'>Politique de confidentialité</a> • <a target='_blank' href='https://b3log.org/siyuan/en/eula.html'>Accord de l'utilisateur</a><div class='fn__hr'></div><div class='fn__hr'></div><div class='ft__on-surface'>Les principaux développeurs de SiYuan sont <a href=\"https://github.com/88250\" target=\"_blank\">D</a> et <a href=\"https://github.com/Vanessa219\" target=\"_blank\">V</a>, et les contributeurs au développement de la communauté peuvent être vus <a href=\"https://github.com/siyuan-note/bazaar/graphs/contributors\" target=\"_blank\">ici</a></div>",
|
||||||
"about2": "Utiliser sur le navigateur",
|
"about2": "Utiliser sur le navigateur",
|
||||||
"about3": "Veuillez utiliser le navigateur Chrome et le garder sur le même réseau que l'ordinateur, port <code class='fn__code'>${port}</code>(En plus du port aléatoire, le premier espace de travail démarré écoutera également automatiquement <code class='fn__code'>6806</code> en tant que port fixe, de sorte qu'il est pratique pour le navigateur de couper des extensions ou d'autres programmes externes pour appeler l'interface du noyau), les adresses pouvant être connectées sont les suivantes: ",
|
"about3": "Veuillez utiliser le navigateur Chrome et le garder sur le même réseau que l'ordinateur, port <code class='fn__code'>${port}</code>(En plus du port aléatoire, le premier espace de travail démarré écoutera également automatiquement <code class='fn__code'>6806</code> en tant que port fixe, de sorte qu'il est pratique pour le navigateur de couper des extensions ou d'autres programmes externes pour appeler l'interface du noyau), les adresses pouvant être connectées sont les suivantes: ",
|
||||||
"about4": "Ouvrir le navigateur",
|
"about4": "Ouvrir le navigateur",
|
||||||
|
|
@ -1151,7 +1151,7 @@
|
||||||
"181": "Le document a été partagé avec Liandi, <a href=\"%s\" target=\"_blank\">cliquez pour afficher</a>",
|
"181": "Le document a été partagé avec Liandi, <a href=\"%s\" target=\"_blank\">cliquez pour afficher</a>",
|
||||||
"182": "Partage du document, veuillez patienter...",
|
"182": "Partage du document, veuillez patienter...",
|
||||||
"183": "Validation de l'arborescence du document d'index [%d/%d %s]",
|
"183": "Validation de l'arborescence du document d'index [%d/%d %s]",
|
||||||
"184": "Propulsé par <a href=\"https://b3log.org/siyuan\" target=\"_blank\">SiYuan</a>",
|
"184": "Propulsé par <a href=\"https://b3log.org/siyuan/en/?lang=en\" target=\"_blank\">SiYuan</a>",
|
||||||
"185": "Vérification de l'index terminée",
|
"185": "Vérification de l'index terminée",
|
||||||
"186": "Verrouillage du répertoire de synchronisation cloud",
|
"186": "Verrouillage du répertoire de synchronisation cloud",
|
||||||
"187": "Déverrouillage du répertoire de synchronisation cloud",
|
"187": "Déverrouillage du répertoire de synchronisation cloud",
|
||||||
|
|
|
||||||
|
|
@ -670,9 +670,9 @@
|
||||||
"account3": "試用訂閱",
|
"account3": "試用訂閱",
|
||||||
"account5": "雲端圖床服務",
|
"account5": "雲端圖床服務",
|
||||||
"account6": "距訂閱過期還剩",
|
"account6": "距訂閱過期還剩",
|
||||||
"account7": "更多進階特性",
|
"account7": "<a href=\"https://b3log.org/siyuan/pricing.html\" target=\"_blank\">更多進階特性</a>",
|
||||||
"account8": "",
|
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>教育優惠 6.4 折</a></div>",
|
||||||
"account9": "",
|
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/subscribe/siyuan/batch'>兩人團首年 6.4 折</a></div>",
|
||||||
"account10": "年付訂閱",
|
"account10": "年付訂閱",
|
||||||
"account11": "早鳥優惠活動結束還剩",
|
"account11": "早鳥優惠活動結束還剩",
|
||||||
"account12": "相伴一生",
|
"account12": "相伴一生",
|
||||||
|
|
|
||||||
|
|
@ -670,7 +670,7 @@
|
||||||
"account3": "试用订阅",
|
"account3": "试用订阅",
|
||||||
"account5": "云端图床服务",
|
"account5": "云端图床服务",
|
||||||
"account6": "距订阅过期还剩",
|
"account6": "距订阅过期还剩",
|
||||||
"account7": "更多高级特性",
|
"account7": "<a href=\"https://b3log.org/siyuan/pricing.html\" target=\"_blank\">更多高级特性</a>",
|
||||||
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>教育优惠 6.4 折</a></div>",
|
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>教育优惠 6.4 折</a></div>",
|
||||||
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/subscribe/siyuan/batch'>两人团首年 6.4 折</a></div>",
|
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/subscribe/siyuan/batch'>两人团首年 6.4 折</a></div>",
|
||||||
"account10": "年付订阅",
|
"account10": "年付订阅",
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,8 @@
|
||||||
<div class="feedback">
|
<div class="feedback">
|
||||||
<span>❤️ <a href="https://liuyun.io/article/1686530886208" target="_blank">Feedback and support</a></span>
|
<span>❤️ <a href="https://liuyun.io/article/1686530886208" target="_blank">Feedback and support</a></span>
|
||||||
<span>🏘️ <a href="https://ld246.com/article/1649901726096" target="_blank">求助反馈建议</a></span>
|
<span>🏘️ <a href="https://ld246.com/article/1649901726096" target="_blank">求助反馈建议</a></span>
|
||||||
<span><a href="https://b3log.org/siyuan/download.html" target="_blank" class="version"></a></span>
|
<span>🔖 <a href="https://b3log.org/siyuan/en/download.html" target="_blank">Download: <span class="version"></span></a></span>
|
||||||
|
<span>🔖 <a href="https://b3log.org/siyuan/download.html" target="_blank">下载:<span class="version"></span></a></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="fn__flex-1"></div>
|
<div class="fn__flex-1"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -175,7 +176,7 @@
|
||||||
document.getElementById('title').innerHTML = decodeURIComponent(getSearch('title'))
|
document.getElementById('title').innerHTML = decodeURIComponent(getSearch('title'))
|
||||||
document.getElementById('content').innerHTML = decodeURIComponent(getSearch('content'))
|
document.getElementById('content').innerHTML = decodeURIComponent(getSearch('content'))
|
||||||
document.querySelectorAll('.version').forEach(item => {
|
document.querySelectorAll('.version').forEach(item => {
|
||||||
item.textContent = `🔖 v${getSearch('v')}`
|
item.textContent = `v${getSearch('v')}`
|
||||||
})
|
})
|
||||||
|
|
||||||
document.getElementById('close').addEventListener('click', () => {
|
document.getElementById('close').addEventListener('click', () => {
|
||||||
|
|
|
||||||
|
|
@ -1835,7 +1835,7 @@
|
||||||
{
|
{
|
||||||
"Type": "NodeTextMark",
|
"Type": "NodeTextMark",
|
||||||
"TextMarkType": "a",
|
"TextMarkType": "a",
|
||||||
"TextMarkAHref": "https://b3log.org/siyuan/pricing.html",
|
"TextMarkAHref": "https://b3log.org/siyuan/en/pricing.html",
|
||||||
"TextMarkTextContent": "Cloud Service"
|
"TextMarkTextContent": "Cloud Service"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -1888,4 +1888,4 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,33 +14,29 @@ import {getCloudURL} from "./util/about";
|
||||||
|
|
||||||
export const account = {
|
export const account = {
|
||||||
element: undefined as Element,
|
element: undefined as Element,
|
||||||
genHTML: () => {
|
genHTML: (onlyPayHTML = false) => {
|
||||||
let sponsor = "https://ld246.com/sponsor";
|
const payHTML = `<a class="b3-button b3-button--big" href="${getCloudURL("subscribe/siyuan")}" target="_blank">
|
||||||
if ("zh_CN" !== window.siyuan.config.lang) {
|
|
||||||
sponsor = "";
|
|
||||||
}
|
|
||||||
let payHTML = `<a class="b3-button b3-button--big" href="https://ld246.com/subscribe/siyuan" target="_blank">
|
|
||||||
<svg><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account1}
|
<svg><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account1}
|
||||||
</a>
|
</a>
|
||||||
<div class="fn__hr--b"></div>
|
<div class="fn__hr--b"></div>
|
||||||
<div class="fn__hr--b"></div>
|
<div class="fn__hr--b"></div>
|
||||||
${window.siyuan.languages.account8}
|
${window.siyuan.config.cloudRegion === 0 ? window.siyuan.languages.account8 : ""}
|
||||||
${window.siyuan.languages.account9}
|
${window.siyuan.config.cloudRegion === 0 ? window.siyuan.languages.account9 : ""}
|
||||||
<div class="fn__hr"></div>
|
<div class="fn__hr"></div>
|
||||||
${window.siyuan.languages.account2}
|
${window.siyuan.languages.account2}
|
||||||
<div><a href="https://b3log.org/siyuan/pricing.html" target="_blank">${window.siyuan.languages.account7}</a></div>
|
<div>${window.siyuan.languages.account7}</div>
|
||||||
<div class="fn__hr--b"></div>
|
<div class="fn__hr--b"></div>
|
||||||
<span class="b3-chip b3-chip--primary b3-chip--hover${(window.siyuan.user && window.siyuan.user.userSiYuanSubscriptionStatus === 2) ? " fn__none" : ""}" id="trialSub">
|
<span class="b3-chip b3-chip--primary b3-chip--hover${(window.siyuan.user && window.siyuan.user.userSiYuanSubscriptionStatus === 2) ? " fn__none" : ""}" id="trialSub">
|
||||||
<svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>
|
<svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>
|
||||||
${window.siyuan.languages.freeSub}
|
${window.siyuan.languages.freeSub}
|
||||||
</span>
|
</span>
|
||||||
<div class="fn__hr${(window.siyuan.user && window.siyuan.user.userSiYuanSubscriptionStatus === 2) ? " fn__none" : ""}"></div>
|
<div class="fn__hr${(window.siyuan.user && window.siyuan.user.userSiYuanSubscriptionStatus === 2) ? " fn__none" : ""}"></div>
|
||||||
`;
|
<a href="${getCloudURL("sponsor")}" target="_blank" class="b3-chip b3-chip--pink b3-chip--hover">
|
||||||
if ("" !== sponsor) {
|
|
||||||
payHTML += `<a href="${sponsor}" target="_blank" class="b3-chip b3-chip--pink b3-chip--hover">
|
|
||||||
<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path fill='#ffe43c' d='M6.4 0h19.2c4.268 0 6.4 2.132 6.4 6.4v19.2c0 4.268-2.132 6.4-6.4 6.4h-19.2c-4.268 0-6.4-2.132-6.4-6.4v-19.2c0-4.268 2.135-6.4 6.4-6.4z'></path> <path fill='#00f5d4' d='M25.6 0h-8.903c-7.762 1.894-14.043 7.579-16.697 15.113v10.487c0 3.533 2.867 6.4 6.4 6.4h19.2c3.533 0 6.4-2.867 6.4-6.4v-19.2c0-3.537-2.863-6.4-6.4-6.4z'></path> <path fill='#01beff' d='M25.6 0h-0.119c-12.739 2.754-20.833 15.316-18.079 28.054 0.293 1.35 0.702 2.667 1.224 3.946h16.974c3.533 0 6.4-2.867 6.4-6.4v-19.2c0-3.537-2.863-6.4-6.4-6.4z'></path> <path fill='#9a5ce5' d='M31.005 2.966c-0.457-0.722-1.060-1.353-1.784-1.849-8.342 3.865-13.683 12.223-13.679 21.416-0.003 3.256 0.67 6.481 1.978 9.463h8.081c0.602 0 1.185-0.084 1.736-0.238-2.1-3.189-3.401-7.624-3.401-12.526 0-7.337 2.921-13.628 7.070-16.266z'></path> <path fill='#f15bb5' d='M32 25.6v-19.2c0-1.234-0.354-2.419-0.998-3.43-4.149 2.638-7.067 8.928-7.067 16.266 0 4.902 1.301 9.334 3.401 12.526 2.693-0.757 4.664-3.231 4.664-6.162z'></path> <path fill='#fff' opacity='0.2' d='M26.972 22.415c-2.889 0.815-4.297 2.21-6.281 3.182 1.552 0.348 3.105 0.461 4.902 0.461 2.644 0 5.363-1.449 6.406-2.519v-1.085c-1.598-0.399-2.664-0.705-5.028-0.039zM4.773 21.612c-0.003 0-0.006-0.003-0.006-0.003-1.726-0.863-3.382-1.205-4.767-1.301v2.487c0.779-0.341 2.396-0.921 4.773-1.182zM17.158 26.599c1.472-0.158 2.57-0.531 3.533-1.002-1.063-0.238-2.126-0.583-3.269-1.079-2.767-1.205-5.63-3.092-10.491-3.034-0.779 0.010-1.495 0.058-2.158 0.132 4.503 2.248 7.882 5.463 12.384 4.983z'></path> <path fill='#fff' opacity='0.2' d='M20.691 25.594c-0.963 0.47-2.061 0.844-3.533 1.002-4.503 0.483-7.882-2.731-12.381-4.983-2.38 0.261-3.994 0.841-4.773 1.179v2.809c0 4.268 2.132 6.4 6.4 6.4h19.197c4.268 0 6.4-2.132 6.4-6.4v-2.065c-1.044 1.069-3.762 2.519-6.406 2.519-1.797 0-3.35-0.113-4.902-0.461z'></path> <path fill='#fff' opacity='0.5' d='M3.479 19.123c0 0.334 0.271 0.606 0.606 0.606s0.606-0.271 0.606-0.606v0c0-0.334-0.271-0.606-0.606-0.606s-0.606 0.271-0.606 0.606v0z'></path> <path fill='#fff' opacity='0.5' d='M29.027 14.266c0 0.334 0.271 0.606 0.606 0.606s0.606-0.271 0.606-0.606v0c0-0.334-0.271-0.606-0.606-0.606s-0.606 0.271-0.606 0.606v0z'></path> <path fill='#fff' d='M9.904 1.688c0 0.167 0.136 0.303 0.303 0.303s0.303-0.136 0.303-0.303v0c0-0.167-0.136-0.303-0.303-0.303s-0.303 0.136-0.303 0.303v0z'></path> <path fill='#fff' d='M2.673 10.468c0 0.167 0.136 0.303 0.303 0.303s0.303-0.136 0.303-0.303v0c0-0.167-0.136-0.303-0.303-0.303s-0.303 0.136-0.303 0.303v0z'></path> <path fill='#fff' opacity='0.6' d='M30.702 9.376c0 0.167 0.136 0.303 0.303 0.303s0.303-0.136 0.303-0.303v0c0-0.167-0.136-0.303-0.303-0.303s-0.303 0.136-0.303 0.303v0z'></path> <path fill='#fff' opacity='0.8' d='M29.236 20.881c0 0.276 0.224 0.499 0.499 0.499s0.499-0.224 0.499-0.499v0c0-0.276-0.224-0.499-0.499-0.499s-0.499 0.224-0.499 0.499v0z'></path> <path fill='#fff' opacity='0.8' d='M15.38 1.591c0.047 0.016 0.101 0.026 0.158 0.026 0.276 0 0.499-0.224 0.499-0.499 0-0.219-0.141-0.406-0.338-0.473l-0.004-0.001c-0.047-0.016-0.101-0.026-0.158-0.026-0.276 0-0.499 0.224-0.499 0.499 0 0.219 0.141 0.406 0.338 0.473l0.004 0.001z'></path> <path fill='#ffdeeb' d='M25.732 8.268c-2.393-2.371-6.249-2.371-8.642 0l-1.089 1.085-1.079-1.089c-2.38-2.39-6.249-2.393-8.639-0.013s-2.393 6.249-0.013 8.639l2.158 2.158 6.474 6.464c0.596 0.593 1.562 0.593 2.158 0l6.474-6.464 2.193-2.158c2.384-2.383 2.384-6.242 0.003-8.622z'></path> <path fill='#fff' d='M17.081 8.268l-1.079 1.085-1.079-1.089c-2.38-2.39-6.249-2.393-8.639-0.013s-2.393 6.249-0.013 8.639l2.158 2.158 2.548 2.487c4.097-1.044 7.627-3.646 9.837-7.254 1.424-2.271 2.284-4.848 2.503-7.518-2.193-0.715-4.606-0.132-6.236 1.504z'></path> </svg>
|
<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path fill='#ffe43c' d='M6.4 0h19.2c4.268 0 6.4 2.132 6.4 6.4v19.2c0 4.268-2.132 6.4-6.4 6.4h-19.2c-4.268 0-6.4-2.132-6.4-6.4v-19.2c0-4.268 2.135-6.4 6.4-6.4z'></path> <path fill='#00f5d4' d='M25.6 0h-8.903c-7.762 1.894-14.043 7.579-16.697 15.113v10.487c0 3.533 2.867 6.4 6.4 6.4h19.2c3.533 0 6.4-2.867 6.4-6.4v-19.2c0-3.537-2.863-6.4-6.4-6.4z'></path> <path fill='#01beff' d='M25.6 0h-0.119c-12.739 2.754-20.833 15.316-18.079 28.054 0.293 1.35 0.702 2.667 1.224 3.946h16.974c3.533 0 6.4-2.867 6.4-6.4v-19.2c0-3.537-2.863-6.4-6.4-6.4z'></path> <path fill='#9a5ce5' d='M31.005 2.966c-0.457-0.722-1.060-1.353-1.784-1.849-8.342 3.865-13.683 12.223-13.679 21.416-0.003 3.256 0.67 6.481 1.978 9.463h8.081c0.602 0 1.185-0.084 1.736-0.238-2.1-3.189-3.401-7.624-3.401-12.526 0-7.337 2.921-13.628 7.070-16.266z'></path> <path fill='#f15bb5' d='M32 25.6v-19.2c0-1.234-0.354-2.419-0.998-3.43-4.149 2.638-7.067 8.928-7.067 16.266 0 4.902 1.301 9.334 3.401 12.526 2.693-0.757 4.664-3.231 4.664-6.162z'></path> <path fill='#fff' opacity='0.2' d='M26.972 22.415c-2.889 0.815-4.297 2.21-6.281 3.182 1.552 0.348 3.105 0.461 4.902 0.461 2.644 0 5.363-1.449 6.406-2.519v-1.085c-1.598-0.399-2.664-0.705-5.028-0.039zM4.773 21.612c-0.003 0-0.006-0.003-0.006-0.003-1.726-0.863-3.382-1.205-4.767-1.301v2.487c0.779-0.341 2.396-0.921 4.773-1.182zM17.158 26.599c1.472-0.158 2.57-0.531 3.533-1.002-1.063-0.238-2.126-0.583-3.269-1.079-2.767-1.205-5.63-3.092-10.491-3.034-0.779 0.010-1.495 0.058-2.158 0.132 4.503 2.248 7.882 5.463 12.384 4.983z'></path> <path fill='#fff' opacity='0.2' d='M20.691 25.594c-0.963 0.47-2.061 0.844-3.533 1.002-4.503 0.483-7.882-2.731-12.381-4.983-2.38 0.261-3.994 0.841-4.773 1.179v2.809c0 4.268 2.132 6.4 6.4 6.4h19.197c4.268 0 6.4-2.132 6.4-6.4v-2.065c-1.044 1.069-3.762 2.519-6.406 2.519-1.797 0-3.35-0.113-4.902-0.461z'></path> <path fill='#fff' opacity='0.5' d='M3.479 19.123c0 0.334 0.271 0.606 0.606 0.606s0.606-0.271 0.606-0.606v0c0-0.334-0.271-0.606-0.606-0.606s-0.606 0.271-0.606 0.606v0z'></path> <path fill='#fff' opacity='0.5' d='M29.027 14.266c0 0.334 0.271 0.606 0.606 0.606s0.606-0.271 0.606-0.606v0c0-0.334-0.271-0.606-0.606-0.606s-0.606 0.271-0.606 0.606v0z'></path> <path fill='#fff' d='M9.904 1.688c0 0.167 0.136 0.303 0.303 0.303s0.303-0.136 0.303-0.303v0c0-0.167-0.136-0.303-0.303-0.303s-0.303 0.136-0.303 0.303v0z'></path> <path fill='#fff' d='M2.673 10.468c0 0.167 0.136 0.303 0.303 0.303s0.303-0.136 0.303-0.303v0c0-0.167-0.136-0.303-0.303-0.303s-0.303 0.136-0.303 0.303v0z'></path> <path fill='#fff' opacity='0.6' d='M30.702 9.376c0 0.167 0.136 0.303 0.303 0.303s0.303-0.136 0.303-0.303v0c0-0.167-0.136-0.303-0.303-0.303s-0.303 0.136-0.303 0.303v0z'></path> <path fill='#fff' opacity='0.8' d='M29.236 20.881c0 0.276 0.224 0.499 0.499 0.499s0.499-0.224 0.499-0.499v0c0-0.276-0.224-0.499-0.499-0.499s-0.499 0.224-0.499 0.499v0z'></path> <path fill='#fff' opacity='0.8' d='M15.38 1.591c0.047 0.016 0.101 0.026 0.158 0.026 0.276 0 0.499-0.224 0.499-0.499 0-0.219-0.141-0.406-0.338-0.473l-0.004-0.001c-0.047-0.016-0.101-0.026-0.158-0.026-0.276 0-0.499 0.224-0.499 0.499 0 0.219 0.141 0.406 0.338 0.473l0.004 0.001z'></path> <path fill='#ffdeeb' d='M25.732 8.268c-2.393-2.371-6.249-2.371-8.642 0l-1.089 1.085-1.079-1.089c-2.38-2.39-6.249-2.393-8.639-0.013s-2.393 6.249-0.013 8.639l2.158 2.158 6.474 6.464c0.596 0.593 1.562 0.593 2.158 0l6.474-6.464 2.193-2.158c2.384-2.383 2.384-6.242 0.003-8.622z'></path> <path fill='#fff' d='M17.081 8.268l-1.079 1.085-1.079-1.089c-2.38-2.39-6.249-2.393-8.639-0.013s-2.393 6.249-0.013 8.639l2.158 2.158 2.548 2.487c4.097-1.044 7.627-3.646 9.837-7.254 1.424-2.271 2.284-4.848 2.503-7.518-2.193-0.715-4.606-0.132-6.236 1.504z'></path> </svg>
|
||||||
${window.siyuan.languages.sponsor}
|
${window.siyuan.languages.sponsor}
|
||||||
</a>`;
|
</a>`;
|
||||||
|
if (onlyPayHTML) {
|
||||||
|
return `<div class="ft__center">${payHTML}</div>`
|
||||||
}
|
}
|
||||||
if (window.siyuan.user) {
|
if (window.siyuan.user) {
|
||||||
let userTitlesHTML = "";
|
let userTitlesHTML = "";
|
||||||
|
|
@ -72,8 +68,8 @@ ${window.siyuan.languages.account2}
|
||||||
subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account3}</div>
|
subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account3}</div>
|
||||||
${renewHTML}
|
${renewHTML}
|
||||||
<div class="fn__hr--b"></div>
|
<div class="fn__hr--b"></div>
|
||||||
${window.siyuan.languages.account8}
|
${window.siyuan.config.cloudRegion === 0 ? window.siyuan.languages.account8 : ""}
|
||||||
${window.siyuan.languages.account9}
|
${window.siyuan.config.cloudRegion === 0 ? window.siyuan.languages.account9 : ""}
|
||||||
`;
|
`;
|
||||||
} else {
|
} else {
|
||||||
subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account10}</div>${renewHTML}`;
|
subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account10}</div>${renewHTML}`;
|
||||||
|
|
@ -142,8 +138,8 @@ ${window.siyuan.languages.account9}
|
||||||
<div class="b3-form__icon">
|
<div class="b3-form__icon">
|
||||||
<svg class="b3-form__icon-icon"><use xlink:href="#iconFocus"></use></svg>
|
<svg class="b3-form__icon-icon"><use xlink:href="#iconFocus"></use></svg>
|
||||||
<select class="b3-select b3-form__icon-input fn__block" id="cloudRegion">
|
<select class="b3-select b3-form__icon-input fn__block" id="cloudRegion">
|
||||||
<option value="0">${window.siyuan.languages.cloudRegionChina}</option>
|
<option value="0"${window.siyuan.config.cloudRegion === 0 ? " selected" : ""}>${window.siyuan.languages.cloudRegionChina}</option>
|
||||||
<option value="1">${window.siyuan.languages.cloudRegionNorthAmerica}</option>
|
<option value="1"${window.siyuan.config.cloudRegion === 1 ? " selected" : ""}>${window.siyuan.languages.cloudRegionNorthAmerica}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="b3-form__img fn__none">
|
<div class="b3-form__img fn__none">
|
||||||
|
|
@ -327,8 +323,13 @@ ${window.siyuan.languages.account9}
|
||||||
captchaImgElement.addEventListener("click", () => {
|
captchaImgElement.addEventListener("click", () => {
|
||||||
captchaImgElement.setAttribute("src", `https://ld246.com/captcha/login?needCaptcha=${needCaptcha}&t=${new Date().getTime()}`);
|
captchaImgElement.setAttribute("src", `https://ld246.com/captcha/login?needCaptcha=${needCaptcha}&t=${new Date().getTime()}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const cloudRegionElement = element.querySelector("#cloudRegion") as HTMLSelectElement;
|
||||||
|
cloudRegionElement.addEventListener("change", () => {
|
||||||
|
window.siyuan.config.cloudRegion = parseInt(cloudRegionElement.value);
|
||||||
|
element.querySelector(".config-account__center--text").innerHTML = account.genHTML(true);
|
||||||
|
});
|
||||||
loginBtnElement.addEventListener("click", () => {
|
loginBtnElement.addEventListener("click", () => {
|
||||||
window.siyuan.config.cloudRegion = parseInt((element.querySelector("#cloudRegion") as HTMLSelectElement).value)
|
|
||||||
fetchPost("/api/account/login", {
|
fetchPost("/api/account/login", {
|
||||||
userName: userNameElement.value.replace(/(^\s*)|(\s*$)/g, ""),
|
userName: userNameElement.value.replace(/(^\s*)|(\s*$)/g, ""),
|
||||||
userPassword: md5(userPasswordElement.value),
|
userPassword: md5(userPasswordElement.value),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue