summaryrefslogtreecommitdiff
path: root/locale/zh-cn/script.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-08 21:11:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-08 21:11:14 +0800
commit0be605ef1eab73a662540ae2f02766aee47149eb (patch)
tree49f9a881656ad4241bf198dcbb36d8026b92543d /locale/zh-cn/script.lua
parent242d5ed3ff9b84ffa2ceae33df5641fd0a611519 (diff)
downloadlua-language-server-0be605ef1eab73a662540ae2f02766aee47149eb.zip
code-action: convert JSON to Lua
Diffstat (limited to 'locale/zh-cn/script.lua')
-rw-r--r--locale/zh-cn/script.lua19
1 files changed, 11 insertions, 8 deletions
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index 75986bd7..78708ba0 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -179,14 +179,17 @@ ACTION_FIX_NONSTANDARD_SYMBOL = '改为 `{symbol}`'
ACTION_RUNTIME_UNICODE_NAME = '允许使用 Unicode 字符。'
ACTION_SWAP_PARAMS = '将其改为 `{node}` 的第 {index} 个参数'
ACTION_FIX_INSERT_SPACE = '插入空格'
-
-COMMAND_DISABLE_DIAG = '禁用诊断'
-COMMAND_MARK_GLOBAL = '标记全局变量'
-COMMAND_REMOVE_SPACE = '清除所有后置空格'
-COMMAND_ADD_BRACKETS = '添加括号'
-COMMAND_RUNTIME_VERSION = '修改运行版本'
-COMMAND_OPEN_LIBRARY = '加载第三方库中的全局变量'
-COMMAND_UNICODE_NAME = '允许使用 Unicode 字符'
+ACTION_JSON_TO_LUA = '把 JSON 转成 Lua'
+
+COMMAND_DISABLE_DIAG = '禁用诊断'
+COMMAND_MARK_GLOBAL = '标记全局变量'
+COMMAND_REMOVE_SPACE = '清除所有后置空格'
+COMMAND_ADD_BRACKETS = '添加括号'
+COMMAND_RUNTIME_VERSION = '修改运行版本'
+COMMAND_OPEN_LIBRARY = '加载第三方库中的全局变量'
+COMMAND_UNICODE_NAME = '允许使用 Unicode 字符'
+COMMAND_JSON_TO_LUA = 'JSON 转 Lua'
+COMMAND_JSON_TO_LUA_FAILED = 'JSON 转 Lua 失败:{}'
COMPLETION_IMPORT_FROM = '从 {} 中导入'