summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-09-06 17:23:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-09-06 17:23:15 +0800
commitb54172d818b88c41cfdc2c88f00e9caec1dea202 (patch)
tree7ccedfbe139f958e977e991d187a615099a42524 /locale
parent7047393031801c91c8d0cf78a77c91e5a6f64114 (diff)
downloadlua-language-server-b54172d818b88c41cfdc2c88f00e9caec1dea202.zip
fix #1526
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua4
-rw-r--r--locale/pt-br/script.lua4
-rw-r--r--locale/zh-cn/script.lua8
-rw-r--r--locale/zh-tw/script.lua4
4 files changed, 18 insertions, 2 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 9135644b..ca17cdf0 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -271,6 +271,8 @@ PARSER_UNKNOWN_ATTRIBUTE =
'Local attribute should be `const` or `close`'
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_LUADOC_MISS_CLASS_NAME =
'<class name> expected.'
PARSER_LUADOC_MISS_EXTENDS_SYMBOL =
@@ -416,6 +418,8 @@ ACTION_MARK_ASYNC =
'Mark current function as async.'
ACTION_ADD_DICT =
'Add \'{}\' to workspace dict'
+ACTION_FIX_ADD_PAREN = -- TODO: need translate!
+'Add parentheses.'
COMMAND_DISABLE_DIAG =
'Disable diagnostics'
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua
index d1ae41b8..e93ff85f 100644
--- a/locale/pt-br/script.lua
+++ b/locale/pt-br/script.lua
@@ -271,6 +271,8 @@ PARSER_UNKNOWN_ATTRIBUTE =
'Atributo local deve ser `const` ou `close`'
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_LUADOC_MISS_CLASS_NAME =
'Esperado <class name>.'
PARSER_LUADOC_MISS_EXTENDS_SYMBOL =
@@ -416,6 +418,8 @@ ACTION_MARK_ASYNC =
'Marque a função atual como assíncrona'
ACTION_ADD_DICT =
'Adicione \'{}\' ao seu espaço de trabalho no '
+ACTION_FIX_ADD_PAREN = -- TODO: need translate!
+'添加括号。'
COMMAND_DISABLE_DIAG =
'Desativar diagnósticos.'
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 775400ec..04d5e115 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -271,6 +271,8 @@ PARSER_UNKNOWN_ATTRIBUTE =
'局部变量属性应该是 `const` 或 `close`'
PARSER_AMBIGUOUS_SYNTAX =
'在 Lua 5.1 中,函数调用的左括号必须与函数在同一行。'
+PARSER_NEED_PAREN =
+'需要添加一对括号。'
PARSER_LUADOC_MISS_CLASS_NAME =
'缺少类名称。'
PARSER_LUADOC_MISS_EXTENDS_SYMBOL =
@@ -414,8 +416,10 @@ ACTION_DISABLE_DIAG_FILE=
'在此文件禁用诊断 ({})。'
ACTION_MARK_ASYNC =
'将当前函数标记为异步。'
-ACTION_ADD_DICT = -- TODO: need translate!
-'Add \'{}\' to workspace dict'
+ACTION_ADD_DICT =
+'将 \'{}\' 添加到工作区的词典中。'
+ACTION_FIX_ADD_PAREN =
+'添加括号。'
COMMAND_DISABLE_DIAG =
'禁用诊断'
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index e234f5ae..8f03d7ca 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -271,6 +271,8 @@ PARSER_UNKNOWN_ATTRIBUTE =
'區域變數屬性應該是 `const` 或 `close` 。'
PARSER_AMBIGUOUS_SYNTAX = -- TODO: need translate!
'在 Lua 5.1 中,函数调用的左括号必须与函数在同一行。'
+PARSER_NEED_PAREN = -- TODO: need translate!
+'需要添加一对括号。'
PARSER_LUADOC_MISS_CLASS_NAME =
'缺少類別名稱。'
PARSER_LUADOC_MISS_EXTENDS_SYMBOL =
@@ -416,6 +418,8 @@ ACTION_MARK_ASYNC =
'將目前函式標記為非同步。'
ACTION_ADD_DICT =
'添加 \'{}\' 到工作區字典'
+ACTION_FIX_ADD_PAREN = -- TODO: need translate!
+'添加括号。'
COMMAND_DISABLE_DIAG =
'停用診斷'