diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-31 12:46:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-31 12:46:05 +0800 |
commit | 92e4da8c7cec41b0595c59ac91345a812d902975 (patch) | |
tree | 84a64dda769b723c694107afd4a3b95b57936978 /server/locale/zh-CN/libs | |
parent | dac81ea089eb6970c81859ff2a0bb233f3eb159f (diff) | |
download | lua-language-server-92e4da8c7cec41b0595c59ac91345a812d902975.zip |
更新lni
Diffstat (limited to 'server/locale/zh-CN/libs')
-rw-r--r-- | server/locale/zh-CN/libs/lua53/basic.lni | 24 | ||||
-rw-r--r-- | server/locale/zh-CN/libs/lua53/coroutine.lni | 6 | ||||
-rw-r--r-- | server/locale/zh-CN/libs/lua53/debug.lni | 16 | ||||
-rw-r--r-- | server/locale/zh-CN/libs/lua53/file.lni | 24 | ||||
-rw-r--r-- | server/locale/zh-CN/libs/lua53/io.lni | 32 | ||||
-rw-r--r-- | server/locale/zh-CN/libs/lua53/math.lni | 4 |
6 files changed, 53 insertions, 53 deletions
diff --git a/server/locale/zh-CN/libs/lua53/basic.lni b/server/locale/zh-CN/libs/lua53/basic.lni index cc74721d..7ffeae60 100644 --- a/server/locale/zh-CN/libs/lua53/basic.lni +++ b/server/locale/zh-CN/libs/lua53/basic.lni @@ -9,31 +9,31 @@ description = '如果其参数 `v` 的值为假,它就调用 `error`。' name = 'opt' enum = 'collect' description = '做一次完整的垃圾收集循环。' -[[.enums]] +`````````` name = 'opt' enum = 'stop' description = '停止垃圾收集器的运行。' -[[.enums]] +`````````` name = 'opt' enum = 'restart' description = '重启垃圾收集器的自动运行。' -[[.enums]] +`````````` name = 'opt' enum = 'count' description = '以 K 字节数为单位返回 Lua 使用的总内存数。' -[[.enums]] +`````````` name = 'opt' enum = 'step' description = '单步运行垃圾收集器。' -[[.enums]] +`````````` name = 'opt' enum = 'setpause' description = '设置收集器的 `间歇率`。' -[[.enums]] +`````````` name = 'opt' enum = 'setstepmul' description = '设置收集器的 `步进倍率`。' -[[.enums]] +`````````` name = 'opt' enum = 'isrunning' description = '返回表示收集器是否在工作的布尔值。' @@ -66,11 +66,11 @@ description = '加载一个代码块。' name = 'mode' enum = 'b' description = '只能是二进制代码块。' -[[.enums]] +`````````` name = 'mode' enum = 't' description = '只能是文本代码块。' -[[.enums]] +`````````` name = 'mode' enum = 'bt' description = '可以是二进制也可以是文本。' @@ -81,11 +81,11 @@ description = '从文件中获取代码块。' name = 'mode' enum = 'b' description = '只能是二进制代码块。' -[[.enums]] +`````````` name = 'mode' enum = 't' description = '只能是文本代码块。' -[[.enums]] +`````````` name = 'mode' enum = 'bt' description = '可以是二进制也可以是文本。' @@ -126,7 +126,7 @@ description = '在不触发任何元方法的情况下 将 `table[index]` 设为 name = 'index' enum = '#' description = '返回参数的个数。' -[[.enums]] +`````````` name = 'index' code = 'integer' description = '返回参数中第 `index` 个之后的部分。' diff --git a/server/locale/zh-CN/libs/lua53/coroutine.lni b/server/locale/zh-CN/libs/lua53/coroutine.lni index ce77f4bb..e41b5e22 100644 --- a/server/locale/zh-CN/libs/lua53/coroutine.lni +++ b/server/locale/zh-CN/libs/lua53/coroutine.lni @@ -16,15 +16,15 @@ description = '以字符串形式返回协程 `co` 的状态。' name = 'status' enum = 'running' description = '正在运行。' -[[.enums]] +`````````` name = 'status' enum = 'suspended' description = '挂起或是还没有开始运行。' -[[.enums]] +`````````` name = 'status' enum = 'normal' description = '是活动的,但并不在运行。' -[[.enums]] +`````````` name = 'status' enum = 'dead' description = '运行完主体函数或因错误停止。' diff --git a/server/locale/zh-CN/libs/lua53/debug.lni b/server/locale/zh-CN/libs/lua53/debug.lni index d0966857..a3e3e6ad 100644 --- a/server/locale/zh-CN/libs/lua53/debug.lni +++ b/server/locale/zh-CN/libs/lua53/debug.lni @@ -10,27 +10,27 @@ description = '返回关于一个函数信息的表。' name = 'what' enum = 'n' description = '`name` 和 `namewhat`' -[[.enums]] +`````````` name = 'what' enum = 'S' description = '`source`,`short_src`,`linedefined`,`lastlinedefined`,和 `what`' -[[.enums]] +`````````` name = 'what' enum = 'l' description = '`currentline`' -[[.enums]] +`````````` name = 'what' enum = 't' description = '`istailcall`' -[[.enums]] +`````````` name = 'what' enum = 'u' description = '`nups`,`nparams`,和`isvararg`' -[[.enums]] +`````````` name = 'what' enum = 'f' description = '`func`' -[[.enums]] +`````````` name = 'what' enum = 'L' description = '`activelines`' @@ -56,11 +56,11 @@ description = '将一个函数作为钩子函数设入。' name = 'mask' enum = 'c' description = '每当 Lua 调用一个函数时,调用钩子。' -[[.enums]] +`````````` name = 'mask' enum = 'r' description = '每当 Lua 从一个函数内返回时,调用钩子。' -[[.enums]] +`````````` name = 'mask' enum = 'l' description = '每当 Lua 进入新的一行时,调用钩子。' diff --git a/server/locale/zh-CN/libs/lua53/file.lni b/server/locale/zh-CN/libs/lua53/file.lni index 03b5709a..73dfd67d 100644 --- a/server/locale/zh-CN/libs/lua53/file.lni +++ b/server/locale/zh-CN/libs/lua53/file.lni @@ -17,19 +17,19 @@ end name = 'mode' enum = 'n' description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = '从当前位置开始读取整个文件。' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = '读取一行并忽略行结束标记。' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = '读取一行并保留行结束标记。' -[[.enums]] +`````````` name = 'mode' code = 'number' description = '读取一个不超过这个数量字节数的字符串。' @@ -40,19 +40,19 @@ description = '读文件 `file`, 指定的格式决定了要读什么。' name = 'mode' enum = 'n' description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = '从当前位置开始读取整个文件。' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = '读取一行并忽略行结束标记。' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = '读取一行并保留行结束标记。' -[[.enums]] +`````````` name = 'mode' code = 'number' description = '读取一个不超过这个数量字节数的字符串。' @@ -63,11 +63,11 @@ description = '设置及获取基于文件开头处计算出的位置。' name = 'whence' enum = 'set' description = '基点为 0 (文件开头)。' -[[.enums]] +`````````` name = 'whence' enum = 'cur' description = '基点为当前位置。' -[[.enums]] +`````````` name = 'whence' enum = 'end' description = '基点为文件尾。' @@ -78,11 +78,11 @@ description = '设置输出文件的缓冲模式。' name = 'mode' enum = 'no' description = '不缓冲;输出操作立刻生效。' -[[.enums]] +`````````` name = 'mode' enum = 'full' description = '完全缓冲;只有在缓存满或调用 flush 时才做输出操作。' -[[.enums]] +`````````` name = 'mode' enum = 'line' description = '行缓冲;输出将缓冲到每次换行前。' diff --git a/server/locale/zh-CN/libs/lua53/io.lni b/server/locale/zh-CN/libs/lua53/io.lni index 881017f7..a35fa0ae 100644 --- a/server/locale/zh-CN/libs/lua53/io.lni +++ b/server/locale/zh-CN/libs/lua53/io.lni @@ -29,19 +29,19 @@ end name = 'mode' enum = 'n' description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = '从当前位置开始读取整个文件。' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = '读取一行并忽略行结束标记。' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = '读取一行并保留行结束标记。' -[[.enums]] +`````````` name = 'mode' code = 'number' description = '读取一个不超过这个数量字节数的字符串。' @@ -52,23 +52,23 @@ description = '用字符串 `mode` 指定的模式打开一个文件。' name = 'mode' enum = 'r' description = '读模式。' -[[.enums]] +`````````` name = 'mode' enum = 'w' description = '写模式。' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = '追加模式。' -[[.enums]] +`````````` name = 'mode' enum = 'r+' description = '更新模式,所有之前的数据都保留。' -[[.enums]] +`````````` name = 'mode' enum = 'w+' description = '更新模式,所有之前的数据都删除。' -[[.enums]] +`````````` name = 'mode' enum = 'a+' description = '追加更新模式,所有之前的数据都保留,只允许在文件尾部做写入。' @@ -82,7 +82,7 @@ description = '用一个分离进程开启程序 `prog` 。' name = 'mode' enum = 'r' description = '从这个程序中读取数据。' -[[.enums]] +`````````` name = 'mode' enum = 'w' description = '向这个程序写入输入。' @@ -93,19 +93,19 @@ description = '读文件 `file`, 指定的格式决定了要读什么。' name = 'mode' enum = 'n' description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。' -[[.enums]] +`````````` name = 'mode' enum = 'a' description = '从当前位置开始读取整个文件。' -[[.enums]] +`````````` name = 'mode' enum = 'l' description = '读取一行并忽略行结束标记。' -[[.enums]] +`````````` name = 'mode' enum = 'L' description = '读取一行并保留行结束标记。' -[[.enums]] +`````````` name = 'mode' code = 'number' description = '读取一个不超过这个数量字节数的字符串。' @@ -119,11 +119,11 @@ description = '检查 `obj` 是否是合法的文件句柄。' name = 'type' enum = 'file' description = '是一个打开的文件句柄。' -[[.enums]] +`````````` name = 'type' enum = 'closed file' description = '是一个关闭的文件句柄。' -[[.enums]] +`````````` name = 'type' code = 'nil' description = '不是文件句柄。' diff --git a/server/locale/zh-CN/libs/lua53/math.lni b/server/locale/zh-CN/libs/lua53/math.lni index 4e23a281..0bee3bb4 100644 --- a/server/locale/zh-CN/libs/lua53/math.lni +++ b/server/locale/zh-CN/libs/lua53/math.lni @@ -82,11 +82,11 @@ description = '如果 `x` 可以转换为一个整数, 返回该整数。' name = 'type' enum = 'integer' description = '`x` 是一个整数。' -[[.enums]] +`````````` name = 'type' enum = 'float' description = '`x` 是一个浮点数。' -[[.enums]] +`````````` name = 'type' code = 'nil' description = '`x` 不是一个数字。' |