From 93d606f64785abba414f332f751a43eb56464c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 21 Jul 2021 15:39:20 +0800 Subject: friendly plugin error --- locale/en-us/script.lua | 6 ++++++ locale/zh-cn/script.lua | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'locale') 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 = [[ +插件发生错误,请汇报给插件作者。 +请在输出或日志中查看详细信息。 +插件路径:{} +]] -- cgit v1.2.3