summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-21 15:39:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-21 15:39:20 +0800
commit93d606f64785abba414f332f751a43eb56464c41 (patch)
tree7a9f69e1f680618d70d907347cacf7be11dd39fd /locale
parentf25d34705e62abbef53d4975230f4a26834e7e55 (diff)
downloadlua-language-server-93d606f64785abba414f332f751a43eb56464c41.zip
friendly plugin error
Diffstat (limited to 'locale')
-rw-r--r--locale/en-us/script.lua6
-rw-r--r--locale/zh-cn/script.lua6
2 files changed, 12 insertions, 0 deletions
diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua
index 41bcc715..2125ee0c 100644
--- a/locale/en-us/script.lua
+++ b/locale/en-us/script.lua
@@ -245,3 +245,9 @@ WINDOW_ASK_APPLY_LIBRARY = 'Do you need to configure your work environme
CONFIG_LOAD_FAILED = 'Unable to read the settings file: {}'
CONFIG_LOAD_ERROR = 'Setting file loading error: {}'
CONFIG_TYPE_ERROR = 'The setting file must be in lua or json format: {}'
+
+PLUGIN_RUNTIME_ERROR = [[
+An error occurred in the plugin, please report it to the plugin author.
+Please check the details in the output or log.
+Plugin path: {}
+]]
diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua
index c6971502..a1619b98 100644
--- a/locale/zh-cn/script.lua
+++ b/locale/zh-cn/script.lua
@@ -244,3 +244,9 @@ WINDOW_ASK_APPLY_LIBRARY = '是否需要将你的工作环境配置为 `
CONFIG_LOAD_FAILED = '无法读取设置文件:{}'
CONFIG_LOAD_ERROR = '设置文件加载错误:{}'
CONFIG_TYPE_ERROR = '设置文件必须是lua或json格式:{}'
+
+PLUGIN_RUNTIME_ERROR = [[
+插件发生错误,请汇报给插件作者。
+请在输出或日志中查看详细信息。
+插件路径:{}
+]]