summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-24 23:07:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-24 23:07:48 +0800
commitaefede278514dd0f46299374735385f7ca1fde07 (patch)
tree5b9aad7563079b1b3c0b78d0f552afa91801b53c /locale
parent0157c61049c2473058021d0f4b6b8ae65950c94c (diff)
downloadlua-language-server-aefede278514dd0f46299374735385f7ca1fde07.zip
update locale
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 f37f53ff..8d902250 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE =
'The {}th parameter of this function was not marked as yieldable, but an async function was passed in. (Use `---@param name async fun()` to mark as yieldable)'
DIAG_DISCARD_RETURNS =
'The return values of this function cannot be discarded.'
+DIAG_NEED_CHECK_NIL =
+'Need check nil.'
DIAG_CIRCLE_DOC_CLASS =
'Circularly inherited classes.'
DIAG_DOC_FIELD_NO_CLASS =
diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua
index a62fefad..c3acfec7 100644
--- a/locale/pt-br/script.lua
+++ b/locale/pt-br/script.lua
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE = -- TODO: need translate!
'The {}th parameter of this function was not marked as yieldable, but an async function was passed in. (Use `---@param name async fun()` to mark as yieldable)'
DIAG_DISCARD_RETURNS = -- TODO: need translate!
'The return values of this function cannot be discarded.'
+DIAG_NEED_CHECK_NIL = -- TODO: need translate!
+'Need check nil.'
DIAG_CIRCLE_DOC_CLASS =
'Classes com herança cíclica.'
DIAG_DOC_FIELD_NO_CLASS =
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index e38d6d4a..9e0c6caf 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE =
'此函数的第 {} 个参数没有被标记为可让出,但是传入了异步函数。(使用 `---@param name async fun()` 来标记为可让出)'
DIAG_DISCARD_RETURNS =
'不能丢弃此函数的返回值。'
+DIAG_NEED_CHECK_NIL =
+'需要判空。'
DIAG_CIRCLE_DOC_CLASS =
'循环继承的类。'
DIAG_DOC_FIELD_NO_CLASS =
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index a3674bd3..608ea2d1 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE =
'此函式的第 {} 個參數沒有被標記為可讓出,但是傳入了異步函式。(使用 `---@param name async fun()` 來標記為可讓出)'
DIAG_DISCARD_RETURNS =
'不能丟棄此函式的回傳值。'
+DIAG_NEED_CHECK_NIL = -- TODO: need translate!
+'Need check nil.'
DIAG_CIRCLE_DOC_CLASS =
'循環繼承的類別。'
DIAG_DOC_FIELD_NO_CLASS =