summaryrefslogtreecommitdiff
path: root/locale/en-us/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/en-us/script.lua
parent242d5ed3ff9b84ffa2ceae33df5641fd0a611519 (diff)
downloadlua-language-server-0be605ef1eab73a662540ae2f02766aee47149eb.zip
code-action: convert JSON to Lua
Diffstat (limited to 'locale/en-us/script.lua')
-rw-r--r--locale/en-us/script.lua19
1 files changed, 11 insertions, 8 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 0c0c90bd..03dae774 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -181,14 +181,17 @@ ACTION_FIX_NONSTANDARD_SYMBOL = 'Modify to `{symbol}` .'
ACTION_RUNTIME_UNICODE_NAME = 'Allow Unicode characters.'
ACTION_SWAP_PARAMS = 'Change to parameter {index} or `{node}`'
ACTION_FIX_INSERT_SPACE = 'Insert space.'
-
-COMMAND_DISABLE_DIAG = 'Disable diagnostics'
-COMMAND_MARK_GLOBAL = 'Mark defined global'
-COMMAND_REMOVE_SPACE = 'Clear all postemptive spaces'
-COMMAND_ADD_BRACKETS = 'Add brackets'
-COMMAND_RUNTIME_VERSION = 'Change runtime version'
-COMMAND_OPEN_LIBRARY = 'Load globals from 3rd library'
-COMMAND_UNICODE_NAME = 'Allow Unicode characters.'
+ACTION_JSON_TO_LUA = 'Convert JSON to Lua'
+
+COMMAND_DISABLE_DIAG = 'Disable diagnostics'
+COMMAND_MARK_GLOBAL = 'Mark defined global'
+COMMAND_REMOVE_SPACE = 'Clear all postemptive spaces'
+COMMAND_ADD_BRACKETS = 'Add brackets'
+COMMAND_RUNTIME_VERSION = 'Change runtime version'
+COMMAND_OPEN_LIBRARY = 'Load globals from 3rd library'
+COMMAND_UNICODE_NAME = 'Allow Unicode characters.'
+COMMAND_JSON_TO_LUA = 'Convert JSON to Lua'
+COMMAND_JSON_TO_LUA_FAILED = 'Convert JSON to Lua failed: {}'
COMPLETION_IMPORT_FROM = 'Import from {}'