summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-22 20:28:09 +0800
committersumneko <sumneko@hotmail.com>2019-05-22 20:28:09 +0800
commit86a58617a89ea8f8f7070f8767b51d413d0b0266 (patch)
tree84effe167b3c73e93d7cc378e5cddf95122be0d7 /server/locale/zh-CN
parent40b6da834d649828cea1a9f59b69657264a8c3c5 (diff)
downloadlua-language-server-86a58617a89ea8f8f7070f8767b51d413d0b0266.zip
保存
Diffstat (limited to 'server/locale/zh-CN')
-rw-r--r--server/locale/zh-CN/libs/@lua/basic.lni50
-rw-r--r--server/locale/zh-CN/libs/@lua/coroutine.lni8
-rw-r--r--server/locale/zh-CN/libs/@lua/debug.lni34
-rw-r--r--server/locale/zh-CN/libs/@lua/file.lni28
-rw-r--r--server/locale/zh-CN/libs/@lua/io.lni64
-rw-r--r--server/locale/zh-CN/libs/@lua/math.lni4
6 files changed, 94 insertions, 94 deletions
diff --git a/server/locale/zh-CN/libs/@lua/basic.lni b/server/locale/zh-CN/libs/@lua/basic.lni
index 3dcd7802..9415f3e8 100644
--- a/server/locale/zh-CN/libs/@lua/basic.lni
+++ b/server/locale/zh-CN/libs/@lua/basic.lni
@@ -7,77 +7,77 @@ description = '如果其参数 `v` 的值为假,它就调用 `error`。'
[collectgarbage]
[[.enums]]
name = 'opt'
-enum = 'collect'
+enum = '"collect"'
description = '做一次完整的垃圾收集循环。'
``````````
name = 'opt'
-enum = 'stop'
+enum = '"stop"'
description = '停止垃圾收集器的运行。'
``````````
name = 'opt'
-enum = 'restart'
+enum = '"restart"'
description = '重启垃圾收集器的自动运行。'
``````````
name = 'opt'
-enum = 'count'
+enum = '"count"'
description = '以 K 字节数为单位返回 Lua 使用的总内存数。'
``````````
name = 'opt'
-enum = 'step'
+enum = '"step"'
description = '单步运行垃圾收集器。'
``````````
name = 'opt'
-enum = 'setpause'
+enum = '"setpause"'
description = '设置收集器的 `间歇率`。'
``````````
name = 'opt'
-enum = 'setstepmul'
+enum = '"setstepmul"'
description = '设置收集器的 `步进倍率`。'
``````````
name = 'opt'
-enum = 'isrunning'
+enum = '"isrunning"'
description = '返回表示收集器是否在工作的布尔值。'
["collectgarbage Lua 5.4"]
[[.enums]]
name = 'opt'
-enum = 'collect'
+enum = '"collect"'
description = '做一次完整的垃圾收集循环。'
``````````
name = 'opt'
-enum = 'stop'
+enum = '"stop"'
description = '停止垃圾收集器的运行。'
``````````
name = 'opt'
-enum = 'restart'
+enum = '"restart"'
description = '重启垃圾收集器的自动运行。'
``````````
name = 'opt'
-enum = 'count'
+enum = '"count"'
description = '以 K 字节数为单位返回 Lua 使用的总内存数。'
``````````
name = 'opt'
-enum = 'step'
+enum = '"step"'
description = '单步运行垃圾收集器。'
``````````
name = 'opt'
-enum = 'setpause'
+enum = '"setpause"'
description = '设置收集器的 `间歇率`。'
``````````
name = 'opt'
-enum = 'setstepmul'
+enum = '"setstepmul"'
description = '设置收集器的 `步进倍率`。'
``````````
name = 'opt'
-enum = 'incremental'
+enum = '"incremental"'
description = '改变收集器模式为增量模式。'
``````````
name = 'opt'
-enum = 'generational'
+enum = '"generational"'
description = '改变收集器模式为分代模式。'
``````````
name = 'opt'
-enum = 'isrunning'
+enum = '"isrunning"'
description = '返回表示收集器是否在工作的布尔值。'
[dofile]
@@ -109,15 +109,15 @@ end
description = '加载一个代码块。'
[[.enums]]
name = 'mode'
-enum = 'b'
+enum = '"b"'
description = '只能是二进制代码块。'
``````````
name = 'mode'
-enum = 't'
+enum = '"t"'
description = '只能是文本代码块。'
``````````
name = 'mode'
-enum = 'bt'
+enum = '"bt"'
description = '可以是二进制也可以是文本。'
['load Lua 5.1']
@@ -127,15 +127,15 @@ description = '使用 `func` 分段加载代码块。每次调用 `func` 必须
description = '从文件中获取代码块。'
[[.enums]]
name = 'mode'
-enum = 'b'
+enum = '"b"'
description = '只能是二进制代码块。'
``````````
name = 'mode'
-enum = 't'
+enum = '"t"'
description = '只能是文本代码块。'
``````````
name = 'mode'
-enum = 'bt'
+enum = '"bt"'
description = '可以是二进制也可以是文本。'
['loadfile Lua 5.1']
@@ -181,7 +181,7 @@ description = '在不触发任何元方法的情况下 将 `table[index]` 设为
[select]
[[.enums]]
name = 'index'
-enum = '#'
+enum = '"#"'
description = '返回参数的个数。'
``````````
name = 'index'
diff --git a/server/locale/zh-CN/libs/@lua/coroutine.lni b/server/locale/zh-CN/libs/@lua/coroutine.lni
index f3d05ea1..9f69018c 100644
--- a/server/locale/zh-CN/libs/@lua/coroutine.lni
+++ b/server/locale/zh-CN/libs/@lua/coroutine.lni
@@ -20,19 +20,19 @@ description = '返回当前正在运行的协程加一个布尔量。 如果当
description = '以字符串形式返回协程 `co` 的状态。'
[[.enums]]
name = 'status'
-enum = 'running'
+enum = '"running"'
description = '正在运行。'
``````````
name = 'status'
-enum = 'suspended'
+enum = '"suspended"'
description = '挂起或是还没有开始运行。'
``````````
name = 'status'
-enum = 'normal'
+enum = '"normal"'
description = '是活动的,但并不在运行。'
``````````
name = 'status'
-enum = 'dead'
+enum = '"dead"'
description = '运行完主体函数或因错误停止。'
[wrap]
diff --git a/server/locale/zh-CN/libs/@lua/debug.lni b/server/locale/zh-CN/libs/@lua/debug.lni
index 8783b8e3..0725ef24 100644
--- a/server/locale/zh-CN/libs/@lua/debug.lni
+++ b/server/locale/zh-CN/libs/@lua/debug.lni
@@ -11,62 +11,62 @@ description = '返回三个表示线程钩子设置的值: 当前钩子函数
description = '返回关于一个函数信息的表。'
[[.enums]]
name = 'what'
-enum = 'n'
+enum = '"n"'
description = '`name` 和 `namewhat`'
``````````
name = 'what'
-enum = 'S'
+enum = '"S"'
description = '`source`,`short_src`,`linedefined`,`lastlinedefined`,和 `what`'
``````````
name = 'what'
-enum = 'l'
+enum = '"l"'
description = '`currentline`'
``````````
name = 'what'
-enum = 't'
+enum = '"t"'
description = '`istailcall`'
``````````
name = 'what'
-enum = 'u'
+enum = '"u"'
description = '`nups`,`nparams`,和`isvararg`'
``````````
name = 'what'
-enum = 'f'
+enum = '"f"'
description = '`func`'
``````````
name = 'what'
-enum = 'L'
+enum = '"L"'
description = '`activelines`'
['getinfo Lua 5.1']
description = '返回关于一个函数信息的表。'
[[.enums]]
name = 'what'
-enum = 'n'
+enum = '"n"'
description = '`name` 和 `namewhat`'
``````````
name = 'what'
-enum = 'S'
+enum = '"S"'
description = '`source`,`short_src`,`linedefined`,`lastlinedefined`,和 `what`'
``````````
name = 'what'
-enum = 'l'
+enum = '"l"'
description = '`currentline`'
``````````
name = 'what'
-enum = 't'
+enum = '"t"'
description = '`istailcall`'
``````````
name = 'what'
-enum = 'u'
+enum = '"u"'
description = '`nups`'
``````````
name = 'what'
-enum = 'f'
+enum = '"f"'
description = '`func`'
``````````
name = 'what'
-enum = 'L'
+enum = '"L"'
description = '`activelines`'
[getlocal]
@@ -97,15 +97,15 @@ description = '将 `table` 设置为 `object` 的环境。'
description = '将一个函数作为钩子函数设入。'
[[.enums]]
name = 'mask'
-enum = 'c'
+enum = '"c"'
description = '每当 Lua 调用一个函数时,调用钩子。'
``````````
name = 'mask'
-enum = 'r'
+enum = '"r"'
description = '每当 Lua 从一个函数内返回时,调用钩子。'
``````````
name = 'mask'
-enum = 'l'
+enum = '"l"'
description = '每当 Lua 进入新的一行时,调用钩子。'
[setlocal]
diff --git a/server/locale/zh-CN/libs/@lua/file.lni b/server/locale/zh-CN/libs/@lua/file.lni
index 73dfd67d..4dcace0f 100644
--- a/server/locale/zh-CN/libs/@lua/file.lni
+++ b/server/locale/zh-CN/libs/@lua/file.lni
@@ -15,19 +15,19 @@ end
]]
[[.enums]]
name = 'mode'
-enum = 'n'
+enum = '"n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = 'l'
+enum = '"l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = 'L'
+enum = '"L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -38,19 +38,19 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '读文件 `file`, 指定的格式决定了要读什么。'
[[.enums]]
name = 'mode'
-enum = 'n'
+enum = '"n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = 'l'
+enum = '"l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = 'L'
+enum = '"L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -61,30 +61,30 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '设置及获取基于文件开头处计算出的位置。'
[[.enums]]
name = 'whence'
-enum = 'set'
+enum = '"set"'
description = '基点为 0 (文件开头)。'
``````````
name = 'whence'
-enum = 'cur'
+enum = '"cur"'
description = '基点为当前位置。'
``````````
name = 'whence'
-enum = 'end'
+enum = '"end"'
description = '基点为文件尾。'
[setvbuf]
description = '设置输出文件的缓冲模式。'
[[.enums]]
name = 'mode'
-enum = 'no'
+enum = '"no"'
description = '不缓冲;输出操作立刻生效。'
``````````
name = 'mode'
-enum = 'full'
+enum = '"full"'
description = '完全缓冲;只有在缓存满或调用 flush 时才做输出操作。'
``````````
name = 'mode'
-enum = 'line'
+enum = '"line"'
description = '行缓冲;输出将缓冲到每次换行前。'
[write]
diff --git a/server/locale/zh-CN/libs/@lua/io.lni b/server/locale/zh-CN/libs/@lua/io.lni
index 8881777f..34f6d5eb 100644
--- a/server/locale/zh-CN/libs/@lua/io.lni
+++ b/server/locale/zh-CN/libs/@lua/io.lni
@@ -27,15 +27,15 @@ end
]]
[[.enums]]
name = 'mode'
-enum = '*n'
+enum = '"*n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = '*a'
+enum = '"*a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = '*l'
+enum = '"*l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
@@ -53,19 +53,19 @@ end
]]
[[.enums]]
name = 'mode'
-enum = 'n'
+enum = '"n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = 'l'
+enum = '"l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = 'L'
+enum = '"L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -83,19 +83,19 @@ end
]]
[[.enums]]
name = 'mode'
-enum = '*n'
+enum = '"*n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = '*a'
+enum = '"*a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = '*l'
+enum = '"*l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = '*L'
+enum = '"*L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -106,27 +106,27 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '用字符串 `mode` 指定的模式打开一个文件。'
[[.enums]]
name = 'mode'
-enum = 'r'
+enum = '"r"'
description = '读模式。'
``````````
name = 'mode'
-enum = 'w'
+enum = '"w"'
description = '写模式。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '追加模式。'
``````````
name = 'mode'
-enum = 'r+'
+enum = '"r+"'
description = '更新模式,所有之前的数据都保留。'
``````````
name = 'mode'
-enum = 'w+'
+enum = '"w+"'
description = '更新模式,所有之前的数据都删除。'
``````````
name = 'mode'
-enum = 'a+'
+enum = '"a+"'
description = '追加更新模式,所有之前的数据都保留,只允许在文件尾部做写入。'
[output]
@@ -136,26 +136,26 @@ description = '设置 `file` 为默认输出文件。'
description = '用一个分离进程开启程序 `prog` 。'
[[.enums]]
name = 'mode'
-enum = 'r'
+enum = '"r"'
description = '从这个程序中读取数据。'
``````````
name = 'mode'
-enum = 'w'
+enum = '"w"'
description = '向这个程序写入输入。'
["read Lua 5.1"]
description = '读文件 `file`, 指定的格式决定了要读什么。'
[[.enums]]
name = 'mode'
-enum = '*n'
+enum = '"*n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = '*a'
+enum = '"*a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = '*l'
+enum = '"*l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
@@ -166,19 +166,19 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '读文件 `file`, 指定的格式决定了要读什么。'
[[.enums]]
name = 'mode'
-enum = 'n'
+enum = '"n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = 'a'
+enum = '"a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = 'l'
+enum = '"l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = 'L'
+enum = '"L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -189,19 +189,19 @@ description = '读取一个不超过这个数量字节数的字符串。'
description = '读文件 `file`, 指定的格式决定了要读什么。'
[[.enums]]
name = 'mode'
-enum = '*n'
+enum = '"*n"'
description = '读取一个数字,根据 Lua 的转换文法返回浮点数或整数。'
``````````
name = 'mode'
-enum = '*a'
+enum = '"*a"'
description = '从当前位置开始读取整个文件。'
``````````
name = 'mode'
-enum = '*l'
+enum = '"*l"'
description = '读取一行并忽略行结束标记。'
``````````
name = 'mode'
-enum = '*L'
+enum = '"*L"'
description = '读取一行并保留行结束标记。'
``````````
name = 'mode'
@@ -215,11 +215,11 @@ description = '如果成功,返回一个临时文件的句柄。'
description = '检查 `obj` 是否是合法的文件句柄。'
[[.enums]]
name = 'type'
-enum = 'file'
+enum = '"file"'
description = '是一个打开的文件句柄。'
``````````
name = 'type'
-enum = 'closed file'
+enum = '"closed file"'
description = '是一个关闭的文件句柄。'
``````````
name = 'type'
diff --git a/server/locale/zh-CN/libs/@lua/math.lni b/server/locale/zh-CN/libs/@lua/math.lni
index c89ca616..fba72360 100644
--- a/server/locale/zh-CN/libs/@lua/math.lni
+++ b/server/locale/zh-CN/libs/@lua/math.lni
@@ -117,11 +117,11 @@ description = '如果 `x` 可以转换为一个整数, 返回该整数。'
[type]
[[.enums]]
name = 'type'
-enum = 'integer'
+enum = '"integer"'
description = '`x` 是一个整数。'
``````````
name = 'type'
-enum = 'float'
+enum = '"float"'
description = '`x` 是一个浮点数。'
``````````
name = 'type'