diff options
Diffstat (limited to 'script/core/command')
-rw-r--r-- | script/core/command/autoRequire.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/command/autoRequire.lua b/script/core/command/autoRequire.lua index 947e78aa..89dc4376 100644 --- a/script/core/command/autoRequire.lua +++ b/script/core/command/autoRequire.lua @@ -46,11 +46,11 @@ local function askAutoRequire(visiblePaths) nameMap[select] = expect selects[#selects+1] = select end - local disable = lang.script('禁用自动require') + local disable = lang.script.COMPLETION_DISABLE_AUTO_REQUIRE selects[#selects+1] = disable local result = client.awaitRequestMessage('Info' - , lang.script('在文件顶部添加代码 require 此文件?') + , lang.script.COMPLETION_ASK_AUTO_REQUIRE , selects ) if not result then |