summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/meta.lua2
-rw-r--r--locale/zh-cn/meta.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/locale/en-us/meta.lua b/locale/en-us/meta.lua
index ffb4fee7..acbb510c 100644
--- a/locale/en-us/meta.lua
+++ b/locale/en-us/meta.lua
@@ -47,7 +47,7 @@ The order in which the indices are enumerated is not specified, *even for numeri
The behavior of `next` is undefined if, during the traversal, you assign any value to a non-existent field in the table. You may however modify existing fields. In particular, you may set existing fields to nil.
]]
-paris = [[
+pairs = [[
If `t` has a metamethod `__pairs`, calls it with t as argument and returns the first three results from the call.
Otherwise, returns three values: the $next function, the table `t`, and `nil`, so that the construction
diff --git a/locale/zh-cn/meta.lua b/locale/zh-cn/meta.lua
index a054a464..c57a435c 100644
--- a/locale/zh-cn/meta.lua
+++ b/locale/zh-cn/meta.lua
@@ -47,7 +47,7 @@ next = [[
当在遍历过程中你给表中并不存在的域赋值, `next` 的行为是未定义的。 然而你可以去修改那些已存在的域。 特别指出,你可以清除一些已存在的域。
]]
-paris = [[
+pairs = [[
如果 `t` 有元方法 `__pairs`, 以 `t` 为参数调用它,并返回其返回的前三个值。
否则,返回三个值:`next` 函数, 表 `t`,以及 `nil`。 因此以下代码