summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-16 18:58:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-16 18:58:33 +0800
commit7f3ed1f3b74c0b651ce2aae6a8a345c069db5d06 (patch)
tree2e073b747d99b2c94b83d16cb7dec5a0b1359c74 /locale
parentbe4dcc0fb3ad331a882f57f20e90bbca30770323 (diff)
downloadlua-language-server-7f3ed1f3b74c0b651ce2aae6a8a345c069db5d06.zip
Nesting of `[[...]]` is not allowed in Lua 5.1 .
fix #1805
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua2
-rw-r--r--locale/pt-br/script.lua2
-rw-r--r--locale/zh-cn/script.lua2
-rw-r--r--locale/zh-tw/script.lua2
4 files changed, 8 insertions, 0 deletions
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 =
'<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 <class name>.'
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 =