From 264e332acd1dbfb91c3f6633f6b48f3e4119f832 Mon Sep 17 00:00:00 2001 From: sumneko Date: Tue, 9 Apr 2019 14:04:36 +0800 Subject: =?UTF-8?q?=E4=B8=8D=E8=A6=81=E5=8A=A0=E8=BD=BD=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=BA=93=E4=B8=AD=E7=9A=84=E5=85=A8=E5=B1=80=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/locale/zh-CN/libs/@lua/table.lni | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 server/locale/zh-CN/libs/@lua/table.lni (limited to 'server/locale/zh-CN/libs/@lua/table.lni') diff --git a/server/locale/zh-CN/libs/@lua/table.lni b/server/locale/zh-CN/libs/@lua/table.lni new file mode 100644 index 00000000..9163d8e5 --- /dev/null +++ b/server/locale/zh-CN/libs/@lua/table.lni @@ -0,0 +1,39 @@ +[concat] +description = [[ +-------- +```lua +return list[i]..sep..list[i+1] ··· sep..list[j] +``` +]] + +[insert] +description = '在 `list` 的位置 `pos` 处插入元素 `value`。' + +[maxn] +description = '返回给定表的最大正数索引,如果表没有正数索引,则返回零。' + +[move] +description = [[ +将元素从表 `a1` 移到表 `a2`。 +```lua +a2[t],··· = a1[f],···,a1[e] +return a2 +``` +]] + +[pack] +description = '返回用所有参数以键 `1`,`2`, 等填充的新表, 并将 `"n"` 这个域设为参数的总数。' + +[remove] +description = '移除 `list` 中 `pos` 位置上的元素,并返回这个被移除的值。' + +[sort] +description = '在表内从 `list[1]` 到 `list[#list]` *原地* 对其间元素按指定次序排序。' + +[unpack] +description = [[ +------- +```lua +return list[i], list[i+1], ···, list[j] +``` +]] -- cgit v1.2.3