diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-07-23 14:55:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-07-23 14:55:32 +0800 |
commit | bbe054ceeb542330732a510ca87dfe45c63b30f1 (patch) | |
tree | c988cf36a6c9b230d2b15b3905b32044a9a8747b /server/locale | |
parent | 9d0be3adf375639eb2477492d48a7cd6f1aa09f7 (diff) | |
download | lua-language-server-bbe054ceeb542330732a510ca87dfe45c63b30f1.zip |
更新翻译
Diffstat (limited to 'server/locale')
-rw-r--r-- | server/locale/zh-CN/script.lni | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/server/locale/zh-CN/script.lni b/server/locale/zh-CN/script.lni index c41fd367..ece955c6 100644 --- a/server/locale/zh-CN/script.lni +++ b/server/locale/zh-CN/script.lni @@ -62,6 +62,15 @@ PARSER_UNEXPECT_DOTS = '`...`只能在不定参函数中使用。' PARSER_UNKNOWN_TAG = '不支持的标签。' PARSER_MULTI_TAG = '只能设置一个标签。' PARSER_UNEXPECT_LFUNC_NAME = '局部函数只能使用标识符作为名称。' +PARSER_ERR_LCOMMENT_END = '应使用`{symbol}`来关闭多行注释。' +PARSER_ERR_C_LONG_COMMENT = 'Lua应使用`--[[ ]]`来进行多行注释。' +PARSER_ERR_LSTRING_END = '应使用`{symbol}`来关闭长字符串。' +PARSER_ERR_ASSIGN_AS_EQ = '应使用`=`来进行赋值操作。' +PARSER_ERR_EQ_AS_ASSIGN = '应使用`==`来进行等于判断。' +PARSER_ERR_UEQ = '应使用`~=`来进行不等于判断。' +PARSER_ERR_THEN_AS_DO = '应使用`then`。' +PARSER_ERR_DO_AS_THEN = '应使用`do`。' +PARSER_MISS_END = '缺少对应的`end`。' SYMBOL_ANONYMOUS = '<匿名函数>' @@ -80,6 +89,16 @@ ACTION_ADD_BRACKETS = '添加括号。' ACTION_RUNTIME_VERSION = '修改运行版本为 {} 。' ACTION_OPEN_LIBRARY = '加载 {} 中的全局变量。' ACTION_ADD_DO_END = '添加 `do ... end` 。' +ACTION_FIX_LCOMMENT_END = '改用正确的多行注释关闭符号。' +ACTION_ADD_LCOMMENT_END = '关闭多行注释。' +ACTION_FIX_C_LONG_COMMENT = '修改为Lua的多行注释格式。' +ACTION_FIX_LSTRING_END = '改用正确的长字符串关闭符号。' +ACTION_ADD_LSTRING_END = '关闭长字符串。' +ACTION_FIX_ASSIGN_AS_EQ = '改为`=`。' +ACTION_FIX_EQ_AS_ASSIGN = '改为`==`。' +ACTION_FIX_UEQ = '改为`~=`。' +ACTION_FIX_THEN_AS_DO = '改为`then`。' +ACTION_FIX_DO_AS_THEN = '改为`do`。' COMMAND_DISABLE_DIAG = '禁用诊断' COMMAND_MARK_GLOBAL = '标记全局变量' |