From 9f45a805234ba6a6867fd8da56ebbd03d1ba429d Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Wed, 10 Aug 2022 18:57:31 +1000 Subject: [PATCH] New translations migrating.mdx (Chinese Simplified) [ci skip] --- .../docusaurus-plugin-content-docs/current/guides/migrating.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/migrating.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/migrating.mdx index 28b890ce..d8717240 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/migrating.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/migrating.mdx @@ -60,7 +60,7 @@ Wails v2 与 v1 相比有重大变化。 本文档旨在重点介绍迁移现有 ### 应用程序生命周期 -In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have been replaced with 3 lifecycle hooks as part of the [application options](../reference/options.mdx#application-options): +In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have been replaced with 3 lifecycle hooks as part of the [application options](../reference/options.mdx#application-options): In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have been replaced with 3 lifecycle hooks as part of the [application options](../reference/options.mdx#application-options): - [应用启动回调](../reference/options.mdx#onstartup) - [应用退出回调](../reference/options.mdx#onshutdown)