summaryrefslogtreecommitdiff
path: root/locale/zh-tw
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-22 03:18:35 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-22 03:18:35 +0800
commit7881d1a3d91b59d2dd8c28a72453e0e6c44a902f (patch)
tree6c2466f3676d813ac9db469815f4af9834d1711a /locale/zh-tw
parentb85ff57a116fb252a0da35e525264e0940af88c7 (diff)
downloadlua-language-server-7881d1a3d91b59d2dd8c28a72453e0e6c44a902f.zip
new diagnostic `missing-parameter`
Diffstat (limited to 'locale/zh-tw')
-rw-r--r--locale/zh-tw/script.lua2
-rw-r--r--locale/zh-tw/setting.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua
index 887ebd53..a3674bd3 100644
--- a/locale/zh-tw/script.lua
+++ b/locale/zh-tw/script.lua
@@ -34,6 +34,8 @@ DIAG_PREFIELD_CALL =
'會被直譯為 `{}{}`。你可能需要加一個`,`或`;`。'
DIAG_OVER_MAX_ARGS =
'函式只接收 {:d} 個參數,但你傳了 {:d} 個。'
+DIAG_MISS_ARGS = -- TODO: need translate!
+'the function received at least {:d} arguments, but got {:d}.'
DIAG_OVER_MAX_VALUES =
'只有 {} 個變數,但你設定了 {} 個值。'
DIAG_AMBIGUITY_1 =
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua
index 012304f4..fec64c9e 100644
--- a/locale/zh-tw/setting.lua
+++ b/locale/zh-tw/setting.lua
@@ -245,4 +245,3 @@ config.diagnostics['empty-block'] =
'空程式碼區塊'
config.diagnostics['redundant-value'] =
'賦值操作時,值的數量比被賦值的對象多'
-