Skip to content

Commit aefede2

Browse files
committed
update locale
1 parent 0157c61 commit aefede2

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

locale/en-us/script.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE =
9696
'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)'
9797
DIAG_DISCARD_RETURNS =
9898
'The return values of this function cannot be discarded.'
99+
DIAG_NEED_CHECK_NIL =
100+
'Need check nil.'
99101
DIAG_CIRCLE_DOC_CLASS =
100102
'Circularly inherited classes.'
101103
DIAG_DOC_FIELD_NO_CLASS =

locale/pt-br/script.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE = -- TODO: need translate!
9696
'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)'
9797
DIAG_DISCARD_RETURNS = -- TODO: need translate!
9898
'The return values of this function cannot be discarded.'
99+
DIAG_NEED_CHECK_NIL = -- TODO: need translate!
100+
'Need check nil.'
99101
DIAG_CIRCLE_DOC_CLASS =
100102
'Classes com herança cíclica.'
101103
DIAG_DOC_FIELD_NO_CLASS =

locale/zh-cn/script.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE =
9696
'此函数的第 {} 个参数没有被标记为可让出,但是传入了异步函数。(使用 `---@param name async fun()` 来标记为可让出)'
9797
DIAG_DISCARD_RETURNS =
9898
'不能丢弃此函数的返回值。'
99+
DIAG_NEED_CHECK_NIL =
100+
'需要判空。'
99101
DIAG_CIRCLE_DOC_CLASS =
100102
'循环继承的类。'
101103
DIAG_DOC_FIELD_NO_CLASS =

locale/zh-tw/script.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ DIAG_NOT_YIELDABLE =
9696
'此函式的第 {} 個參數沒有被標記為可讓出,但是傳入了異步函式。(使用 `---@param name async fun()` 來標記為可讓出)'
9797
DIAG_DISCARD_RETURNS =
9898
'不能丟棄此函式的回傳值。'
99+
DIAG_NEED_CHECK_NIL = -- TODO: need translate!
100+
'Need check nil.'
99101
DIAG_CIRCLE_DOC_CLASS =
100102
'循環繼承的類別。'
101103
DIAG_DOC_FIELD_NO_CLASS =

0 commit comments

Comments
 (0)