summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua2
-rw-r--r--locale/zh-cn/script.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 16a3ffa5..41bcc715 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -18,7 +18,7 @@ DIAG_PREFIELD_CALL = 'Will be interpreted as `{}{}`. It may be necessary to
DIAG_OVER_MAX_ARGS = 'The function takes only {:d} parameters, but you passed {:d}.'
DIAG_OVER_MAX_ARGS = 'Only has {} variables, but you set {} values.'
DIAG_AMBIGUITY_1 = 'Compute `{}` first. You may need to add brackets.'
-DIAG_LOWERCASE_GLOBAL = 'Global variable in lowercase initial.'
+DIAG_LOWERCASE_GLOBAL = 'Global variable in lowercase initial, Did you miss `local` or misspell it?'
DIAG_EMPTY_BLOCK = 'Empty block.'
DIAG_DIAGNOSTICS = 'Lua Diagnostics.'
DIAG_SYNTAX_CHECK = 'Lua Syntax Check.'
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 语法检查'