From 7f3ed1f3b74c0b651ce2aae6a8a345c069db5d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 16 Jan 2023 18:58:33 +0800 Subject: Nesting of `[[...]]` is not allowed in Lua 5.1 . fix #1805 --- locale/en-us/script.lua | 2 ++ locale/pt-br/script.lua | 2 ++ locale/zh-cn/script.lua | 2 ++ locale/zh-tw/script.lua | 2 ++ 4 files changed, 8 insertions(+) (limited to 'locale') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index 4bcff620..9910aa90 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -279,6 +279,8 @@ PARSER_AMBIGUOUS_SYNTAX = -- TODO: need translate! 'In Lua 5.1, the left brackets called by the function must be in the same line as the function.' PARSER_NEED_PAREN = -- TODO: need translate! 'Need to add a pair of parentheses.' +PARSER_NESTING_LONG_MARK = +'Nesting of `[[...]]` is not allowed in Lua 5.1 .' PARSER_LUADOC_MISS_CLASS_NAME = ' expected.' PARSER_LUADOC_MISS_EXTENDS_SYMBOL = diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 6549de99..a221dffe 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -279,6 +279,8 @@ PARSER_AMBIGUOUS_SYNTAX = -- TODO: need translate! 'In Lua 5.1, the left brackets called by the function must be in the same line as the function.' PARSER_NEED_PAREN = -- TODO: need translate! '需要添加一对括号。' +PARSER_NESTING_LONG_MARK = -- TODO: need translate! +'Nesting of `[[...]]` is not allowed in Lua 5.1 .' PARSER_LUADOC_MISS_CLASS_NAME = 'Esperado .' PARSER_LUADOC_MISS_EXTENDS_SYMBOL = diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index 1c5725ab..92019b02 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -279,6 +279,8 @@ PARSER_AMBIGUOUS_SYNTAX = '在 Lua 5.1 中,函数调用的左括号必须与函数在同一行。' PARSER_NEED_PAREN = '需要添加一对括号。' +PARSER_NESTING_LONG_MARK = +'Lua 5.1 中不允许使用嵌套的 `[[...]]` 。' PARSER_LUADOC_MISS_CLASS_NAME = '缺少类名称。' PARSER_LUADOC_MISS_EXTENDS_SYMBOL = diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index b33851b0..13c50a8d 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -279,6 +279,8 @@ PARSER_AMBIGUOUS_SYNTAX = -- TODO: need translate! '在 Lua 5.1 中,函数调用的左括号必须与函数在同一行。' PARSER_NEED_PAREN = -- TODO: need translate! '需要添加一对括号。' +PARSER_NESTING_LONG_MARK = -- TODO: need translate! +'Nesting of `[[...]]` is not allowed in Lua 5.1 .' PARSER_LUADOC_MISS_CLASS_NAME = '缺少類別名稱。' PARSER_LUADOC_MISS_EXTENDS_SYMBOL = -- cgit v1.2.3