summaryrefslogtreecommitdiff
path: root/locale/zh-cn
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-20 15:26:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-20 15:26:41 +0800
commitbd0b92bd278a3cb6237e69f7e7fd5fdc9e6274d7 (patch)
tree04e2c0381e276e58d123b9fc1a14eb90ac1bd947 /locale/zh-cn
parente20e8f174cc7125bf996a3ff3bd57c097daa1ab4 (diff)
downloadlua-language-server-bd0b92bd278a3cb6237e69f7e7fd5fdc9e6274d7.zip
#546 `lowercase-global` has a more friendly desc
Diffstat (limited to 'locale/zh-cn')
-rw-r--r--locale/zh-cn/script.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 3a60c691..c6971502 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -18,7 +18,7 @@ DIAG_PREFIELD_CALL = '会被解释为 `{}{}`。你可能需要加一个`,`
DIAG_OVER_MAX_ARGS = '函数只接收 {:d} 个参数,但你传了 {:d} 个。'
DIAG_OVER_MAX_VALUES = '只有 {} 个变量,但你设置了 {} 个值。'
DIAG_AMBIGUITY_1 = '会优先运算 `{}`,你可能需要加个括号。'
-DIAG_LOWERCASE_GLOBAL = '首字母小写的全局变量'
+DIAG_LOWERCASE_GLOBAL = '首字母小写的全局变量,你是否漏了 `local` 或是有拼写错误?'
DIAG_EMPTY_BLOCK = '空代码块'
DIAG_DIAGNOSTICS = 'Lua 诊断'
DIAG_SYNTAX_CHECK = 'Lua 语法检查'