From 3f139d12e8f66b30b6f4b9a47501b10cb111830d Mon Sep 17 00:00:00 2001 From: sumneko Date: Thu, 6 Jun 2019 13:00:20 +0800 Subject: =?UTF-8?q?=E5=8F=92=E6=94=B9=E5=90=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/libs/@lua/coroutine.lni | 2 +- server/locale/en-US/libs/@lua/coroutine.lni | 4 ++-- server/locale/zh-CN/libs/@lua/coroutine.lni | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'server') diff --git a/server/libs/@lua/coroutine.lni b/server/libs/@lua/coroutine.lni index c0c69a2c..05db9038 100644 --- a/server/libs/@lua/coroutine.lni +++ b/server/libs/@lua/coroutine.lni @@ -41,7 +41,7 @@ optional = after [[.returns]] type = boolean -[kill] +[close] version = 'Lua 5.4' [[.args]] name = 'co' diff --git a/server/locale/en-US/libs/@lua/coroutine.lni b/server/locale/en-US/libs/@lua/coroutine.lni index e5245206..910638ec 100644 --- a/server/locale/en-US/libs/@lua/coroutine.lni +++ b/server/locale/en-US/libs/@lua/coroutine.lni @@ -7,8 +7,8 @@ description = 'Returns true when the running coroutine can yield.' ['isyieldable Lua 5.4'] description = 'Returns true when the coroutine `co` can yield. The default for `co` is the running coroutine.' -[kill] -description = 'Kills coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.' +[close] +description = 'Closes coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.' [resume] description = 'Starts or continues the execution of coroutine `co`.' diff --git a/server/locale/zh-CN/libs/@lua/coroutine.lni b/server/locale/zh-CN/libs/@lua/coroutine.lni index 9f69018c..42f1cb8f 100644 --- a/server/locale/zh-CN/libs/@lua/coroutine.lni +++ b/server/locale/zh-CN/libs/@lua/coroutine.lni @@ -7,8 +7,8 @@ description = '如果正在运行的协程可以让出,则返回真。' ['isyieldable Lua 5.4'] description = '如果协程 `co` 可以让出,则返回真。`co` 默认为正在运行的协程。' -[kill] -description = '杀死协程 `co`,关闭它所有等待 *to-be-closed* 的变量,并将协程状态设为 `dead` 。' +[close] +description = '关闭协程 `co`,并关闭它所有等待 *to-be-closed* 的变量,并将协程状态设为 `dead` 。' [resume] description = '开始或继续协程 `co` 的运行。' -- cgit v1.2.3