From 6999dbb25bf2b7ae306599eceaa0f438ee4f8b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 1 Dec 2022 21:08:09 +0800 Subject: modify config fully supports `.luarc.json` fix #831 --- locale/en-us/script.lua | 2 ++ locale/pt-br/script.lua | 2 ++ locale/zh-cn/script.lua | 2 ++ locale/zh-tw/script.lua | 2 ++ 4 files changed, 8 insertions(+) (limited to 'locale') diff --git a/locale/en-us/script.lua b/locale/en-us/script.lua index a75f2301..fb203d7e 100644 --- a/locale/en-us/script.lua +++ b/locale/en-us/script.lua @@ -562,6 +562,8 @@ CONFIG_LOAD_ERROR = 'Setting file loading error: {}' CONFIG_TYPE_ERROR = 'The setting file must be in lua or json format: {}' +CONFIG_MODIFY_FAIL_SYNTAX_ERROR = +'Failed to modify settings, there are syntax errors in the settings file: {}' PLUGIN_RUNTIME_ERROR = [[ diff --git a/locale/pt-br/script.lua b/locale/pt-br/script.lua index 5ae052d2..aabb3a19 100644 --- a/locale/pt-br/script.lua +++ b/locale/pt-br/script.lua @@ -562,6 +562,8 @@ CONFIG_LOAD_ERROR = 'Configurando o erro de carregamento do arquivo: {}' CONFIG_TYPE_ERROR = 'O arquivo de configuração deve estar no formato LUA ou JSON: {}' +CONFIG_MODIFY_FAIL_SYNTAX_ERROR = -- TODO: need translate! +'Failed to modify settings, there are syntax errors in the settings file: {}' PLUGIN_RUNTIME_ERROR = [[ diff --git a/locale/zh-cn/script.lua b/locale/zh-cn/script.lua index a9905e35..6adaa17d 100644 --- a/locale/zh-cn/script.lua +++ b/locale/zh-cn/script.lua @@ -562,6 +562,8 @@ CONFIG_LOAD_ERROR = '设置文件加载错误:{}' CONFIG_TYPE_ERROR = '设置文件必须是lua或json格式:{}' +CONFIG_MODIFY_FAIL_SYNTAX_ERROR = +'修改设置失败,设置文件中有语法错误:{}' PLUGIN_RUNTIME_ERROR = [[ diff --git a/locale/zh-tw/script.lua b/locale/zh-tw/script.lua index f9315057..ec69bea8 100644 --- a/locale/zh-tw/script.lua +++ b/locale/zh-tw/script.lua @@ -562,6 +562,8 @@ CONFIG_LOAD_ERROR = '設定檔案載入錯誤:{}' CONFIG_TYPE_ERROR = '設定檔案必須是lua或json格式:{}' +CONFIG_MODIFY_FAIL_SYNTAX_ERROR = -- TODO: need translate! +'Failed to modify settings, there are syntax errors in the settings file: {}' PLUGIN_RUNTIME_ERROR = [[ -- cgit v1.2.3