diff --git a/src/lang/en-us.json b/src/lang/en-us.json index 7e04f071..895e3c5f 100644 --- a/src/lang/en-us.json +++ b/src/lang/en-us.json @@ -381,7 +381,7 @@ "Notice_Install_Node_Package":"Install Exceptionless using the Node Package Manager:", "Notice_Update_ApiKey":"Update the <exceptionless apiKey=\"API_KEY_HERE\" /> section located in the project's {{config}} with your Exceptionless API key:", "Notice_Application_Startup_NetFx":"Import the Exceptionless namespace and call the ExceptionlessClient.Default.Startup(\"{{apiKey}}\") method with your api key during the startup of your app.", - "Notice_Application_Startup_NetCore":"Import the Exceptionless namespace and call the app.UseExceptionless(\"{{apiKey}}\") method with your api key during the startup of your app.", + "Notice_Application_Startup_NetCore":"Import the Exceptionless namespace and call the services.AddExceptionless(\"{{apiKey}}\") method inside of the ConfigureServices method. Next, call the app.UseExceptionless() method in the Configure during the startup of your app.", "Notice_Application_Startup_Nancy":"Import the Exceptionless namespace and call the Exceptionless.ExceptionlessClient.Default.RegisterNancy(pipelines) method with an instance of Nancy.Bootstrapper.IPipelines inside of your Nancy Bootstrapper's ApplicationStartup method.", "Notice_Application_Startup_Windows":"Import the Exceptionless namespace and call the ExceptionlessClient.Default.Register() method during the startup of your app.", "Notice_Application_Startup_WebApi":"Import the Exceptionless namespace and call the ExceptionlessClient.Default.RegisterWebApi(config) method with an instance of HttpConfiguration during the startup of your app.", diff --git a/src/lang/zh-cn.json b/src/lang/zh-cn.json index 6d524a8e..b8998d8a 100644 --- a/src/lang/zh-cn.json +++ b/src/lang/zh-cn.json @@ -381,7 +381,7 @@ "Notice_Install_Node_Package":"通过 Node 程序包管理器 安装 Exceptionless :", "Notice_Update_ApiKey":"在项目中的 {{config}} 文件中找到 <exceptionless apiKey=\"API_KEY_HERE\" /> 部分并使用您的 Exceptionless 相应项目的 API 密钥替换:", "Notice_Application_Startup_NetFx":"在您的应用程序的启动文件中引入 Exceptionless 命名空间,然后通过 API 密钥执行 ExceptionlessClient.Default.Startup(\"{{apiKey}}\") 方法。", - "Notice_Application_Startup_NetCore":"在您的应用程序的启动文件中引入 Exceptionless 命名空间,然后通过 API 密钥执行 app.UseExceptionless(\"{{apiKey}}\") 方法。", + "Notice_Application_Startup_NetCore":"导入 Exceptionless 命名空间并在 ConfigureServices 方法中调用 services.AddExceptionless(\"{{apiKey}}\") 方法。 接下来,在应用程序启动期间调用配置中的 app.UseExceptionless() 方法。", "Notice_Application_Startup_Nancy":"在您的 Nancy 引导程序中引入 Exceptionless 命名空间,然后在 ApplicationStartup 方法中通过 Nancy.Bootstrapper.IPipelines 类型的实例调用 Exceptionless.ExceptionlessClient.Default.RegisterNancy(pipelines) 方法。", "Notice_Application_Startup_Windows":"在您的应用程序的启动文件中引入 Exceptionless 命名空间, 然后执行 ExceptionlessClient.Default.Register() 方法。", "Notice_Application_Startup_WebApi":"在您的应用程序的启动文件中引入 Exceptionless 命名空间, 然后通过 HttpConfiguration 类型的实例调用 ExceptionlessClient.Default.RegisterWebApi(config) 方法。",