diff --git a/content/cn/UI.json b/content/cn/UI.json new file mode 100644 index 000000000..da13e3ebc --- /dev/null +++ b/content/cn/UI.json @@ -0,0 +1,59 @@ +{ + "Bug_Report": "报告错误", + "Go_Back": "返回", + "Language": "简体中文", + "Flag": "CN", + "Search": "搜索", + "No_Results": "没有找到关于 '{{query}}' 的结果", + "Home": "首页", + "Previous": "上一页", + "Next": "下一页", + "Page_Language_Selector": "页面语言选择器", + "Available_Languages": "已有语言", + "LANGUAGES": "语言", + "Available_Languages_none": "无可用语言", + "Need_Another_Language": "需要其他语言?", + "Join_translation_team": "加入翻译团队", + "Translations": "翻译", + "Back_To_Main_Menu": "返回主菜单", + "aria_FooterLogo": "Kernel 页脚标志", + "aria_GithubIcon": "Github", + "aria_TwitterIcon": "Twitter", + "aria_YoutubeIcon": "Youtube", + "aria_ExternalWebsite": "外部网站", + "kernel_icon": "Kernel", + "Chat": "Chat", + "Love": "Love", + "NotFoundPage": { + "seoTitle": "404 页面未找到", + "line_1": "哎呀,你查找的页面不存在。", + "line_2": "我们最近调整了一些内容布局。", + "line_3": "觉得是我们这边出问题了吗?" + }, + "Footer": { + "About": "关于", + "What is Kernel?": "什么是 Kernel?", + "How to use this site": "如何使用本网站", + "Principles": "原则", + "Blog": "博客", + "FAQs": "常见问题", + "Participate": "参与", + "Learn": "学习", + "Build": "构建", + "Resources": "资源", + "Contribute": "贡献", + "Contact": "联系", + "Technical Care": "技术支持", + "Privacy Policy": "隐私政策", + "Terms of Service": "服务条款" + }, + "Blog": "博客", + "Back_To_Blog": "返回博客", + "Blog_Language_Selector": "博客语言选择器", + "editorial": "社论", + "community": "社区", + "governance": "治理", + "Community_Blog": "Kernel 社区博客", + "Latest_In": "最新 ", + "See_More_Posts": "查看更多文章" +} diff --git a/content/en/learn/module-0/trust.mdx b/content/en/learn/module-0/trust.mdx index 2fccb6383..5db9c9911 100644 --- a/content/en/learn/module-0/trust.mdx +++ b/content/en/learn/module-0/trust.mdx @@ -64,7 +64,7 @@ it becomes to verify (and therefore trust) the systems we use. This implies that > 💡 Trust has something to do with truth. Publicly verifiable truth means more humans can reach consensus on the basic state of their -shared realities and get on transacting in increasingly valuable ways based on [new kinds and degrees of trust](https://vitalik.ca/general/2020/08/20/trust.html). +shared realities and get on transacting in increasingly valuable ways based on [new kinds and degrees of trust](https://vitalik.eth.limo/general/2020/08/20/trust.html). It's a **profound feedback loop**: use a universal language (math) to define succinctly what it means to cheat, enforce penalties in a deterministic and executable way based on your definitions diff --git a/content/es/learn/module-2/better-questions.mdx b/content/es/learn/module-2/better-questions.mdx index 4b490d55a..3db0c0f73 100644 --- a/content/es/learn/module-2/better-questions.mdx +++ b/content/es/learn/module-2/better-questions.mdx @@ -118,6 +118,6 @@ Sin embargo, la "mente de principiante" no se opone a la investigación racional > Los Círculos Socráticos se basan en la interacción de pares. El objetivo es explorar muchas perspectivas sobre un tema determinado. Las preguntas socráticas son abiertas y se centran en ideas generales y amplias en lugar de hechos específicos. La técnica enfatiza un nivel de cuestionamiento y pensamiento donde no existe una única respuesta correcta. -La investigación racional exige un diagnóstico; una solución; el fin de un proceso que tuvo su comienzo en la mente. ¿Qué puede hacer una mente así ante "ninguna única respuesta correcta"? Puede desarrollar capacidades negativas, pero incluso esto es insuficiente, porque no buscamos una comprensión intelectual hábil: buscamos formas de vivir armoniosas y claras. Y la vida no es sólo racional. +La investigación racional exige un diagnóstico; una solución; el fin de un proceso que tuvo su comienzo en la mente. ¿Qué puede hacer una mente así ante "ninguna única respuesta correcta"? Puede desarrollar capacidades negativas, pero incluso esto es insuficiente, porque no buscamos una comprensión intelectual hábil: buscamos formas de vivir armoniosas y claras. Y la vida no es sólo racional. Aceptar honestamente tus propias limitaciones y tu incapacidad para comprender todo lo que sucede a tu alrededor crea un espacio interior para la curiosidad. A partir de aquí, puedes disfrutar genuinamente de no saber nunca qué va a pasar a continuación, lo que lleva a hacer preguntas que vienen del corazón y van al corazón del sujeto que se está cuestionando. Es, como dice [Paul Myburgh](/learn/module-0/conversation/#old-gifts-anew), más perceptual que conceptual: simple conocimiento de las cosas-tal como-son. \ No newline at end of file diff --git a/package.json b/package.json index 370b01ad8..2ce583a31 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "gatsby-transformer-json": "^3.14.0", "gatsby-transformer-remark": "^4.11.0", "gatsby-transformer-sharp": "^3.15.0", - "html-react-parser": "^3.0.15", + "html-react-parser": "^5.0.11", "immer": "^10.0.2", "lodash": "^4.17.21", "lodash.debounce": "^4.0.8", @@ -57,7 +57,7 @@ "react-process-string": "^1.2.0", "react-select": "^5.8.0", "react-smooth-collapse": "^2.1.2", - "react-sticky-el": "^2.0.9", + "react-sticky-el": "^2.1.0", "remark-frontmatter": "^3.0.0", "remark-slug": "^6.1.0", "sharp": "^0.31.1", @@ -69,7 +69,7 @@ }, "devDependencies": { "@babel/eslint-plugin": "^7.19.1", - "@babel/plugin-syntax-jsx": "^7.22.5", + "@babel/plugin-syntax-jsx": "^7.23.3", "babel-eslint": "^10.1.0", "eslint": "^7.25.0", "eslint-config-react-app": "^6.0.0", diff --git a/yarn.lock b/yarn.lock index ebd01ab1d..d19458a50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -984,10 +984,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-jsx@^7.12.13", "@babel/plugin-syntax-jsx@^7.14.5", "@babel/plugin-syntax-jsx@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" - integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg== +"@babel/plugin-syntax-jsx@^7.12.13", "@babel/plugin-syntax-jsx@^7.14.5", "@babel/plugin-syntax-jsx@^7.23.3": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== dependencies: "@babel/helper-plugin-utils" "^7.22.5" @@ -5951,7 +5951,7 @@ domelementtype@^2.3.0: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== -domhandler@5.0.3, domhandler@^5.0.1, domhandler@^5.0.2, domhandler@^5.0.3: +domhandler@5.0.3, domhandler@^5.0.2, domhandler@^5.0.3: version "5.0.3" resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== @@ -6013,14 +6013,14 @@ domutils@^2.7.0: domelementtype "^2.2.0" domhandler "^4.2.0" -domutils@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.0.1.tgz#696b3875238338cb186b6c0612bd4901c89a4f1c" - integrity sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q== +domutils@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e" + integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA== dependencies: dom-serializer "^2.0.0" domelementtype "^2.3.0" - domhandler "^5.0.1" + domhandler "^5.0.3" dot-case@^2.1.0: version "2.1.1" @@ -6199,11 +6199,16 @@ entities@^2.0.0: resolved "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== -entities@^4.2.0, entities@^4.4.0: +entities@^4.2.0: version "4.4.0" resolved "https://registry.yarnpkg.com/entities/-/entities-4.4.0.tgz#97bdaba170339446495e653cfd2db78962900174" integrity sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA== +entities@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== + envinfo@^7.7.3: version "7.8.1" resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz" @@ -8791,13 +8796,13 @@ hosted-git-info@^3.0.6: dependencies: lru-cache "^6.0.0" -html-dom-parser@3.1.7: - version "3.1.7" - resolved "https://registry.yarnpkg.com/html-dom-parser/-/html-dom-parser-3.1.7.tgz#89debae290d1117ad98a174264bb478dce3f3e74" - integrity sha512-cDgNF4YgF6J3H+d9mcldGL19p0GzVdS3iGuDNzYWQpU47q3+IRM85X3Xo07E+nntF4ek4s78A9V24EwxlPTjig== +html-dom-parser@5.0.6: + version "5.0.6" + resolved "https://registry.yarnpkg.com/html-dom-parser/-/html-dom-parser-5.0.6.tgz#bc7ee4bbf508030d5326eab0800d67e2fcd7d586" + integrity sha512-6KSMOgxzAIZZ1Tcc6eNEfRFC/XE0+TiYaWanKNYKHSEQOtdxrR0t8ILKXNDcRea/WbIDltLUIP8mi/tw7dtFvQ== dependencies: domhandler "5.0.3" - htmlparser2 "8.0.2" + htmlparser2 "9.0.0" html-entities@^1.2.1: version "1.4.0" @@ -8809,30 +8814,30 @@ html-entities@^2.1.0: resolved "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz" integrity sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ== -html-react-parser@^3.0.15: - version "3.0.15" - resolved "https://registry.yarnpkg.com/html-react-parser/-/html-react-parser-3.0.15.tgz#559bb181e4395ffd280ad96e8d4cf78cf08f582a" - integrity sha512-iM2KUVhNoeIsezbpO6xwOHlFqWH+EYaCGwWWeX7R+jvrgc+mbnuouWaCU8GZRRbPKDD0eJXPZwLoeGVft84QXw== +html-react-parser@^5.0.11: + version "5.0.11" + resolved "https://registry.yarnpkg.com/html-react-parser/-/html-react-parser-5.0.11.tgz#e056c787e512f181e9ae8ee56a29fd1001a1c1bb" + integrity sha512-TcLGDGMbVRbos09zwnom/QrLbd4PmNFhMEhlp2ZdHBboAuCuctRDqr8JU5aTyKzFKotdpSg8QkXVxVb5ZUU2Ag== dependencies: domhandler "5.0.3" - html-dom-parser "3.1.7" - react-property "2.0.0" - style-to-js "1.1.3" + html-dom-parser "5.0.6" + react-property "2.0.2" + style-to-js "1.1.10" html-void-elements@^1.0.0: version "1.0.5" resolved "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz" integrity sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w== -htmlparser2@8.0.2: - version "8.0.2" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-8.0.2.tgz#f002151705b383e62433b5cf466f5b716edaec21" - integrity sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA== +htmlparser2@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-9.0.0.tgz#e431142b7eeb1d91672742dea48af8ac7140cddb" + integrity sha512-uxbSI98wmFT/G4P2zXx4OVx04qWUmyFPrD2/CNepa2Zo3GPNaCaaxElDgwUrwYWkK1nr9fft0Ya8dws8coDLLQ== dependencies: domelementtype "^2.3.0" domhandler "^5.0.3" - domutils "^3.0.1" - entities "^4.4.0" + domutils "^3.1.0" + entities "^4.5.0" htmlparser2@^3.10.1, htmlparser2@^3.9.1: version "3.10.1" @@ -9036,6 +9041,11 @@ inline-style-parser@0.1.1: resolved "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz" integrity sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q== +inline-style-parser@0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/inline-style-parser/-/inline-style-parser-0.2.2.tgz#d498b4e6de0373458fc610ff793f6b14ebf45633" + integrity sha512-EcKzdTHVe8wFVOGEYXiW9WmJXPjqi1T+234YpJr98RiFYKHV3cdy1+3mkTE+KHTHxFFLH51SfaGOoUdW+v7ViQ== + inquirer@^7.0.0: version "7.3.3" resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz" @@ -12547,10 +12557,10 @@ react-process-string@^1.2.0: resolved "https://registry.npmjs.org/react-process-string/-/react-process-string-1.2.0.tgz" integrity sha512-+ExcVuECeALN6PTqj2XyjqkxzRdUmZv6bb15fjEMwzo9SbXzDzOr8R8RTwzPzQpCxiSGfqf3JPjOHGMiRuQ8Eg== -react-property@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/react-property/-/react-property-2.0.0.tgz#2156ba9d85fa4741faf1918b38efc1eae3c6a136" - integrity sha512-kzmNjIgU32mO4mmH5+iUyrqlpFQhF8K2k7eZ4fdLSOPFrD1XgEuSBv9LDEgxRXTMBqMd8ppT0x6TIzqE5pdGdw== +react-property@2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/react-property/-/react-property-2.0.2.tgz#d5ac9e244cef564880a610bc8d868bd6f60fdda6" + integrity sha512-+PbtI3VuDV0l6CleQMsx2gtK0JZbZKbpdu5ynr+lbsuvtmgbNcS3VM0tuY2QjFNOcWxvXeHjDpy42RO+4U2rug== react-query@4.0.0-beta.9: version "4.0.0-beta.9" @@ -12596,10 +12606,10 @@ react-smooth-collapse@^2.1.2: "@babel/runtime" "^7.0.0" prop-types "^15.6.0" -react-sticky-el@^2.0.9: - version "2.0.9" - resolved "https://registry.yarnpkg.com/react-sticky-el/-/react-sticky-el-2.0.9.tgz#8cfd17f073c8c116d7c15d2a23156b5e8e372bd9" - integrity sha512-JFjFWlaB7gn5bszZlRQ/VKxK3zHiViJdn0EhQ/6WImun5Xbx3OMUX2rirr0QLSEo27dwvoSE4HkIFr30QAScfg== +react-sticky-el@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/react-sticky-el/-/react-sticky-el-2.1.0.tgz#d58da1a333a9cabc264c11912338d986bbe31715" + integrity sha512-oo+a2GedF4QMfCfm20e9gD+RuuQp/ngvwGMUXAXpST+h4WnmKhuv7x6MQ4X/e3AHiLYgE0zDyJo1Pzo8m51KpA== react-transition-group@^4.3.0: version "4.4.1" @@ -14177,12 +14187,12 @@ style-loader@^2.0.0: loader-utils "^2.0.0" schema-utils "^3.0.0" -style-to-js@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/style-to-js/-/style-to-js-1.1.3.tgz#2012d75dc89bf400edc29c545ed61c8626b00184" - integrity sha512-zKI5gN/zb7LS/Vm0eUwjmjrXWw8IMtyA8aPBJZdYiQTXj4+wQ3IucOLIOnF7zCHxvW8UhIGh/uZh/t9zEHXNTQ== +style-to-js@1.1.10: + version "1.1.10" + resolved "https://registry.yarnpkg.com/style-to-js/-/style-to-js-1.1.10.tgz#ec20e1264ba11dc7f71b94b3a3a05566ed856e54" + integrity sha512-VC7MBJa+y0RZhpnLKDPmVRLRswsASLmixkiZ5R8xZpNT9VyjeRzwnXd2pBzAWdgSGv/pCNNH01gPCCUsB9exYg== dependencies: - style-to-object "0.4.1" + style-to-object "1.0.5" style-to-object@0.3.0, style-to-object@^0.3.0: version "0.3.0" @@ -14191,12 +14201,12 @@ style-to-object@0.3.0, style-to-object@^0.3.0: dependencies: inline-style-parser "0.1.1" -style-to-object@0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.4.1.tgz#53cf856f7cf7f172d72939d9679556469ba5de37" - integrity sha512-HFpbb5gr2ypci7Qw+IOhnP2zOU7e77b+rzM+wTzXzfi1PrtBCX0E7Pk4wL4iTLnhzZ+JgEGAhX81ebTg/aYjQw== +style-to-object@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-1.0.5.tgz#5e918349bc3a39eee3a804497d97fcbbf2f0d7c0" + integrity sha512-rDRwHtoDD3UMMrmZ6BzOW0naTjMsVZLIjsGleSKS/0Oz+cgCfAPRspaqJuE8rDzpKha/nEvnM0IF4seEAZUTKQ== dependencies: - inline-style-parser "0.1.1" + inline-style-parser "0.2.2" style-value-types@5.0.0: version "5.0.0"