summaryrefslogtreecommitdiff
path: root/server/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-31 12:46:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-31 12:46:05 +0800
commit92e4da8c7cec41b0595c59ac91345a812d902975 (patch)
tree84a64dda769b723c694107afd4a3b95b57936978 /server/locale
parentdac81ea089eb6970c81859ff2a0bb233f3eb159f (diff)
downloadlua-language-server-92e4da8c7cec41b0595c59ac91345a812d902975.zip
更新lni
Diffstat (limited to 'server/locale')
-rw-r--r--server/locale/en-US/libs/lua53/basic.lni24
-rw-r--r--server/locale/en-US/libs/lua53/coroutine.lni6
-rw-r--r--server/locale/en-US/libs/lua53/debug.lni16
-rw-r--r--server/locale/en-US/libs/lua53/file.lni24
-rw-r--r--server/locale/en-US/libs/lua53/io.lni32
-rw-r--r--server/locale/en-US/libs/lua53/math.lni4
-rw-r--r--server/locale/zh-CN/libs/lua53/basic.lni24
-rw-r--r--server/locale/zh-CN/libs/lua53/coroutine.lni6
-rw-r--r--server/locale/zh-CN/libs/lua53/debug.lni16
-rw-r--r--server/locale/zh-CN/libs/lua53/file.lni24
-rw-r--r--server/locale/zh-CN/libs/lua53/io.lni32
-rw-r--r--server/locale/zh-CN/libs/lua53/math.lni4
12 files changed, 106 insertions, 106 deletions
diff --git a/server/locale/en-US/libs/lua53/basic.lni b/server/locale/en-US/libs/lua53/basic.lni
index 13a1b5fe..571d8450 100644
--- a/server/locale/en-US/libs/lua53/basic.lni
+++ b/server/locale/en-US/libs/lua53/basic.lni
@@ -9,31 +9,31 @@ description = 'Calls error if the value of its argument is false.'
name = 'opt'
enum = 'collect'
description = 'Performs a full garbage-collection cycle.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'stop'
description = 'Stops automatic execution.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'restart'
description = 'Restarts automatic execution.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'count'
description = 'Returns the total memory in Kbytes.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'step'
description = 'Performs a garbage-collection step.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'setpause'
description = 'Set pause.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'setstepmul'
description = 'Set step multiplier.'
-[[.enums]]
+``````````
name = 'opt'
enum = 'isrunning'
description = 'Returns whether the collector is running.'
@@ -66,11 +66,11 @@ description = 'Loads a chunk.'
name = 'mode'
enum = 'b'
description = 'Only binary chunks.'
-[[.enums]]
+``````````
name = 'mode'
enum = 't'
description = 'Only text chunks.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'bt'
description = 'Both binary and text.'
@@ -81,11 +81,11 @@ description = 'Loads a chunk from file.'
name = 'mode'
enum = 'b'
description = 'Only binary chunks.'
-[[.enums]]
+``````````
name = 'mode'
enum = 't'
description = 'Only text chunks.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'bt'
description = 'Both binary and text.'
@@ -126,7 +126,7 @@ description = 'Sets the real value of `table[index]` to `value`, without invokin
name = 'index'
enum = '#'
description = 'Returns the total number of extra arguments.'
-[[.enums]]
+``````````
name = 'index'
code = 'integer'
description = 'Returns all arguments after number `index`.'
diff --git a/server/locale/en-US/libs/lua53/coroutine.lni b/server/locale/en-US/libs/lua53/coroutine.lni
index dca0f5a4..463288bc 100644
--- a/server/locale/en-US/libs/lua53/coroutine.lni
+++ b/server/locale/en-US/libs/lua53/coroutine.lni
@@ -16,15 +16,15 @@ description = 'Returns the status of coroutine `co`.'
name = 'status'
enum = 'running'
description = 'Is running.'
-[[.enums]]
+``````````
name = 'status'
enum = 'suspended'
description = 'Is suspended or not started.'
-[[.enums]]
+``````````
name = 'status'
enum = 'normal'
description = 'Is active but not running.'
-[[.enums]]
+``````````
name = 'status'
enum = 'dead'
description = 'Has finished or stopped with an error.'
diff --git a/server/locale/en-US/libs/lua53/debug.lni b/server/locale/en-US/libs/lua53/debug.lni
index 900e0ea1..d94a8b47 100644
--- a/server/locale/en-US/libs/lua53/debug.lni
+++ b/server/locale/en-US/libs/lua53/debug.lni
@@ -10,27 +10,27 @@ description = 'Returns a table with information about a function.'
name = 'what'
enum = 'n'
description = '`name` and `namewhat`'
-[[.enums]]
+``````````
name = 'what'
enum = 'S'
description = '`source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`'
-[[.enums]]
+``````````
name = 'what'
enum = 'l'
description = '`currentline`'
-[[.enums]]
+``````````
name = 'what'
enum = 't'
description = '`istailcall`'
-[[.enums]]
+``````````
name = 'what'
enum = 'u'
description = '`nups`, `nparams`, and `isvararg`'
-[[.enums]]
+``````````
name = 'what'
enum = 'f'
description = '`func`'
-[[.enums]]
+``````````
name = 'what'
enum = 'L'
description = '`activelines`'
@@ -56,11 +56,11 @@ description = 'Sets the given function as a hook.'
name = 'mask'
enum = 'c'
description = 'Calls hook when Lua calls a function.'
-[[.enums]]
+``````````
name = 'mask'
enum = 'r'
description = 'Calls hook when Lua returns from a function.'
-[[.enums]]
+``````````
name = 'mask'
enum = 'l'
description = 'Calls hook when Lua enters a new line of code.'
diff --git a/server/locale/en-US/libs/lua53/file.lni b/server/locale/en-US/libs/lua53/file.lni
index 176b2034..4200b65f 100644
--- a/server/locale/en-US/libs/lua53/file.lni
+++ b/server/locale/en-US/libs/lua53/file.lni
@@ -17,19 +17,19 @@ end
name = 'mode'
enum = 'n'
description = 'Reads a numeral and returns it as number.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
description = 'Reads the whole file.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
description = 'Reads the next line skipping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
description = 'Reads the next line keeping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
description = 'Reads a string with up to this number of bytes.'
@@ -40,19 +40,19 @@ description = 'Reads the `file`, according to the given formats, which specify w
name = 'mode'
enum = 'n'
description = 'Reads a numeral and returns it as number.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
description = 'Reads the whole file.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
description = 'Reads the next line skipping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
description = 'Reads the next line keeping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
description = 'Reads a string with up to this number of bytes.'
@@ -63,11 +63,11 @@ description = 'Sets and gets the file position, measured from the beginning of t
name = 'whence'
enum = 'set'
description = 'Base is beginning of the file.'
-[[.enums]]
+``````````
name = 'whence'
enum = 'cur'
description = 'Base is current position.'
-[[.enums]]
+``````````
name = 'whence'
enum = 'end'
description = 'Base is end of file.'
@@ -78,11 +78,11 @@ description = 'Sets the buffering mode for an output file.'
name = 'mode'
enum = 'no'
description = 'Output operation appears immediately.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'full'
description = 'Performed only when the buffer is full.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'line'
description = 'Buffered until a newline is output.'
diff --git a/server/locale/en-US/libs/lua53/io.lni b/server/locale/en-US/libs/lua53/io.lni
index c27e9d4d..14122cea 100644
--- a/server/locale/en-US/libs/lua53/io.lni
+++ b/server/locale/en-US/libs/lua53/io.lni
@@ -29,19 +29,19 @@ end
name = 'mode'
enum = 'n'
description = 'Reads a numeral and returns it as number.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
description = 'Reads the whole file.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
description = 'Reads the next line skipping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
description = 'Reads the next line keeping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
description = 'Reads a string with up to this number of bytes.'
@@ -52,23 +52,23 @@ description = 'Opens a file, in the mode specified in the string `mode`.'
name = 'mode'
enum = 'r'
description = 'Read mode.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'w'
description = 'Write mode.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
description = 'Append mode.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'r+'
description = 'Update mode, all previous data is preserved.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'w+'
description = 'Update mode, all previous data is erased.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a+'
description = 'Append update mode, previous data is preserved, writing is only allowed at the end of file.'
@@ -82,7 +82,7 @@ description = 'Starts program prog in a separated process.'
name = 'mode'
enum = 'r'
description = 'Read data from this program by `file`.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'w'
description = 'Write data to this program by `file`.'
@@ -93,19 +93,19 @@ description = 'Reads the `file`, according to the given formats, which specify w
name = 'mode'
enum = 'n'
description = 'Reads a numeral and returns it as number.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'a'
description = 'Reads the whole file.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'l'
description = 'Reads the next line skipping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
enum = 'L'
description = 'Reads the next line keeping the end of line.'
-[[.enums]]
+``````````
name = 'mode'
code = 'number'
description = 'Reads a string with up to this number of bytes.'
@@ -119,11 +119,11 @@ description = 'Checks whether `obj` is a valid file handle.'
name = 'type'
enum = 'file'
description = 'Is an open file handle.'
-[[.enums]]
+``````````
name = 'type'
enum = 'closed file'
description = 'Is a closed file handle.'
-[[.enums]]
+``````````
name = 'type'
code = 'nil'
description = 'Is not a file handle.'
diff --git a/server/locale/en-US/libs/lua53/math.lni b/server/locale/en-US/libs/lua53/math.lni
index fccdd4cf..1a5ca814 100644
--- a/server/locale/en-US/libs/lua53/math.lni
+++ b/server/locale/en-US/libs/lua53/math.lni
@@ -82,11 +82,11 @@ description = 'If the value `x` is convertible to an integer, returns that integ
name = 'type'
enum = 'integer'
description = '`x` is an integer.'
-[[.enums]]
+``````````
name = 'type'
enum = 'float'
description = '`x` is a float.'
-[[.enums]]
+``````````
name = 'type'
code = 'nil'
description = '`x` is not a number.'
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` 不是一个数字。'